tools/build.git
5 years agoDeb.pm : do not die if the uncompress fails 80/197880/1
Michael Schroeder [Fri, 2 Mar 2018 14:35:05 +0000 (15:35 +0100)]
Deb.pm : do not die if the uncompress fails

Change-Id: Idbf112c9ca7a4b99e3c42203bf3e08321d05da36

5 years agobuild-pkg-deb: support control.tar.xz 79/197879/1
Riku Voipio [Fri, 20 Oct 2017 10:53:47 +0000 (13:53 +0300)]
build-pkg-deb: support control.tar.xz

Like in Deb.pm, handle the case of control.tar.xz

Change-Id: I87c5626e2135d90a29798e16cb1add898a2099f0

5 years agoAlso support uncompressed control.tar files in queryhdrmd5 78/197878/1
Michael Schroeder [Fri, 20 Oct 2017 13:45:25 +0000 (15:45 +0200)]
Also support uncompressed control.tar files in queryhdrmd5

Change-Id: I43dfa992421836aba20d48acde8519a382d39ecb

5 years agoAlso support uncompressed control.tar files 77/197877/1
Michael Schroeder [Fri, 20 Oct 2017 11:26:29 +0000 (13:26 +0200)]
Also support uncompressed control.tar files

Change-Id: I8f8b36421d654b4441737f89ce43169bd8d3f4c5

5 years agoDeb.pm: support control.tar.xz 76/197876/1
Riku Voipio [Thu, 19 Oct 2017 10:30:49 +0000 (13:30 +0300)]
Deb.pm: support control.tar.xz

Add support for uncompressing and hdrmd5 for XZ compressed
control.tar - default on dpkg >= 1.19. Fixes issue #395

Change-Id: I2f18307182591b3965c6c6e70f355ab617dc1533

5 years agodeb: Generalize ungzip to uncompress 75/197875/1
Riku Voipio [Thu, 19 Oct 2017 08:59:43 +0000 (11:59 +0300)]
deb: Generalize ungzip to uncompress

In preparation fot xz support

Change-Id: Icf0d2d36970cac4ea02eda1d381858ed173ad006

6 years agoUpdate tizen version to tizen20181031 84/192084/2
jingui.ren [Mon, 29 Oct 2018 08:04:09 +0000 (16:04 +0800)]
Update tizen version to tizen20181031

Change-Id: I1eefecc3f4bc5f35a76dc392683630a7ef546832

6 years agospeed up the download packages when use https 51/191851/2
jingui.ren [Wed, 24 Oct 2018 08:17:08 +0000 (16:17 +0800)]
speed up the download packages when use https

Change-Id: Ibd74db0b98d17f93eb37cc9ed555c533a9235297

6 years agoUpdate tizen version to tizen20180927 13/190013/2
jingui.ren [Fri, 21 Sep 2018 05:46:33 +0000 (13:46 +0800)]
Update tizen version to tizen20180927

Change-Id: I336ba95a3f17bf80f65a299afc6c30fe173001a8

6 years agoadd --replacefiles to ignore rpm installing file conflicts 67/189967/2
jingui.ren [Wed, 12 Sep 2018 08:48:19 +0000 (16:48 +0800)]
add --replacefiles to ignore rpm installing file conflicts

Change-Id: I1b86904ba53853ca90436647f90d539a17134e7b

6 years agoUpdate tizen version to tizen20180831 76/187976/1
jingui.ren [Tue, 28 Aug 2018 07:35:47 +0000 (15:35 +0800)]
Update tizen version to tizen20180831

Change-Id: I69a96096767e767eeb7250ecce95d28a302220e6

6 years agofix bugs when build error on x86_64 74/187974/1
jingui.ren [Sat, 25 Aug 2018 07:09:07 +0000 (15:09 +0800)]
fix bugs when build error on x86_64

Change-Id: I86ad3116b36b4cd92e411052c3e6818a7bacf9a8

6 years agoUpdate tizen version to tizen20180803 87/185787/2
jingui.ren [Thu, 2 Aug 2018 09:04:31 +0000 (17:04 +0800)]
Update tizen version to tizen20180803

