summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Zhang Qiang [Wed, 20 Mar 2013 00:29:39 +0000 (20:29 -0400)]
hide password if user/pass needed for packages repos
.repo.config is generated generated for passwd retrieving, and
.repo.config is saved to $BUILD_ROOT/ and remove it in build
cleanup stage.
fix #459, #390.
Change-Id: I2a5b3e23d504346414ee4b4dbb36ee0bbcb2e67a
Zhang Qiang [Wed, 20 Mar 2013 00:24:45 +0000 (20:24 -0400)]
support incremental build
Incremental build is very important for developer, especially for developing
big project, such as webkit, kernel, ect.
This patch add three options to support incremental build:
--no-build: create build root using spec file, and don't execute
build stage
--short-circuit: incremental build option, this need work with --stage
option.
--no-topdir-cleanup: don't remove rpmbuild build topdir, this need
to be specified for incremental build
Basic usage:
1) $ build test.spec --no-build
2) $ mount source code to buildroot/abuild/rpmbuild/BUILD/$name-$verson
3) build packages
a) just compile
$ build test.spec --no-init --short-circuit --no-topdir-cleanup --stage=bc
b) generate RPM packags
$ build test.spec --no-init --short-circuit --no-topdir-cleanup --stage=bs
4) $ umount buildroot/abuild/rpmbuild/BUILD/$name-$verson
Change-Id: I7e1f7029c49e85fdb3f5a260631c10d052164d17
Zhang Qiang [Fri, 22 Nov 2013 02:25:06 +0000 (10:25 +0800)]
Add option --keep-packs to keep packages already in build root
with --keep-packs, unused packages will not be removed while resusing
buildroot. This can speed up build hundred of packages significantly.
This option also usefull to create a single buildroot to share with other
developers to build all packages.
Change-Id: Ibcb68e49b8eed0bdf695485c2ec79a8eb4efb824
Zhang Qiang [Tue, 22 Jan 2013 20:49:36 +0000 (15:49 -0500)]
Update uid/gid of build root if uid/gid is not match
This is very useful for sharing build root to other developers,
and create a full build root for using by all developer.
Change-Id: I1edd3830a499cff7ab357d17484075e46bd8319b
Zhang Qiang [Thu, 3 Apr 2014 07:53:09 +0000 (15:53 +0800)]
Imported vendor release 2013.11.12-3.1
Zhang Qiang [Thu, 3 Apr 2014 07:53:09 +0000 (15:53 +0800)]
Imported Upstream version 2013.11.12