Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ic0e6c2512b963f4c0c1a3abb89fd25eb322bdc2a
|
|
Change-Id: Id93dc89b7fde428776b3ee5ea811d5af7b732f57
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
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>
|
|
Change-Id: Ib09f8f5b6e8a3f04c09884d532fc8a860b8bcb05
|
|
Change-Id: I14671782cae27f5914d1a93617a2af48fa2894de
Signed-off-by: wang biao <biao716.wang@samsung.com>
|
|
Change-Id: I6c5fa606cc7e706a461a7df8a9907b1a6de1c51f
Signed-off-by: wang biao <biao716.wang@samsung.com>
|
|
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>
|
|
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>
|
|
Change-Id: I7040cf26129d1195e593126be125efcdeab2a181
|
|
Change-Id: Ib552ed234ce7ea812fd586e8e0ea669a11e899b9
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
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>
|
|
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>
|
|
Change-Id: I708266f00e362c29a664af4211d02a42c9076949
|
|
Change-Id: I7fd5e79c6f4a945104850413fd622fef96a91b4c
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I39a7da061038866dcc539b9a5585da9d7b44b28d
|
|
Change-Id: If2bbf1ce40b9105517b10addc9738bd549daf205
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: If69a74e840cc9ac3cc17cc30792b209fc06201ee
|
|
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>
|
|
Change-Id: I05db69f3e07bc5ae6b0bafb94402dfdee7394f19
|
|
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>
|
|
Change-Id: Ifc214f4222b4a45eeea63e8f2cec8fe9a7866b1a
|
|
Change-Id: I586e402ef72715821486244147365fc2ce31e15e
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: Ia47035c9737bfa441a33682e2c31e1b222a3a21b
|
|
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>
|
|
Change-Id: I51db1ed2d01c84665d5492708fb029b47558c76b
|
|
Change-Id: Id8b5b95d6f4ac7f3a82280ec0963e12ba2b715bd
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
|
|
Change-Id: Ib9b90966826ed8e020f53af9b42e0056bf3c3f9e
|
|
Change-Id: I93a2f189996c1cee7e0f0405faffce6392eb03c0
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: I8d3b55144ec94f6bd1fbd0162548f814eb8a569d
Signed-off-by: jiankang.fan <jiankang.fan@samsung.com>
|
|
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>
|
|
Change-Id: If1fa9d261dce4c2639d2298f5088747422e9e403
|
|
Change-Id: I1f639849310abc7e1fa1f71a99ac2388ae29e024
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: I4e628a40ccc6472556eaeda96886c98a106a7349
|
|
|
|
Change-Id: I0234f932660c967ad6be1c9ec8661de5ee2ba9bf
|
|
Change-Id: I1f143a55e2ff00339e3eec94d98434010178d08f
|
|
Change-Id: Ia96bfa9808fce5582dccaf9ca712b3e56f4a7fba
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: I35531f2800ac5ec73ee0845db313fcb29dd15a78
|
|
|
|
Change-Id: I99a7052cf07cab73fb64284e88e95747c48b0d6f
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: I66e23c63fe87ad058a12ebb26057a77fd372416c
|
|
Change-Id: I1401963e1aa1a864cd5962a77e80fb0cc256fe3b
|
|
merge devel to master
Change-Id: I38f2b309ece22640a55e582381327911b13c541a
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: Idd464c61457caa302483a33f33392e7f1469fc30
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
|
|
Change-Id: I0e9ba6be10becd7cc322c01ae124ebdf831c1101
|