wanchao.xu [Mon, 14 Oct 2024 05:24:09 +0000 (13:24 +0800)]
Cleanup the build root as default action if build system is broken.
Change-Id: I0e4ddf8dcfc31e62c880fc35a3333678f85f30bb
Signed-off-by: wanchao.xu <wanchao.xu@samsung.com>
wangbiao [Mon, 19 Aug 2024 07:56:31 +0000 (16:56 +0900)]
build: use ulimit -d instead of ulimit -v
Refer to: https://github.com/openSUSE/obs-build/commit/
52cec996150a0050ad0c873cc4fc750a35fd460c
Change-Id: Ia218f25524076fa0c68163cec8305f1d32a255de
Signed-off-by: wangbiao <biao716.wang@samsung.com>
wangbiao [Mon, 19 Aug 2024 07:54:30 +0000 (16:54 +0900)]
umount with -f option
Change-Id: Ia1f17e5595ab0ad8a3b1ce7edf319b040cbdbb20
Signed-off-by: wangbiao <biao716.wang@samsung.com>
xuhy [Mon, 22 Jul 2024 07:03:26 +0000 (15:03 +0800)]
update tizen version to tizen20240722
Change-Id: Id6b2a3b3878d7469cb9e9acb5fc89192596e06f9
Signed-off-by: xuhy <huayong.xu@samsung.com>
xuhy [Mon, 24 Jun 2024 01:23:08 +0000 (09:23 +0800)]
Remove dpatch dependency.
dpatch package is not available on ubuntu 24.04.
Change-Id: I169ecf2b6998f20cd88647a2d7bbc2a1e40f0dbc
Signed-off-by: xuhy <huayong.xu@samsung.com>
xuhy [Thu, 30 Nov 2023 07:03:45 +0000 (15:03 +0800)]
update tizen version to tizen20231130
Change-Id: I6c566bb36bb2e00282d929f0c5db80f6debb48a0
Signed-off-by: xuhy <huayong.xu@samsung.com>
wangbiao [Tue, 21 Nov 2023 05:49:08 +0000 (14:49 +0900)]
use the correct lua to excutxe scripts
Change-Id: I8ff682592f8f1c0b4c0615493f8df49a5aad7010
Signed-off-by: wangbiao <biao716.wang@samsung.com>
wanchao-xu [Fri, 1 Sep 2023 09:55:03 +0000 (17:55 +0800)]
Update qemu-arm-static depend to support risc.
Change-Id: I24b4f4e6c74c7b4004da1308535786dd04f8a47c
Signed-off-by: wanchao-xu <wanchao.xu@samsung.com>
wangbiao [Wed, 1 Nov 2023 03:17:40 +0000 (12:17 +0900)]
update tizen version to tizen20231101
Change-Id: I62406e53b1a9ba5ae36d1c94dc1fa3d3bf949988
Signed-off-by: wangbiao <biao716.wang@samsung.com>
wang biao [Wed, 18 Oct 2023 08:51:50 +0000 (16:51 +0800)]
Support different interpreters in prein/postin scriptlets
In default, it use /bin/sh as prein/postin scriptlets interpreter, but it also
allow lua or perl other kinds of interpeter to run scripts.
Change-Id: Ie01ee8af5154c2f7b73c55a897722b4cb6031928
Signed-off-by: wang biao <biao716.wang@samsung.com>
biao716.wang [Fri, 15 Sep 2023 11:37:09 +0000 (20:37 +0900)]
download: enable proxy support for HTTPS.
Change-Id: I448b1cc2f51b9b038130b6a4d1a56fe47880099b
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 2 Aug 2023 05:49:26 +0000 (14:49 +0900)]
support build with openSUSE15.x distro
Change-Id: I268a8e0b8c2ef20e08a8e357b5b2cd03616d61a2
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 13 Jun 2023 08:24:01 +0000 (17:24 +0900)]
fix gbs build error
https://bugs.tizen.org/browse/DEVT-440
This build error happens in such senario:
1. when there exist two or more same rpm packages with different version,
And this package don't depend on other pcakges.
So During parsing the cache file .srcfiles.cache, according to the rule of expanddeps file,
If there is no "R:" section for this package, it will not compare the version.
the releated variable will always save the first package info.
This error is caused by:
https://review.tizen.org/gerrit/gitweb?p=tools/build.git;a=commit;h=
bb2a3cc363850d2751058d34c90d5fe00bc80cbc
Change-Id: I2ecdd621bc0350278158fe92dc715f370aba875f
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 10 May 2023 07:11:48 +0000 (16:11 +0900)]
update tizen version to tizen20230510
Change-Id: If33ac5abc269f0e9f4d9294cbbeac2fb27424641
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 10 May 2023 06:54:54 +0000 (15:54 +0900)]
Merge remote-tracking branch 'origin/master' into devel
Change-Id: I7f88d04bec206a254de59987a3502dfccfae4249
biao716.wang [Wed, 10 May 2023 06:54:44 +0000 (15:54 +0900)]
Merge branch 'devel' of ssh://review.tizen.org:29418/tools/build into devel
Change-Id: Icf34153dceacc78974ca7a32aea500bb61d0e60f
sk7.park [Wed, 10 May 2023 05:41:55 +0000 (14:41 +0900)]
ignore non-existance of qemu binfmt file
Change-Id: Ieddb926463b386993df0619c93d4f6699f2d7ff0
biao716.wang [Thu, 4 May 2023 03:46:01 +0000 (12:46 +0900)]
hide credentials information in logs
Change-Id: I26a391de6c1e0c18bc9aeff7f31294aad0ada6b6
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 11 Apr 2023 05:40:18 +0000 (14:40 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: Idfe7ee759cf3e9a0ed42d0bc325c5f2ead64f635
sk7.park [Tue, 11 Apr 2023 04:07:06 +0000 (13:07 +0900)]
Revert 'fix build dependency parse when Require(post)'
Change-Id: I7ddc5d539f458089152ddbe69c7b46fb5259c657
biao716.wang [Wed, 1 Mar 2023 03:51:12 +0000 (12:51 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I42193ac64701eaa721ffa6c5b2c376179e0dca6f
biao716.wang [Wed, 1 Mar 2023 03:49:54 +0000 (12:49 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I79ebad9039376e2cbec9a4cc7a255c2da14a6c03
biao716.wang [Tue, 28 Feb 2023 07:59:37 +0000 (16:59 +0900)]
update tizen version to tizen20230301
Change-Id: Icb83d5c48203ead78a306f750268b87bf1fcd185
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
“zg84.zhang” [Wed, 22 Feb 2023 05:35:55 +0000 (13:35 +0800)]
Fix issue: chromium-efl package build failure on Tizen 5.5
Error occurs when building chromium-efl package using gbs in Tizen-5.5 Unified (Local gbs, quickbuild all have problems, all arch. errors occur,)
problem in issue https://github.sec.samsung.net/RS-tizen-build/issues/issues/1094
Change-Id: I8cb36b42e2e66bf9ff42d5afff50b423b156197f
biao716.wang [Thu, 12 Jan 2023 09:25:28 +0000 (18:25 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: Ifd421d067cff67b21c9b53688a9314d8705e5cff
biao716.wang [Thu, 12 Jan 2023 08:03:37 +0000 (17:03 +0900)]
update tizen version to tizen20230112
Change-Id: If9af31f0bd8e02aeb67a4adebcdcadf2c5ae54a9
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Thu, 12 Jan 2023 07:44:29 +0000 (16:44 +0900)]
Add new option: --nocumulate, it can allow build without cumulative build
Change-Id: I786df38e1ff07a29d301c73e38e58c1338816672
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 4 Jan 2023 05:40:52 +0000 (14:40 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I3a94458a28b996551401d11ca38ff1a407bed3c4
biao716.wang [Wed, 14 Dec 2022 09:30:24 +0000 (18:30 +0900)]
Support BuildFlags: nocumulaterpms
- default condition : "DO_CUMULATE=true"
- If we specify "BuildFlags: nocumulaterpms" in project config --> set "DO_CUMULATE=false"
https://github.com/openSUSE/obs-build/commit/
aee26521f91ee3d195d89f2c1f33072f5bf658b0
Change-Id: I360c8279797c43cb0adf1b9f0c6be2882fb47219
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
park [Thu, 15 Dec 2022 04:57:12 +0000 (04:57 +0000)]
Merge "Support BuildFlags: nocumulaterpms" into devel
biao716.wang [Wed, 14 Dec 2022 09:30:24 +0000 (18:30 +0900)]
Support BuildFlags: nocumulaterpms
- default condition : "DO_CUMULATE=true"
- If we specify "BuildFlags: nocumulaterpms" in project config --> set "DO_CUMULATE=false"
https://github.com/openSUSE/obs-build/commit/
aee26521f91ee3d195d89f2c1f33072f5bf658b0
Change-Id: I360c8279797c43cb0adf1b9f0c6be2882fb47219
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
zhang zhigang [Wed, 14 Dec 2022 03:12:33 +0000 (03:12 +0000)]
Merge "Add binfmt entry for RISC-V" into devel
zhang zhigang [Wed, 14 Dec 2022 03:12:20 +0000 (03:12 +0000)]
Merge "Check for file existence instead of executability" into devel
zhang zhigang [Wed, 14 Dec 2022 03:12:07 +0000 (03:12 +0000)]
Merge "Always report missing interpreters" into devel
zhang zhigang [Wed, 14 Dec 2022 03:11:55 +0000 (03:11 +0000)]
Merge "Remove entries irrelevant for Tizen" into devel
zhang zhigang [Wed, 14 Dec 2022 03:11:37 +0000 (03:11 +0000)]
Merge "Print dependency expansion debug messages to STDERR" into devel
biao716.wang [Thu, 8 Dec 2022 02:47:46 +0000 (11:47 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: Idc73825b8f6f659f6290cbfcb49961f97812ea41
biao716.wang [Thu, 8 Dec 2022 02:18:25 +0000 (11:18 +0900)]
update tizen version to tizen20221207
Change-Id: I2c894b630509e26b573c3f9d6301b97e51cdee13
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 7 Dec 2022 03:36:15 +0000 (12:36 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I5b092cfe31c5af9762a54a66686828838ae7b2e5
Łukasz Stelmach [Wed, 30 Nov 2022 21:01:36 +0000 (22:01 +0100)]
Add binfmt entry for RISC-V
Change-Id: I1221a830f61d6637d33a0800fbfbf7bf1a869513
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Wed, 30 Nov 2022 23:20:16 +0000 (00:20 +0100)]
Check for file existence instead of executability
Files under /proc/sys/fs/binfmt_misc are never executable.
Change-Id: I05bd61a03f09d5bb150f97b0ffd4c49e49ebdd69
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Wed, 30 Nov 2022 23:03:25 +0000 (00:03 +0100)]
Always report missing interpreters
Change-Id: I3c6228d4e41758cb4b40942b825eb5be2d4da1d6
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Wed, 30 Nov 2022 22:33:04 +0000 (23:33 +0100)]
Remove entries irrelevant for Tizen
Change-Id: I9c6e72239fc7d32055c36546c9543595b8821fe8
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Fri, 6 May 2022 11:36:31 +0000 (13:36 +0200)]
Print dependency expansion debug messages to STDERR
Change-Id: Ib46da61c550b3a5b82612d79ccdcd5561d7c9ee3
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
biao716.wang [Thu, 24 Nov 2022 06:18:12 +0000 (15:18 +0900)]
ignore reorder packages list during cumulative build
Change-Id: I105d8e1f2da1b03ec94c89a92437e066d147b9eb
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Tue, 20 Sep 2022 05:51:36 +0000 (14:51 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I03b5f1ec747d2e61c184fb1d7dfa6749b87bcbe0
biao716.wang [Wed, 3 Aug 2022 08:15:29 +0000 (17:15 +0900)]
update tizen version to tizen20220803
Change-Id: I925f2447245f2e8b47e5a65a0f8eb234f4ca53dd
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 3 Aug 2022 06:18:01 +0000 (15:18 +0900)]
retry 3 times to download once failing to download
Change-Id: Ifba958d5a69746fe44c8beb874ba93516cb5b8cc
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Mon, 1 Aug 2022 02:22:13 +0000 (11:22 +0900)]
Add logic to re-downloading packages in reorder step if some packages is missed!
https://github.sec.samsung.net/RS-tizen-build/issues/issues/920
Change-Id: I4ca5d1515ecb9d0e1e89e70242e4ccf690e9b445
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 8 Jul 2022 08:56:49 +0000 (17:56 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: Ic0e6c2512b963f4c0c1a3abb89fd25eb322bdc2a
biao716.wang [Tue, 5 Jul 2022 02:24:59 +0000 (11:24 +0900)]
update tizen version to tizen20220421
Change-Id: Id93dc89b7fde428776b3ee5ea811d5af7b732f57
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Fri, 24 Jun 2022 12:03:16 +0000 (21:03 +0900)]
fix gbs build error: https://github.sec.samsung.net/RS-tizen-build/issues/issues/913
THis issue is caused that some variables are not re-intialized after used in while loop.
refer to .srcfiles.cache file, linux-kernel-perf info is just before linux-tizen-modules-headers,
and linux-tizen-modules-headers has no require info, it will use the last cache in $pkgR.
Change-Id: I874eca19e99d707b2971c618dd3e37c0bfefeeba
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 27 Apr 2022 02:52:03 +0000 (11:52 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: Ib09f8f5b6e8a3f04c09884d532fc8a860b8bcb05
wang biao [Thu, 21 Apr 2022 05:28:46 +0000 (13:28 +0800)]
update tizen version to tizen20220421
Change-Id: I14671782cae27f5914d1a93617a2af48fa2894de
Signed-off-by: wang biao <biao716.wang@samsung.com>
wang biao [Fri, 8 Apr 2022 08:57:19 +0000 (16:57 +0800)]
Fix multiple mount issue
Change-Id: I6c5fa606cc7e706a461a7df8a9907b1a6de1c51f
Signed-off-by: wang biao <biao716.wang@samsung.com>
biao716.wang [Wed, 16 Mar 2022 12:04:05 +0000 (21:04 +0900)]
Fix umount issue on Ubuntu20.04
When update Ubuntu version to 20.04, After first gbs build, for some kind reason
During the second gbs build , it will have umount issue:
error: there're mounted directories to build root. Please unmount them manually to avoid being deleted unexpectly:
/ ==> ~/GBS-ROOT/XXX/local/BUILD-ROOTS/scratch.armv7l.0/proc/sys/fs/binfmt_misc
So using umount option -l for lazy umount can fix this issue.
Change-Id: I5f4ea680fefcc38cd9dce30dfa458710c086a399
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Wed, 10 Nov 2021 09:54:53 +0000 (18:54 +0900)]
Merge related patch for zstd function
https://github.com/openSUSE/obs-build/commit/
e920b8708e0fe52f08c5619f872d6f8358f68ad2
https://github.com/openSUSE/obs-build/commit/
c87192215fab9474cb910638b54396a5d38c0fdd
https://github.com/openSUSE/obs-build/commit/
18a35a8096fffa1f41e29e540d7de47ecd999ec0
Change-Id: I5c7bd8bd378377504b43d4468f36d92430384284
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
biao716.wang [Sat, 4 Sep 2021 09:01:25 +0000 (18:01 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I7040cf26129d1195e593126be125efcdeab2a181
biao716.wang [Tue, 24 Aug 2021 15:52:25 +0000 (00:52 +0900)]
update tizen version to tizen20210823
Change-Id: Ib552ed234ce7ea812fd586e8e0ea669a11e899b9
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Hyunggi Lee [Mon, 2 Aug 2021 01:35:51 +0000 (10:35 +0900)]
Fix VMInstall package is not installed
problem
gbs build -A armv7l --kvm
[ 16s] [38/41] preinstalling util-linux-su...
[ 16s] [39/41] preinstalling nss...
[ 16s] [40/41] preinstalling libsoftokn3...
[ 16s] [41/41] preinstalling rpm...
[ 16s]
[ 16s] binary not found: libext2fs
[ 16s] exit ...
In project.conf
VMinstall: perl libmount libblkid libext2fs libuuid grep libpcre util-linux libsmartcols procps-ng
but it is not installed.
When performing expanddeps, the --vm option is missing.
so it is not installed.
Add to option
Change-Id: Ie238163125e3836f403ad55eee0dc76a3d23850c
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
Hyunggi Lee [Mon, 2 Aug 2021 01:25:21 +0000 (10:25 +0900)]
Fix kvm support in Ubuntu
In Ubuntu, there is no qemu-kvm, only kvm executable.
check qemu-kvm, and kvm executable file.
qemu options has changed.
problem:
[ 129s] qemu-system-x86_64: -drive file=/home/hglee/GBS-ROOT/t65std/local/BUILD-ROOTS/scratch.armv7l.0.img,format=raw,if=none,id=disk,serial=1,cache=unsafe: Block format 'raw' does not support the option 'serial'
fix serial option
ref:
- https://github.com/openSUSE/obs-build/commit/
2514958e1d6af6c10515eea995ae03b01a9b762c
Change-Id: I32c51a923b25cb25f6ec1551a3b73e66f3f782e6
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
biao716.wang [Wed, 14 Jul 2021 13:18:20 +0000 (22:18 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I708266f00e362c29a664af4211d02a42c9076949
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>
zhang zhigang [Fri, 9 Jul 2021 07:42:23 +0000 (07:42 +0000)]
Merge "Use ccache.tar file with --pkg-ccache option" 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
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>
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>
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>
biao716.wang [Fri, 14 May 2021 07:23:06 +0000 (16:23 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I39a7da061038866dcc539b9a5585da9d7b44b28d
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>
biao716.wang [Sat, 8 May 2021 07:41:22 +0000 (16:41 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: If69a74e840cc9ac3cc17cc30792b209fc06201ee
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>
biao716.wang [Tue, 27 Apr 2021 05:59:17 +0000 (14:59 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I05db69f3e07bc5ae6b0bafb94402dfdee7394f19
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>
biao716.wang [Thu, 25 Mar 2021 02:52:44 +0000 (11:52 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: Ifc214f4222b4a45eeea63e8f2cec8fe9a7866b1a
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>
biao716.wang [Tue, 23 Mar 2021 05:22:01 +0000 (14:22 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: Ia47035c9737bfa441a33682e2c31e1b222a3a21b
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>
biao716.wang [Fri, 4 Dec 2020 05:42:42 +0000 (14:42 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I51db1ed2d01c84665d5492708fb029b47558c76b
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>
biao716.wang [Thu, 3 Dec 2020 06:31:53 +0000 (15:31 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: Ib9b90966826ed8e020f53af9b42e0056bf3c3f9e
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>
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>
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>
biao716.wang [Thu, 23 Jul 2020 06:10:55 +0000 (15:10 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: If1fa9d261dce4c2639d2298f5088747422e9e403
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>
biao716.wang [Tue, 21 Jul 2020 02:42:48 +0000 (11:42 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I4e628a40ccc6472556eaeda96886c98a106a7349
park [Tue, 7 Jul 2020 01:47:46 +0000 (01:47 +0000)]
Merge "remove unused directory at the end of build step" into devel
biao716.wang [Fri, 19 Jun 2020 03:40:01 +0000 (12:40 +0900)]
Merge remote-tracking branch 'origin/devel'
Change-Id: I0234f932660c967ad6be1c9ec8661de5ee2ba9bf
yan11.meng [Thu, 18 Jun 2020 03:04:17 +0000 (11:04 +0800)]
update denpendencies version
Change-Id: I1f143a55e2ff00339e3eec94d98434010178d08f
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>
biao716.wang [Tue, 19 May 2020 08:07:24 +0000 (17:07 +0900)]
Merge branch 'devel'
Change-Id: I35531f2800ac5ec73ee0845db313fcb29dd15a78
Chunhua Liu [Tue, 19 May 2020 08:01:52 +0000 (08:01 +0000)]
Merge "update tizen version to tizen20200519" into devel
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>
biao716.wang [Sat, 4 Apr 2020 07:57:56 +0000 (16:57 +0900)]
Merge branch 'devel'
Change-Id: I66e23c63fe87ad058a12ebb26057a77fd372416c
yan11.meng [Tue, 24 Mar 2020 02:13:06 +0000 (11:13 +0900)]
remove --replacefile option in build-pkg-rpm
Change-Id: I1401963e1aa1a864cd5962a77e80fb0cc256fe3b
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>
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>
biao716.wang [Wed, 28 Aug 2019 09:04:12 +0000 (17:04 +0800)]
revert change about copylinkedpackages option
Change-Id: I0e9ba6be10becd7cc322c01ae124ebdf831c1101
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>