Op Monday 26 March 2007 09:41:16 schreef Andreas Jaeger:
Richard Bos
writes: /ME wundering what --clean or --noinit are going to do:
osc help build openSUSE_Factory i586 gramps.spec build: build a package on your local machine You need to call the command inside a package directory.
usage: 1. osc build <platform> <arch> <specfile> [--clean|--noinit] 2. BUILD_DIST=... osc build <specfile> [--clean|--noinit] where BUILD_DIST equals <platform>-<arch>
What is going to be cleaned? The package cache, build directory or the install directory or just all?
--noinit? What is it going to do?
AFAIK (please double check!): --clean: Delete old build root before initializing it. --noinit: Skip initialization of build root and start with build directly
--noinit can be used to speed building up if you just changed a patch. If you add additional BuildRequires, it might *not* add them.
--clean might be sometimes faster than the normal deinstall/install cycle since it does a rm -rf.
I very much hope that this information (when correct of course) will become part of the 'osc help build' output. -- Richard Bos We are borrowing the world of our children, It is not inherited from our parents. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org