Mailinglist Archive: opensuse-buildservice (348 mails)

< Previous Next >
Re: [opensuse-buildservice] [Patch] Add --offline and --preload to osc build - v1
On 2010-04-16 07:17:23 +0200, Adrian Schröter wrote:
Am Donnerstag, 15. April 2010 23:16:35 schrieb Jan-Simon Möller:
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" ?

The difference is that "osc build --noinit ..." also calls build with

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

Yep that's possible with "--offline" (but not with "--no-init").

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

< Previous Next >