Change-Id: I93f9c6b80f4b1d22dc2af4b56fc8ce95d1cb15cc

6 years agowhen build on x86_64, no memory limit 86/185786/1
jingui.ren [Thu, 2 Aug 2018 09:01:48 +0000 (17:01 +0800)]
when build on x86_64, no memory limit

Change-Id: I588463f2060213187accffe238e729e0cdbf942c

6 years agofix BUILD_ROOT variable read error 82/185782/1
jingui.ren [Tue, 12 Jun 2018 11:51:01 +0000 (19:51 +0800)]
fix BUILD_ROOT variable read error

Change-Id: Icf7eab6730a5523d98e0eee20dc466191f92a271

6 years agoFix a Deb package build error 19/182019/1
Yonghee Han [Wed, 20 Jun 2018 01:40:05 +0000 (10:40 +0900)]
Fix a Deb package build error

Related commit "Fix bugs when username including backslash"
Error : dpkg-divert: error: failed to open package info file /var/lib/dpkg/status for reading

Change-Id: Ic0f0ee6ec19ac178264f3f60f447401b230a6352

6 years agoUpdate tizen version to tizen20180323 57/173557/1
jingui.ren [Wed, 21 Mar 2018 08:51:17 +0000 (16:51 +0800)]
Update tizen version to tizen20180323

Change-Id: I8c517bdc042c6eaefe3256d9d03473a8d1803d79

6 years agoFix bugs when username including backslash 56/173556/1
jingui.ren [Thu, 22 Mar 2018 08:18:06 +0000 (16:18 +0800)]
Fix bugs when username including backslash

Change-Id: Ib489d11174f67acf04c6c622fc41c2243e596198

6 years agoEnable networking inside VM. 93/173293/2
Yonghee Han [Tue, 20 Mar 2018 09:40:37 +0000 (18:40 +0900)]
Enable networking inside VM.

Add the following to configuration for the Networking
VM_WORKER,VM_WORKER_NR,VM_NETDEVOPT,VM_DEVICEOPT

How to use
   Modify the /etc/sysconfig/obs-server on OBS Worker
   OBS_VM_NETDEVOPT=user,id=user.0
   OBS_VM_DEVICEOPT=e1000,netdev=user.0

Related obs-server-2.7

Change-Id: Ie519b7c81ed185845f71a1a130c995f0a9134b2c

7 years agoUpdate tizen version to tizen20171013 99/156299/2
jingui.ren [Fri, 13 Oct 2017 01:40:36 +0000 (09:40 +0800)]
Update tizen version to tizen20171013

Change-Id: I45578d8906ee3afe3e8b4df3f1054f1383a35e79
Signed-off-by: jingui.ren <jingui.ren@samsung.com>
7 years agosolve gbs build issue of rpm package not install (Tizen:2.4 project) and reuse last... 98/156298/7
fushuai [Thu, 12 Oct 2017 09:43:34 +0000 (17:43 +0800)]
solve gbs build issue of rpm package not install (Tizen:2.4 project) and reuse last build environment failed.

Bugs : https://bugs.tizen.org/browse/DEVT-345

Change-Id: Ie98f094039ed9cc776e5c8bd7b323e9662f7892b
Signed-off-by: fushuai <shuai01.fu@samsung.com>
7 years agoAdd Epoch to rpm query command 97/156297/3
y0169.zhang [Thu, 12 Oct 2017 02:46:10 +0000 (10:46 +0800)]
Add Epoch to rpm query command

Fix bug: https://bugs.tizen.org/browse/DEVT-342

Change-Id: I8bdf9c55762be61ef53fc0bc6f492423a5024173

7 years agoSpecify building script when docker startup in obsworker. 96/156296/8
shuai.fu [Tue, 11 Jul 2017 09:19:17 +0000 (18:19 +0900)]
Specify building script when docker startup in obsworker.

