Mailinglist Archive: opensuse-buildservice (348 mails)

< Previous Next >
Re: [opensuse-buildservice] [Patch] Add --offline and --preload to osc build - v1
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Fri, 16 Apr 2010 07:17:23 +0200
  • Message-id: <201004160717.23649.adrian@xxxxxxx>
Am Donnerstag, 15. April 2010 23:16:35 schrieb Jan-Simon Möller:
Hi all!

Ever wanted to work offline e.g. in train on a package ? So after being
encased hours in such a vehicle, here it is ...

The attached patch for review and improvement adds this functionality:

osc build --preload standard i586 pkg.spec

will cache all dependencies and also the build config.

To build offline, then use

osc build --offline standard i586 pkg.spec

Also -o / -l as shortcuts.

Hm, where is the advantage over just using "--noinit" ?

Yes, you may can rebuild a chroot/vm, but only with the packages you
have preloaded, right ?



Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >