tools/build.git
3 years agoMerge remote-tracking branch 'origin/devel' accepted/tizen/devbase/tools/20210714.004924 submit/trunk/20210713.151030
biao716.wang [Wed, 14 Jul 2021 13:18:20 +0000 (22:18 +0900)]
Merge remote-tracking branch 'origin/devel'

Change-Id: I708266f00e362c29a664af4211d02a42c9076949

3 years agoupdate tizen version to tizen20210713 68/261168/1
biao716.wang [Wed, 14 Jul 2021 06:54:57 +0000 (15:54 +0900)]
update tizen version to tizen20210713

Change-Id: I7fd5e79c6f4a945104850413fd622fef96a91b4c
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
3 years agoMerge "Use ccache.tar file with --pkg-ccache option" into devel
zhang zhigang [Fri, 9 Jul 2021 07:42:23 +0000 (07:42 +0000)]
Merge "Use ccache.tar file with --pkg-ccache option" into devel

3 years agoMerge "Allow BuildFlags: Buildflags: flag:key to pass an arg" into devel
zhang zhigang [Fri, 9 Jul 2021 07:41:48 +0000 (07:41 +0000)]
Merge "Allow BuildFlags: Buildflags: flag:key to pass an arg" into devel

3 years agoforce enable DO_CUMULATE 46/260046/3
Hyunggi Lee [Fri, 18 Jun 2021 02:39:16 +0000 (11:39 +0900)]
force enable DO_CUMULATE

We can't use cumulative install because we don't use %suse_version macro.
However, our build system is based on openSUSE Build service and we use
always newer suse version than 1220. Thus, we can always enable cumulative
install instead of defining the suse_version.

ref: https://review.tizen.org/gerrit/c/platform/upstream/build/+/25635/

Test result

* pre condition
gbs build -A armv7l
download dependency to cache

* set DO_CUMULATE=
* 1st
sudo rm -rf /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.*
gbs build -A armv7l
[  137s] [537/537] installing ecore-imf-evas-devel-1.25.1-201.5
[  138s] removing nis flags from /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.0/etc/nsswitch.conf..

* 2nd
sudo rm -rf /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.*
gbs build -A armv7l
[  137s] [537/537] installing ecore-imf-evas-devel-1.25.1-201.5
[  138s] removing nis flags from /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.0/etc/nsswitch.conf..

* set DO_CUMULATE=true
* 1st
sudo rm -rf /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.*
gbs build -A armv7l
[   99s] Running alarm-server %posttrans script
[   99s] removing nis flags from /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.0/etc/nsswitch.conf...

* 2nd
sudo rm -rf /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.*
gbs build -A armv7l
[   99s] Running alarm-server %posttrans script
[  100s] removing nis flags from /home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.0/etc/nsswitch.conf...

* 138s -> 100s (ratio 72%)

Change-Id: I904e73ea7eaa23b7e52a5011a558f103128d6eee
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
3 years agoUse ccache.tar file with --pkg-ccache option 38/254738/6
Hyunggi Lee [Tue, 9 Mar 2021 05:29:17 +0000 (14:29 +0900)]
Use ccache.tar file with --pkg-ccache option

1. first build. create _ccache.tar
$ gbs build -A armv7l --ccache

after build is done
_ccache.tar file will be created
BUILD-ROOTS/scratch.armv7l.0/home/abuild/rpmbuild/OTHER/_ccache.tar
backup _ccache.tar file to your storage

2. rebuild with _ccache.tar
$ gbs build -A armv7l --ccache --pkg-ccache /path/to/_ccache.tar

test
build chromium-efl
build env: laptop NT371B5M
  - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  - SAMSUNG MZNLN256 256G SSD

first clean build
gbs build -A armv7l --ccache
build time: 29806s

rebuild
 gbs build -A armv7l --ccache --overwrite --pkg-ccache ~/_ccache.tar
build time: 3294s

rebuild (with qemu-accel (ccache, ninja)
gbs build -A armv7l --ccache --overwrite --pkg-ccache ~/_ccache.tar
build time: 2209s

related upstream patch
https://github.com/openSUSE/obs-build/pull/580
https://github.com/openSUSE/obs-build/pull/578
https://github.com/openSUSE/obs-build/pull/577
https://github.com/openSUSE/obs-build/pull/576
https://github.com/openSUSE/obs-build/pull/571
https://github.com/openSUSE/obs-build/pull/560
https://github.com/openSUSE/obs-build/pull/559

Change-Id: Ib5e6f60eddcca6f4ba67e209f9068f11a125d86e
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
4 years agoAllow BuildFlags: Buildflags: flag:key to pass an arg 44/259044/1
Hyunggi Lee [Mon, 31 May 2021 08:12:52 +0000 (17:12 +0900)]
Allow BuildFlags: Buildflags: flag:key to pass an arg

cherry-pick queyconfig only.

From b70ff4d443ecb83c0c47f935a301c44dec3aad0e Mon Sep 17 00:00:00 2001
From: Michael Schroeder <mls@suse.de>
Date: Mon, 19 Oct 2020 16:02:59 +0200
Subject: [PATCH] Support ENV and ARG in Dockerfile

Allow BuildFlags: dockerbuildarg:key=value to pass an arg
to the build command.
---
 Build/Docker.pm     | 61 +++++++++++++++++++++++++++++++++++++--------
 build-recipe-docker | 14 +++++++++--
 queryconfig         |  5 ++++
 3 files changed, 68 insertions(+), 12 deletions(-)

Change-Id: I96bade8f06088d11ccb2f7c57dee5449876537a0
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
4 years agoMerge remote-tracking branch 'origin/devel' accepted/tizen/devbase/tools/20210514.132042 accepted/tizen/devbase/tools/20210517.061551 submit/trunk/20210514.152330 submit/trunk/20210514.153130 submit/trunk/20210517.091730
biao716.wang [Fri, 14 May 2021 07:23:06 +0000 (16:23 +0900)]
Merge remote-tracking branch 'origin/devel'

Change-Id: I39a7da061038866dcc539b9a5585da9d7b44b28d

4 years agoupdate tizen version to tizen20210514 52/258352/1
biao716.wang [Fri, 14 May 2021 03:25:45 +0000 (12:25 +0900)]
update tizen version to tizen20210514

Change-Id: If2bbf1ce40b9105517b10addc9738bd549daf205
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agoMerge remote-tracking branch 'origin/devel' accepted/tizen/devbase/tools/20210513.020813 submit/trunk/20210508.154130
biao716.wang [Sat, 8 May 2021 07:41:22 +0000 (16:41 +0900)]
Merge remote-tracking branch 'origin/devel'

Change-Id: If69a74e840cc9ac3cc17cc30792b209fc06201ee

4 years agofix umount error when build is done 22/257822/5
Hyunggi Lee [Mon, 3 May 2021 11:28:27 +0000 (20:28 +0900)]
fix umount error when build is done

error: there're mounted directories to build root. Please unmount them manually to avoid being deleted unexpectly:
    / ==> ~/GBS-ROOT-TIZEN/t65std/local/BUILD-ROOTS/scratch.armv7l.0/proc
    / ==> ~/GBS-ROOT-TIZEN/t65std/local/BUILD-ROOTS/scratch.armv7l.0/proc/sys/fs/binfmt_misc
    / ==> ~/GBS-ROOT-TIZEN/t65std/local/BUILD-ROOTS/scratch.armv7l.0/proc

In certain build environments, proc/fs/sys/fs/binfmt_misc and proc are mounted multiple times (unknown reason)
However, when the build is complete, umount is executed only once.

So, I added the repeating code to umount them all.

Change-Id: Ia8cdfc62d0481043aae2b951a6daa202ba4b4a08
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
4 years agoMerge remote-tracking branch 'origin/devel' accepted/tizen/devbase/tools/20210507.015200 accepted/tizen/devbase/tools/20210508.011605 submit/trunk/20210427.135930 submit/trunk/20210507.104530
biao716.wang [Tue, 27 Apr 2021 05:59:17 +0000 (14:59 +0900)]
Merge remote-tracking branch 'origin/devel'

Change-Id: I05db69f3e07bc5ae6b0bafb94402dfdee7394f19

4 years agofix build dependency parse when Require(post) 58/256558/1
Hyunggi Lee [Wed, 7 Apr 2021 01:45:09 +0000 (10:45 +0900)]
fix build dependency parse when Require(post)

do not put extra deps after --directdepsend--
https://github.com/openSUSE/obs-build/commit/a9fdc7427ac10f64a3f7f0dac9fbc8a2a068948f#diff-051ae0ad33c737bb9e9091a77398c1b5b32ceda3cfc4b7da5bdc5a3b02610d0e

Change-Id: I618aef703e6cfe55ccb37546aab394d14570c099
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
4 years agoMerge remote-tracking branch 'origin/devel' accepted/tizen/devbase/tools/20210326.013752 accepted/tizen/devbase/tools/20210330.011002 submit/master/20210329.100331 submit/master/20210329.163031 submit/truck/20210329.164031 submit/trunk/20210325.125031 submit/trunk/20210329.085031 submit/trunk/20210329.171530 submit/trunk/20210335.125031
biao716.wang [Thu, 25 Mar 2021 02:52:44 +0000 (11:52 +0900)]
Merge remote-tracking branch 'origin/devel'

Change-Id: Ifc214f4222b4a45eeea63e8f2cec8fe9a7866b1a

4 years agoUpdate build version to tizen20210323 33/255733/1
biao716.wang [Tue, 23 Mar 2021 05:54:00 +0000 (14:54 +0900)]
Update build version to tizen20210323

Change-Id: I586e402ef72715821486244147365fc2ce31e15e
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agoMerge remote-tracking branch 'origin/devel'
biao716.wang [Tue, 23 Mar 2021 05:22:01 +0000 (14:22 +0900)]
Merge remote-tracking branch 'origin/devel'

Change-Id: Ia47035c9737bfa441a33682e2c31e1b222a3a21b

4 years agoXFix gbs full build error: binary not found 56/255156/3
biao716.wang [Fri, 12 Mar 2021 12:43:46 +0000 (21:43 +0900)]
XFix gbs full build error: binary not found
During gbs full build with multiple threads, If there are several packages downloading the same dependency package.
It will have such issue very rarely.

Change-Id: Ief2f35e32f12c3a3a6dac8783ee57c2d60177f52
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agoMerge remote-tracking branch 'origin/devel' accepted/tizen/devbase/tools/20201204.090123 submit/trunk/20201204.134230
biao716.wang [Fri, 4 Dec 2020 05:42:42 +0000 (14:42 +0900)]
Merge remote-tracking branch 'origin/devel'

Change-Id: I51db1ed2d01c84665d5492708fb029b47558c76b

4 years agoFix the functional test issue (missing a quote at the end of the line) 77/248977/1
jiankang.fan [Fri, 4 Dec 2020 02:22:49 +0000 (11:22 +0900)]
Fix the functional test issue (missing a quote at the end of the line)

Change-Id: Id8b5b95d6f4ac7f3a82280ec0963e12ba2b715bd
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
4 years agoMerge remote-tracking branch 'origin/devel' submit/trunk/20201203.143330
biao716.wang [Thu, 3 Dec 2020 06:31:53 +0000 (15:31 +0900)]
Merge remote-tracking branch 'origin/devel'

Change-Id: Ib9b90966826ed8e020f53af9b42e0056bf3c3f9e

4 years agoUpdate build version to tizen20201203 65/248865/3
biao716.wang [Thu, 3 Dec 2020 02:35:57 +0000 (11:35 +0900)]
Update build version to tizen20201203

Change-Id: I93a2f189996c1cee7e0f0405faffce6392eb03c0
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agoSupport zstd decompression for old rpm version 17/248217/1
jiankang.fan [Tue, 24 Nov 2020 02:41:15 +0000 (11:41 +0900)]
Support zstd decompression for old rpm version

Change-Id: I8d3b55144ec94f6bd1fbd0162548f814eb8a569d
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
4 years agoSupport zstd arch for tar 63/247763/2
biao716.wang [Mon, 16 Nov 2020 07:14:50 +0000 (16:14 +0900)]
Support zstd arch for tar
Merge related pathches form github:
https://github.com/openSUSE/obs-build/commit/9adf3c45a9da802ca40eb2fa7a263407fb2509ac
https://github.com/openSUSE/obs-build/commit/99ace9e9af9227ef3d9b82ea64d2f22c766e225d
https://github.com/openSUSE/obs-build/commit/f207143703d53ce2bdfa3996d22de885734dbf2dX

Change-Id: I85e24df802a9aaab67c512609cf1471bb3f10d0f
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agoMerge remote-tracking branch 'origin/devel' accepted/tizen/devbase/tools/20200723.121016 accepted/tizen/devbase/tools/20201105.013038 submit/trunk/20200723.141412 submit/trunk/20200723.152112 submit/trunk/20201029.114030 submit/trunk/20201029.132130 submit/trunk/20201029.140230 submit/trunk/20201030.104730 submit/trunk/20201030.143530 submit/trunk/20201102.094730 submit/trunk/20201104.132730 submit/trunk/20201105.154530
biao716.wang [Thu, 23 Jul 2020 06:10:55 +0000 (15:10 +0900)]
Merge remote-tracking branch 'origin/devel'

Change-Id: If1fa9d261dce4c2639d2298f5088747422e9e403

4 years agoupdate tizen version to tizen20200721 80/238980/1
biao716.wang [Tue, 21 Jul 2020 03:25:49 +0000 (12:25 +0900)]
update tizen version to tizen20200721

Change-Id: I1f639849310abc7e1fa1f71a99ac2388ae29e024
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
4 years agoMerge remote-tracking branch 'origin/devel'
biao716.wang [Tue, 21 Jul 2020 02:42:48 +0000 (11:42 +0900)]
Merge remote-tracking branch 'origin/devel'

Change-Id: I4e628a40ccc6472556eaeda96886c98a106a7349

4 years agoMerge "remove unused directory at the end of build step" into devel
park [Tue, 7 Jul 2020 01:47:46 +0000 (01:47 +0000)]
Merge "remove unused directory at the end of build step" into devel

4 years agoMerge remote-tracking branch 'origin/devel' accepted/tizen/devbase/tools/20200623.003341 submit/trunk/20200619.141212 submit/trunk/20200622.151812
biao716.wang [Fri, 19 Jun 2020 03:40:01 +0000 (12:40 +0900)]
Merge remote-tracking branch 'origin/devel'

Change-Id: I0234f932660c967ad6be1c9ec8661de5ee2ba9bf

4 years agoupdate denpendencies version 35/236535/1
yan11.meng [Thu, 18 Jun 2020 03:04:17 +0000 (11:04 +0800)]
update denpendencies version

Change-Id: I1f143a55e2ff00339e3eec94d98434010178d08f

4 years agoremove unused directory at the end of build step 54/236254/1
biao716.wang [Tue, 16 Jun 2020 01:50:40 +0000 (10:50 +0900)]
remove unused directory at the end of build step

Change-Id: Ia96bfa9808fce5582dccaf9ca712b3e56f4a7fba
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
5 years agoMerge branch 'devel' accepted/tizen/devbase/tools/20200520.012756 accepted/tizen/devbase/tools/20200618.010521 submit/trunk/20200519.161030 submit/trunk/20200519.164610 submit/trunk/20200519.184310 submit/trunk/20200612.131210 submit/trunk/20200612.180310 submit/trunk/20200612.182210 submit/trunk/20200612.185510 submit/trunk/20200612.191020 submit/trunk/20200615.140020 submit/trunk/20200617.133020
biao716.wang [Tue, 19 May 2020 08:07:24 +0000 (17:07 +0900)]
Merge branch 'devel'

Change-Id: I35531f2800ac5ec73ee0845db313fcb29dd15a78

5 years agoMerge "update tizen version to tizen20200519" into devel
Chunhua Liu [Tue, 19 May 2020 08:01:52 +0000 (08:01 +0000)]
Merge "update tizen version to tizen20200519" into devel

5 years agoupdate tizen version to tizen20200519 76/233776/3
biao716.wang [Tue, 19 May 2020 05:18:14 +0000 (13:18 +0800)]
update tizen version to tizen20200519

Change-Id: I99a7052cf07cab73fb64284e88e95747c48b0d6f
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
5 years agoMerge branch 'devel' accepted/tizen/devbase/tools/20200415.093444 accepted/tizen/devbase/tools/20200423.100534 accepted/tizen/devbase/tools/20200514.023548 submit/trunk/20200409.194520 submit/trunk/20200409.200220 submit/trunk/20200409.202020 submit/trunk/20200410.143020 submit/trunk/20200410.160020 submit/trunk/20200413.132320 submit/trunk/20200413.150000 submit/trunk/20200413.150500 submit/trunk/20200413.151000 submit/trunk/20200414.141500 submit/trunk/20200414.173500 submit/trunk/20200414.181500 submit/trunk/20200414.191000 submit/trunk/20200422.115210 submit/trunk/20200422.142510 submit/trunk/20200422.165210 submit/trunk/20200423.102810 submit/trunk/20200423.115423 submit/trunk/20200423.122334 submit/trunk/20200513.162810
biao716.wang [Sat, 4 Apr 2020 07:57:56 +0000 (16:57 +0900)]
Merge branch 'devel'

Change-Id: I66e23c63fe87ad058a12ebb26057a77fd372416c

5 years agoremove --replacefile option in build-pkg-rpm 55/228555/1
yan11.meng [Tue, 24 Mar 2020 02:13:06 +0000 (11:13 +0900)]
remove --replacefile option in build-pkg-rpm

Change-Id: I1401963e1aa1a864cd5962a77e80fb0cc256fe3b

5 years agoUpgrade version to 0.25.9 28/213228/2 release-20190904 accepted/tizen/devbase/tools/20200104.060207 accepted/tizen/devbase/tools/20200106.014258 accepted/tizen/devbase/tools/20200109.052743 accepted/tizen/devbase/tools/20200110.011840 accepted/tizen/devbase/tools/20200114.020254 accepted/tizen/devbase/tools/20200114.115759 accepted/tizen/devbase/tools/20200115.231426 accepted/tizen/devbase/tools/20200219.094525 submit/trunk/20190927.010356 submit/trunk/20191017.111201 submit/trunk/20191017.233826 submit/trunk/20191030.112603 submit/trunk/20191101.102136 submit/trunk/20200104.111033 submit/trunk/20200104.134833 submit/trunk/20200105.091815 submit/trunk/20200108.172702 submit/trunk/20200109.105802 submit/trunk/20200109.112402 submit/trunk/20200109.124502 submit/trunk/20200109.151502 submit/trunk/20200109.154402 submit/trunk/20200110.111659 submit/trunk/20200114.100000 submit/trunk/20200114.110000 submit/trunk/20200115.110101 submit/trunk/20200219.120523
biao716.wang [Tue, 3 Sep 2019 05:31:53 +0000 (13:31 +0800)]
Upgrade version to 0.25.9
merge devel to master

Change-Id: I38f2b309ece22640a55e582381327911b13c541a
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
5 years agoUpdate tizen version to tizen20190830 83/212983/1 submit/devel/20190902.233256
biao716.wang [Thu, 29 Aug 2019 05:32:58 +0000 (13:32 +0800)]
Update tizen version to tizen20190830

Change-Id: Idd464c61457caa302483a33f33392e7f1469fc30
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
5 years agorevert change about copylinkedpackages option 39/212939/1
biao716.wang [Wed, 28 Aug 2019 09:04:12 +0000 (17:04 +0800)]
revert change about copylinkedpackages option

Change-Id: I0e9ba6be10becd7cc322c01ae124ebdf831c1101

5 years agoremoved duplicated codes 96/208296/1 submit/devel/20190730.074441 submit/devel/20190730.075528
biao716.wang [Sun, 23 Jun 2019 05:18:30 +0000 (13:18 +0800)]
removed duplicated codes

Change-Id: I6d050b371f769d0b23a9def2adbd418c09c09a8b
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
6 years agoMerge branch 'master' into devel 25/207525/1
biao716.wang [Thu, 6 Jun 2019 07:24:15 +0000 (15:24 +0800)]
Merge branch 'master' into devel

Change-Id: I7c0fcdcea01a7e066f17fb29e43a2e48c2e7a8d5

6 years agoCheck if dpkg supports the --force-unsafe-io option release-20190125 accepted/tizen/devbase/tools/20190927.044855 submit/trunk/20190927.012842 submit/trunk/20191015.065808 submit/trunk/20191118.121124
Michael Schroeder [Mon, 22 Oct 2018 12:29:33 +0000 (14:29 +0200)]
Check if dpkg supports the --force-unsafe-io option

Change-Id: I26459cc056eb5adbb4e0299ebd755542dd41b9eb

6 years agoDeb.pm : do not die if the uncompress fails
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

6 years agobuild-pkg-deb: support control.tar.xz
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

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

Change-Id: I43dfa992421836aba20d48acde8519a382d39ecb

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

Change-Id: I8f8b36421d654b4441737f89ce43169bd8d3f4c5

6 years agoDeb.pm: support control.tar.xz
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

6 years agodeb: Generalize ungzip to uncompress
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 agoCheck if dpkg supports the --force-unsafe-io option 81/197881/1
Michael Schroeder [Mon, 22 Oct 2018 12:29:33 +0000 (14:29 +0200)]
Check if dpkg supports the --force-unsafe-io option

Change-Id: I26459cc056eb5adbb4e0299ebd755542dd41b9eb

6 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

6 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

6 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

6 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

6 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

6 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 agoUpdate tizen version to tizen20181031 release-20181031
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 agospeed up the download packages when use https 51/191851/1
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 agochange the date 50/191850/1
jingui.ren [Wed, 26 Sep 2018 09:41:18 +0000 (17:41 +0800)]
change the date

Change-Id: Ib5beac3af54657c14cc2881a15d0485aac148c68

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 agouse --replacefiles to replace --force 49/191849/1
jingui.ren [Wed, 26 Sep 2018 02:39:43 +0000 (10:39 +0800)]
use --replacefiles to replace --force

Change-Id: I35068463206db50cc5009dbcaae481dd29102e99

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

Change-Id: I336ba95a3f17bf80f65a299afc6c30fe173001a8

6 years agoadd --force to ignore file conflicts between packages
jingui.ren [Wed, 12 Sep 2018 08:48:19 +0000 (16:48 +0800)]
add --force to ignore file conflicts between packages

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 tizen20180831 release-20180831
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
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 release-20180803
jingui.ren [Thu, 2 Aug 2018 10:33:57 +0000 (18:33 +0800)]
Update tizen version to tizen20180803

Change-Id: I64417512d89a339ea8b5974d98e51a54ac04b9c7

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 agowhen build on x86_64, no memory limit
jingui.ren [Thu, 21 Jun 2018 08:49:43 +0000 (16:49 +0800)]
when build on x86_64, no memory limit

Change-Id: Ib08e279880e264bca8d41565b52d7e2f540160a0

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

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

Change-Id: Icf7eab6730a5523d98e0eee20dc466191f92a271

7 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

7 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

7 years agoUpdate tizen version to tizen20180323 release-20180323
jingui.ren [Wed, 21 Mar 2018 08:51:17 +0000 (16:51 +0800)]
Update tizen version to tizen20180323

Change-Id: I8c517bdc042c6eaefe3256d9d03473a8d1803d79

7 years agoEnable networking inside VM.
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 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 agofix bugs about linux path which includes abnormal character
jingui.ren [Thu, 1 Mar 2018 06:10:25 +0000 (14:10 +0800)]
fix bugs about linux path which includes abnormal character

Change-Id: Ice991a5bb3a6e07966e6e7ef29b0a4bfcc060179

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 agoFix PKGID missing problem release-20171013
y0169.zhang [Sat, 14 Oct 2017 01:57:54 +0000 (09:57 +0800)]
Fix PKGID missing problem

Change-Id: I438b8bdf143c117f2b762db4a6891f7a7604d3f2

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

Change-Id: I45578d8906ee3afe3e8b4df3f1054f1383a35e79

7 years agoFix https://bugs.tizen.org/browse/DEVT-345
fushuai [Thu, 12 Oct 2017 09:43:34 +0000 (17:43 +0800)]
Fix 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
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 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 vm_startup_docker
shuai.fu [Tue, 11 Jul 2017 09:19:17 +0000 (18:19 +0900)]
modify vm_startup_docker

Change-Id: I8efa44d576e0e209120726c538280aa47eb53a02
Signed-off-by: shuai.fu <shuai01.fu@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 agoadd --privileged flag in build-vm-docker
shuai.fu [Thu, 29 Jun 2017 03:25:03 +0000 (12:25 +0900)]
add --privileged flag in build-vm-docker

Change-Id: I332c81eb126f335bf0339f9d0a15fb2a921de26a
Signed-off-by: shuai.fu <shuai01.fu@samsung.com>
7 years ago add docker server
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>