Change-Id: I8efa44d576e0e209120726c538280aa47eb53a02
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
7 years agoFix no perission issue for OBS docker building method 95/156295/6
shuai.fu [Thu, 29 Jun 2017 03:25:03 +0000 (12:25 +0900)]
Fix no perission issue for OBS docker building method
Add --privileged flag when run docker command

Change-Id: I332c81eb126f335bf0339f9d0a15fb2a921de26a
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
7 years agoadd docker server 06/156006/1
Jiankang Fan [Wed, 28 Jun 2017 09:08:11 +0000 (18:08 +0900)]
add docker server

Change-Id: I9f22f15dfc68ff07cccc1be6a70bc282fd78be40
Signed-off-by: Jiankang Fan <jiankang.fan@samsung.com>
7 years ago Update tizen version to tizen20170630 48/140948/2
y0169.zhang [Thu, 27 Jul 2017 08:01:27 +0000 (16:01 +0800)]
 Update tizen version to tizen20170630

Change-Id: Ic2de027bb7fd475f49b253f0dc38d7815448e6ab
Signed-off-by: y0169.zhang <y0169.zhang@samsung.com>
7 years agoRemove process lock, add temporary file to fix issue: 30/140830/2
y0169.zhang [Wed, 26 Jul 2017 11:40:01 +0000 (19:40 +0800)]
Remove process lock, add temporary file to fix issue:
https://bugs.tizen.org/browse/DEVT-310

Change-Id: I2ef65f1d2051a6a6a8d2bdbaa57a12862e1b56c5
Signed-off-by: y0169.zhang <y0169.zhang@samsung.com>
7 years agofix OBS build error 19/140519/1
y0169.zhang [Tue, 25 Jul 2017 08:10:40 +0000 (16:10 +0800)]
fix OBS build error

Change-Id: Icc4ce462ebe565b45e52110491192620c5f5314f
Signed-off-by: y0169.zhang <y0169.zhang@samsung.com>
7 years ago Add message to changelog 28/140128/5
y0169.zhang [Mon, 24 Jul 2017 03:40:23 +0000 (11:40 +0800)]
  Add message to changelog

Change-Id: Iee82ef338d0b7a475e4715ce10c59a2dde784158
Signed-off-by: y0169.zhang <y0169.zhang@samsung.com>
7 years agoModify function_test error 25/137825/1
shuai.fu [Mon, 24 Apr 2017 10:10:05 +0000 (18:10 +0800)]
Modify function_test error

Change-Id: I89dee30c6e0fc3123e181f3c4e5d156a9fcaa644
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
7 years agoUpdate to upstream 20160629 24/137824/1 upstream/20160629
shuai.fu [Sat, 22 Apr 2017 05:43:02 +0000 (13:43 +0800)]
Update to upstream 20160629

Change-Id: Idc31c269aec94e852b30885dee65a827b318b7a3
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
7 years agoUpdate tizen version to tizen20170428 72/127072/1
Jun Wang [Wed, 26 Apr 2017 06:10:30 +0000 (14:10 +0800)]
Update tizen version to tizen20170428

Change-Id: I5f82719a5a300f650beb5e6cd98a091003d87bf7

7 years agoUpdate tizen version to tizen20170405
SoonKyu Park [Tue, 4 Apr 2017 11:46:09 +0000 (20:46 +0900)]
Update tizen version to tizen20170405

Change-Id: I20b9573d2a69a03879b23c3dc365c65fab944900

7 years agoMerge branch 'master' into devel
SoonKyu Park [Tue, 4 Apr 2017 11:28:34 +0000 (20:28 +0900)]
Merge branch 'master' into devel

