On Mon, Mar 26, 2007 at 12:48:38PM +0200, Richard Bos wrote:
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
Exactly.
--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.
Good idea; right now it is only part of the build --help output. (osc just passes things on.) Regards, Peter -- SUSE LINUX Products GmbH Bug, bogey, bugbear, bugaboo: Research & Development A malevolent monster (not true?); Some mischief microbic; What makes someone phobic; The work one does not want to do. From: Chris Young (The Omnificent English Dictionary In Limerick Form)