summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jiankang Fan [Sat, 11 Feb 2017 06:03:51 +0000 (15:03 +0900)]
revert to old version, use rpm command to query pkgid
Because rpm command faster than perl query
Change-Id: Ib4dabfb78253779bbdc47aa27d5be085dca2ed4a
Signed-off-by: Jiankang Fan <jiankang.fan@samsung.com>
y0169.zhang [Sat, 4 Feb 2017 03:26:04 +0000 (12:26 +0900)]
Fix deps file order error
Change-Id: Ic8624d3b6ed9010a8f0c281e04c5669759e87eb4
Michael Schroeder [Mon, 28 Nov 2016 13:37:10 +0000 (14:37 +0100)]
Fix last commit
Change-Id: I459349680e2cdea801dccc3430ab21282dc32bc0
Michael Schroeder [Mon, 28 Nov 2016 12:59:20 +0000 (13:59 +0100)]
Also recored supplements, use recommends as choice breaker only in 3rd pass.
Conflicts:
Build.pm
expanddeps
Change-Id: I0eee5303d2098bfc7a69f6ecda239db2263818e2
MyungJoo Ham [Thu, 27 Oct 2016 05:26:00 +0000 (14:26 +0900)]
Recognize Recommends relations of RPMs
When there are multiple candidate packages as a result of
Provides, the current obs-build gives an error: "have choice for".
However, according to http://www.rpm.org/wiki/PackagerDocs/Dependencies ,
Recommends tells the system to install the corresponding package
unless there is a conflict; thus, if there is a package recommended
(as described in issue #302), obs-build shall install the recommended
package, resolving "have choice for" error.
To enable, OBS project should declare:
"BuildFlags: UseRecommendsForChoices=1"
or
"BuildFlags: UseRecommendsForChoices"
in its project config.
Fixes #302
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Conflicts:
createdirdeps
expanddeps
Change-Id: I65dc6dd16a6874b7c1ae47932d37c23ec98b9cdf
SoonKyu Park [Mon, 26 Dec 2016 11:37:49 +0000 (20:37 +0900)]
Update tizen version to tizen20161231
Change-Id: Ifeb07b7998586c252510a433f249baf36573f9e6
y0169.zhang [Thu, 17 Nov 2016 05:49:10 +0000 (14:49 +0900)]
Revert the command of get cache packages id
Change-Id: I8a0007b09bf5d42f56cd5d9d6265878098cf7b63
y0169.zhang [Sat, 29 Oct 2016 07:54:40 +0000 (16:54 +0900)]
$BUILD_ROOT/dev/pts could be mounted more times on Ubuntu 16.10, so it need umount until reported umount error.
Change-Id: Id1f573c6d44cc576e729629c0119c4fdefb5618e
Jiankang Fan [Tue, 25 Oct 2016 06:05:46 +0000 (15:05 +0900)]
Change level to 7 for fix Ubuntu_16.10 buiding issue
Change-Id: Ic1f723a979e63125f4786465253f6429f8c6a697
Signed-off-by: Jiankang Fan <jiankang.fan@samsung.com>
Jiankang Fan [Tue, 27 Sep 2016 03:12:05 +0000 (11:12 +0800)]
Comment duplicate aarch64 register
Change-Id: I831561da2ab7352d850bab4e16f68950dc65a18e
Jiankang Fan [Tue, 27 Sep 2016 03:10:48 +0000 (11:10 +0800)]
Modify qemu-arm-static require version
Change-Id: I1ea0366ec4fdc9c3b0371e77c9964c4ee9a0563d
Jiankang Fan [Tue, 27 Sep 2016 03:08:54 +0000 (11:08 +0800)]
Enable kvm build function
Change-Id: I1213c284637e6ddb6538f7047468835bb99b4e39
SoonKyu Park [Mon, 26 Sep 2016 05:07:06 +0000 (14:07 +0900)]
Update tizen version to tizen20160928
Change-Id: Iafbf1c2627709eaf3deb11bf59a75c9d00fd76e4
Chan Lee [Fri, 19 Aug 2016 03:45:11 +0000 (12:45 +0900)]
Add hostarch information for build configuration
In a few cases, hostarch information is needed as below,
1. There are some packages to be installed according to host archtecture
2. Some config need to be defined each host archtecture
Change-Id: I3409a1c51069ee60f81b46f06d3f99a74e6df452
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
Junghyun Kim [Thu, 18 Aug 2016 04:04:39 +0000 (13:04 +0900)]
Do not print error string "unknown keyword in config: copylinkedpackages:"
We add "CopyLinkedPackages: yes" in the project config
to reduce build redundancy for prerelease projects.
After then, "build" package complains
"unknown keyword in config: copylinkedpackages:"
because it does not understand this keyword
even though it does not need to understand this keyword.
Hence, I just added an "if" statement not to print this complain.
Change-Id: I5aa4044e629cf1f1a4af1318eb6b2ded8ac982fb
Signed-off-by: Junghyun Kim <jh0822.kim@samsung.com>
Stefan Brüns [Sun, 19 Jul 2015 14:20:13 +0000 (16:20 +0200)]
use correct dir for creation of icecream env
/var/run might point to the absolute path /run. Thus any commands
referencing $BUILD_ROOT/var/run are actually using the hosts /run
directory, whereas the "cd" tries to change to the nonexisting
/run/icecream directory and fails.
This is a cherry-pick from upstream:
https://github.com/openSUSE/obs-build/commit/
21359a6ebcbacdb1754a7c4339a7cca7e496e52f
Change-Id: Ibb87b525f115c5f9435c18db9c72773ca058d8ff
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Julien Isorce <j.isorce@samsung.com>
y0169.zhang [Fri, 19 Aug 2016 01:29:11 +0000 (10:29 +0900)]
Revert gbs install package policy, add use higher version option
Change-Id: I5b1596e12f0ee45a46adf041f6cb9630ad319d3a
yang.zhang [Fri, 27 May 2016 05:44:17 +0000 (13:44 +0800)]
Add lock for access repomd metadata
Change-Id: I03f4b3ccb8e3da02989fb031c24634abcb4ca984
yang.zhang [Thu, 26 May 2016 02:12:00 +0000 (10:12 +0800)]
Solve gbs local full build problem
Change-Id: Id7bd20082ab0016fea7cb31ec47e5bc2e964847f
Jun Wang [Sat, 21 May 2016 00:55:16 +0000 (08:55 +0800)]
rest patch add lock protection for download repodata using multi-threads
Change-Id: Iec790e275c22165108a1564131f7c74e91e29acb
jiankang.fan [Fri, 20 May 2016 08:59:46 +0000 (16:59 +0800)]
Modify the version of dependence package
Change-Id: Ica62d61734a1ba5e1e4f06e90735bb2e1fc786f7
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
yang.zhang [Tue, 17 May 2016 07:18:47 +0000 (15:18 +0800)]
fix cpio introduce symlinks checking function
Change-Id: Ic9c742b751190aa50de8a3b581d1ca34a4c107b5
yang.zhang [Mon, 16 May 2016 11:34:55 +0000 (19:34 +0800)]
modify var name
Change-Id: I876d5cfbe70410660a6b713b23ecaa3b3f09a5c1
yang.zhang [Mon, 16 May 2016 02:50:56 +0000 (10:50 +0800)]
add lock protection for download repodata using multi-threads
Change-Id: Ica860fe3d7375ee496f25c4ff5b4b118500173ba
jiankang.fan [Thu, 12 May 2016 11:03:39 +0000 (19:03 +0800)]
Modify spec file to not generate debugfile.rpm
Change-Id: I2a1e0e290cf33f269245095522b664aa3f1617d9
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
jiankang.fan [Fri, 11 Mar 2016 03:10:17 +0000 (11:10 +0800)]
Modify build.spec and expandes
Change-Id: I83c41feb2c573e9c4ba854cf2c2ef843a3a8cd80
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
jiankang.fan [Thu, 10 Mar 2016 11:40:12 +0000 (19:40 +0800)]
Fix bug for deps and redeps bug (it ignore higher versions checking)
Change-Id: I3ae1d1e65511d4cacdcaf98b4a387e1d0d84a646
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
SoonKyu Park [Wed, 15 Jun 2016 05:18:44 +0000 (14:18 +0900)]
update to upstream
20150115
Change-Id: I8943d5a8c98049843e6753c38beac89927690d72
Yonghee Han [Tue, 5 Apr 2016 08:07:23 +0000 (17:07 +0900)]
Feature : create new 'rpmbuildstage:' option on OBS.
Use : add 'rpmbuildstage: bb' option at the OBS Project config.
Modify : build -> send BUILD_RPM_BUILD_STAGE option to VM build.data
build.pm -> precheck the rpmbuildstage: option.
Related package: bs_worker of the obs-server package.
Change-Id: I5b24b370c76e352b6a872e7e329ac49b9cfd7762
(cherry picked from commit
5de2f8e79be61c2d405302aaa1dba961a3129c81)
yang.zhang [Wed, 16 Mar 2016 09:33:37 +0000 (17:33 +0800)]
fix cpio introduce symlinks checking function
Change-Id: I17fe90f5b25a726c274c7b8e56510e1b14d5d9dc
jiankang.fan [Tue, 15 Mar 2016 09:21:27 +0000 (17:21 +0800)]
packaging: bump release version to
20160115
Change-Id: I9ddad84d72c37c156f47298677ff73cb26640dac
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
jiankang.fan [Thu, 4 Feb 2016 09:20:52 +0000 (17:20 +0800)]
fix bug for error : run-init: /.build/build: No such file or directory
need to change to BUILD_ROOT dir
Change-Id: Ia47582cb40ac7d5d9ef36004305ad06a5d40f3e8
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
jiankang.fan [Thu, 4 Feb 2016 08:47:10 +0000 (16:47 +0800)]
Fix bug for building ubuntu15.04, can't uncompress data.tar.gz.
Because there is data.tar.xz in some packages, instead of
data.tar.gz
Change-Id: I5f3575497c953648e7ffb09946f5c7e4c3f8a6dc
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
shuai.fu [Tue, 26 Jan 2016 05:50:53 +0000 (13:50 +0800)]
Add find-debuginfo.sh
Modify spec add "cp -f find-debuginfo.sh /usr/lib/rpm/find-debuginfo.sh"
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
Change-Id: I7f9643f91b596860f6f1840dabaed95d2c951df5
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>
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>
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
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>
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>
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>
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.
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
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
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
Zhang Qiang [Fri, 13 Sep 2013 03:51:54 +0000 (11:51 +0800)]
Support ExportFilter
Change-Id: I264810e90026d060cd5b152fb18a911fc1c27432
Fixes: #1311
Zhang Qiang [Mon, 25 Nov 2013 02:26:06 +0000 (10:26 +0800)]
fix initvm binary search issue
Change-Id: Ie101b8138fb6b429b29c03c42e7f393ab5f77979
Zhang Qiang [Mon, 25 Nov 2013 00:30:55 +0000 (08:30 +0800)]
use qemu-arm-static binary
Change-Id: Ice3f5e9b19b7b8bf8d1e751285205a4a12e1b253
Zhang Qiang [Fri, 22 Nov 2013 07:16:37 +0000 (15:16 +0800)]
add back --use-system-qemu
Change-Id: Ia0b11954327407f576154552a96c406bd9e666ff
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