7 years agoFeature : create new 'rpmbuildstage:' option on OBS. 86/122786/2
Yonghee Han [Mon, 3 Apr 2017 04:50:12 +0000 (13:50 +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: I0c7199f0f9eeda835755e854e764eb871d558b6e

7 years agoUpdate tizen version to tizen20170114 release-20170220
y0169.zhang [Sat, 14 Jan 2017 05:50:50 +0000 (14:50 +0900)]
Update tizen version to tizen20170114

Change-Id: I19efa4f2a239db3ee08fed9f44bf462180c414cb

7 years agorevert to old version, use rpm command to query pkgid
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>
7 years agoFix deps file order error
y0169.zhang [Sat, 4 Feb 2017 03:26:04 +0000 (12:26 +0900)]
Fix deps file order error

Change-Id: Ic8624d3b6ed9010a8f0c281e04c5669759e87eb4

7 years agoFix last commit
Michael Schroeder [Mon, 28 Nov 2016 13:37:10 +0000 (14:37 +0100)]
Fix last commit

Change-Id: I459349680e2cdea801dccc3430ab21282dc32bc0

7 years agoAlso recored supplements, use recommends as choice breaker only in 3rd pass.
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

7 years agoRecognize Recommends relations of RPMs
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

7 years agoMerge remote-tracking branch 'origin/release-20161231' into devel 49/107549/1
SoonKyu Park [Wed, 28 Dec 2016 11:35:15 +0000 (20:35 +0900)]
Merge remote-tracking branch 'origin/release-20161231' into devel

Conflicts:
expanddeps
init_buildsystem

Change-Id: Id0fb3374dc790780bd4aa9fec7183d07975afb02

7 years agoUpdate tizen version to tizen20161231 release-20161231
SoonKyu Park [Mon, 26 Dec 2016 11:37:49 +0000 (20:37 +0900)]
Update tizen version to tizen20161231

Change-Id: Ifeb07b7998586c252510a433f249baf36573f9e6

7 years agoRevert the command of get cache packages id
y0169.zhang [Thu, 17 Nov 2016 05:49:10 +0000 (14:49 +0900)]
Revert the command of get cache packages id

Change-Id: I8a0007b09bf5d42f56cd5d9d6265878098cf7b63

7 years ago$BUILD_ROOT/dev/pts could be mounted more times on Ubuntu 16.10, so it need umount...
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

7 years agoChange level to 7 for fix Ubuntu_16.10 buiding issue
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>
7 years agoComment duplicate aarch64 register
Jiankang Fan [Tue, 27 Sep 2016 03:12:05 +0000 (11:12 +0800)]
Comment duplicate aarch64 register

Change-Id: I831561da2ab7352d850bab4e16f68950dc65a18e

7 years agoModify qemu-arm-static require version
Jiankang Fan [Tue, 27 Sep 2016 03:10:48 +0000 (11:10 +0800)]
Modify qemu-arm-static require version

Change-Id: I1ea0366ec4fdc9c3b0371e77c9964c4ee9a0563d

7 years agoEnable kvm build function
Jiankang Fan [Tue, 27 Sep 2016 03:08:54 +0000 (11:08 +0800)]
Enable kvm build function

Change-Id: I1213c284637e6ddb6538f7047468835bb99b4e39

8 years agoUpdate tizen version to tizen20160928 63/89563/1 release-20160930
SoonKyu Park [Mon, 26 Sep 2016 05:07:06 +0000 (14:07 +0900)]
Update tizen version to tizen20160928

Change-Id: Iafbf1c2627709eaf3deb11bf59a75c9d00fd76e4

8 years agoAdd hostarch information for build configuration
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>
8 years agoDo not print error string "unknown keyword in config: copylinkedpackages:"
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>
8 years agouse correct dir for creation of icecream env
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>
8 years agoRevert gbs install package policy, add use higher version option
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

8 years agoRevert gbs install package policy, add use higher version option 81/89281/1
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

8 years agoMerge "Do not print error string "unknown keyword in config: copylinkedpackages:...
Yonghee Han [Tue, 30 Aug 2016 04:35:07 +0000 (21:35 -0700)]
Merge "Do not print error string "unknown keyword in config: copylinkedpackages:"" into devel

8 years agoAdd hostarch information for build configuration 65/84665/1
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>
8 years agoFeature : create new 'rpmbuildstage:' option on OBS. 69/84369/1
SoonKyu Park [Thu, 18 Aug 2016 08:11:05 +0000 (17:11 +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: Ia6c7daa590081ef90368b3748556543e3f495e91

8 years agoRemove partially merged code of 'create new 'rpmbuildstage:' option on OBS.' 62/84362/1
SoonKyu Park [Thu, 18 Aug 2016 07:49:51 +0000 (16:49 +0900)]
Remove partially merged code of 'create new 'rpmbuildstage:' option on OBS.'

Change-Id: I7548157977c3e061b59fab2bc02942cb1eb70a0e

8 years agoDo not print error string "unknown keyword in config: copylinkedpackages:" 04/84304/2
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>
8 years agoMerge branch 'master' into devel
SoonKyu Park [Wed, 27 Jul 2016 05:31:25 +0000 (14:31 +0900)]
Merge branch 'master' into devel

Change-Id: Icb33675a10834315944ddc5e5711857086facf4e

8 years agoAdd lock for access repomd metadata release-20160615
yang.zhang [Fri, 27 May 2016 05:44:17 +0000 (13:44 +0800)]
Add lock for access repomd metadata

Change-Id: I03f4b3ccb8e3da02989fb031c24634abcb4ca984

8 years agoSolve gbs local full build problem
yang.zhang [Thu, 26 May 2016 02:12:00 +0000 (10:12 +0800)]
Solve gbs local full build problem

Change-Id: Id7bd20082ab0016fea7cb31ec47e5bc2e964847f

8 years agorest patch add lock protection for download repodata using multi-threads
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

8 years agoModify the version of dependence package
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>
8 years agofix cpio introduce symlinks checking function
yang.zhang [Tue, 17 May 2016 07:18:47 +0000 (15:18 +0800)]
fix cpio introduce symlinks checking function

Change-Id: Ic9c742b751190aa50de8a3b581d1ca34a4c107b5

8 years agomodify var name
yang.zhang [Mon, 16 May 2016 11:34:55 +0000 (19:34 +0800)]
modify var name

Change-Id: I876d5cfbe70410660a6b713b23ecaa3b3f09a5c1

8 years agoadd lock protection for download repodata using multi-threads
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

8 years agoModify spec file to not generate debugfile.rpm
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>
8 years agoModify build.spec and expandes
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>
8 years agoFix bug for deps and redeps bug (it ignore higher versions checking)
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>
8 years agoupdate to upstream 20150115
SoonKyu Park [Wed, 15 Jun 2016 05:18:44 +0000 (14:18 +0900)]
update to upstream 20150115

Change-Id: I8943d5a8c98049843e6753c38beac89927690d72

8 years agofix cpio introduce symlinks checking function
yang.zhang [Wed, 16 Mar 2016 09:33:37 +0000 (17:33 +0800)]
fix cpio introduce symlinks checking function

Change-Id: I17fe90f5b25a726c274c7b8e56510e1b14d5d9dc

8 years agopackaging: bump release version to 20160115
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>
8 years agofix bug for error : run-init: /.build/build: No such file or directory
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>
8 years agoFix bug for building ubuntu15.04, can't uncompress data.tar.gz.
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>
8 years agoAdd find-debuginfo.sh
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

8 years agouse correct dir for creation of icecream env 65/68665/5
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>
8 years agoFeature : create new 'rpmbuildstage:' option on OBS. 72/65372/1 release-20160315 release-20160411
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)

8 years agoFeature : create new 'rpmbuildstage:' option on OBS. 61/64761/3
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

8 years agofix cpio introduce symlinks checking function
yang.zhang [Wed, 16 Mar 2016 09:33:37 +0000 (17:33 +0800)]
fix cpio introduce symlinks checking function

Change-Id: I17fe90f5b25a726c274c7b8e56510e1b14d5d9dc

8 years agopackaging: bump release version to 20160115
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>
8 years agofix bug for error : run-init: /.build/build: No such file or directory upstream/2015.01.15
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>
8 years agoFix bug for building ubuntu15.04, can't uncompress data.tar.gz.
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>
8 years agoAdd find-debuginfo.sh
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

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>
10 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>
10 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