tools/build.git
8 years agobuild package devel test 52/44452/1 release-0.1
SoonKyu Park [Wed, 22 Jul 2015 05:28:48 +0000 (14:28 +0900)]
build package devel test

Change-Id: I89f145ea7c47d108edf4756149df987b66396c8d

9 years agoAdded epoch to the spec
Ed Bartosh [Tue, 10 Mar 2015 12:56:34 +0000 (14:56 +0200)]
Added epoch to the spec

This should make the version of local build package bigger than anything
from distribution.

Fixes this installation error:

Problem: depanneur-0.14-1.1.i586 requires tizen-build >= 20140612, but
this requirement cannot be provided
  uninstallable providers: build-20131112-7.1.i586[tools-ToolsDevel]
 Solution 1: Following actions will be done:
  do not install depanneur-0.14-1.1.i586
  do not install gbs-jenkins-scripts-0.23-1.1.1.noarch
 Solution 2: do not install build-20150115-4.1.noarch
 Solution 3: break depanneur-0.14-1.1.i586 by ignoring some of its
dependencies

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
9 years agopackaging: bump release version to 0815
Li Jinjing [Fri, 15 Aug 2014 06:10:55 +0000 (14:10 +0800)]
packaging: bump release version to 0815

Change-Id: Ib82ff98194b203c4ed6234c986ee62c073c23b5c
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
9 years agoRevert "clean up old registered binfmt handlers before use it"
Zhang Qiang [Thu, 14 Aug 2014 07:54:29 +0000 (15:54 +0800)]
Revert "clean up old registered binfmt handlers before use it"

This reverts commit b5b49f3e1343b6df646eaa9d4afb22b73c6d24e5.

Change-Id: If20bc2e2036dd076483c5275e45c396d89759419

10 years agopackaging: bump release version to 0612
Zhang Qiang [Wed, 11 Jun 2014 23:06:32 +0000 (07:06 +0800)]
packaging: bump release version to 0612

Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
10 years agobackport: qemu-reg: always ignore OS/ABI field in ELF header
Zhang Qiang [Wed, 11 Jun 2014 22:53:34 +0000 (06:53 +0800)]
backport: qemu-reg: always ignore OS/ABI field in ELF header

Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
10 years agoAdd packaging files(deb/rpm)
Zhang Qiang [Thu, 3 Apr 2014 08:14:11 +0000 (16:14 +0800)]
Add packaging files(deb/rpm)

Change-Id: Ifadc40fe0e73f1faab72bb92c0a061d372793a01
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
10 years agoAutoremove imported patches from packaging
Zhang Qiang [Thu, 3 Apr 2014 07:53:09 +0000 (15:53 +0800)]
Autoremove imported patches from packaging

Removed all imported patches from build.spec
and patch files from the packaging dir.

10 years agoclean up old registered binfmt handlers before use it
Zhang Qiang [Thu, 27 Feb 2014 02:57:44 +0000 (10:57 +0800)]
clean up old registered binfmt handlers before use it

Change-Id: Ic3892e13ab28a1c83e885e0e087ab6675a4a3b71

10 years agodownload packages to different dirs for each build instances
Zhang Qiang [Tue, 10 Dec 2013 07:37:49 +0000 (15:37 +0800)]
download packages to different dirs for each build instances

This patch can avoid download error during multiple build instance
runing at the same time

Change-Id: Ie2ae7b6e73c8f7c7358b4dfd8b758ec662db7bbd

10 years agoalways register qemu handler
Zhang Qiang [Tue, 3 Dec 2013 09:24:09 +0000 (17:24 +0800)]
always register qemu handler

always register qemu handler even if interpreter does not exist, and
in this case report warning instead of skip it. This way it just work
like qemu-binfmt-conf.sh script in qemu

Change-Id: Idf0f5eb8b6a4fec53ea272d2424beb9658cec6a4

10 years agoSupport ExportFilter
Zhang Qiang [Fri, 13 Sep 2013 03:51:54 +0000 (11:51 +0800)]
Support ExportFilter

Change-Id: I264810e90026d060cd5b152fb18a911fc1c27432
Fixes: #1311

10 years agofix initvm binary search issue
Zhang Qiang [Mon, 25 Nov 2013 02:26:06 +0000 (10:26 +0800)]
fix initvm binary search issue

Change-Id: Ie101b8138fb6b429b29c03c42e7f393ab5f77979

10 years agouse qemu-arm-static binary
Zhang Qiang [Mon, 25 Nov 2013 00:30:55 +0000 (08:30 +0800)]
use qemu-arm-static binary

Change-Id: Ice3f5e9b19b7b8bf8d1e751285205a4a12e1b253

10 years agoadd back --use-system-qemu
Zhang Qiang [Fri, 22 Nov 2013 07:16:37 +0000 (15:16 +0800)]
add back --use-system-qemu

Change-Id: Ia0b11954327407f576154552a96c406bd9e666ff

10 years agohide password if user/pass needed for packages repos
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

10 years agosupport incremental build
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

10 years agoAdd option --keep-packs to keep packages already in build root
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

10 years agoUpdate uid/gid of build root if uid/gid is not match
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

10 years agoImported vendor release 2013.11.12-3.1
Zhang Qiang [Thu, 3 Apr 2014 07:53:09 +0000 (15:53 +0800)]
Imported vendor release 2013.11.12-3.1

10 years agoImported Upstream version 2013.11.12 upstream/2013.11.12
Zhang Qiang [Thu, 3 Apr 2014 07:53:09 +0000 (15:53 +0800)]
Imported Upstream version 2013.11.12