diff options
author | Youngjae Cho <y0.cho@samsung.com> | 2024-08-28 17:19:49 +0900 |
---|---|---|
committer | Youngjae Cho <y0.cho@samsung.com> | 2024-08-28 17:33:18 +0900 |
commit | 8a4cf9297872f7d2cb6dcb1f83665032d6f66ac6 (patch) | |
tree | f8f946b63d18455a158fe87bf844aac2d7fa729d | |
parent | 0917988f6db1b1ef1b91d33eda372aaf22486371 (diff) | |
download | rootstrap-8a4cf9297872f7d2cb6dcb1f83665032d6f66ac6.tar.gz rootstrap-8a4cf9297872f7d2cb6dcb1f83665032d6f66ac6.tar.bz2 rootstrap-8a4cf9297872f7d2cb6dcb1f83665032d6f66ac6.zip |
Fix to continue remaining .pc file process on errortizen_9.0_m2_releaseaccepted/tizen/unified/x/asan/20241014.000552accepted/tizen/unified/x/20240829.105236accepted/tizen/unified/toolchain/20241004.102144accepted/tizen/unified/dev/20240901.214759accepted/tizen/unified/20240829.091444accepted/tizen/9.0/unified/20241030.234405accepted/tizen_unified_x_asanaccepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unified_dev
In build for arch x86_64, the below pkgconfig from libdrm-rs.xml is
processed.
<pkgconfig>
<file>libdrm.pc</file>
<file>libdrm_exynos.pc</file>
<file>libdrm_vc4.pc</file>
<file>libdrm_vigs.pc</file>
</pkgconfig>
Unfortunately, there is no libdrm_vc4.pc and script emits the below log.
[rootstrap_gen_1.0_64.sh:153] + no pkgconfig file(//usr/lib64/pkgconfig/libdrm_vc4.pc)
This gives up the remaining process, and as a result, the libdrm_vigs.pc
will be missing. Therefore, fix it to continue the remaining process.
Change-Id: I6077707008e0883089cd6ab734bfe95307cd26c7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
-rwxr-xr-x | script/rootstrap_gen_1.0.sh | 2 | ||||
-rwxr-xr-x | script/rootstrap_gen_1.0_64.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/script/rootstrap_gen_1.0.sh b/script/rootstrap_gen_1.0.sh index 113f077..7978770 100755 --- a/script/rootstrap_gen_1.0.sh +++ b/script/rootstrap_gen_1.0.sh @@ -151,7 +151,7 @@ function copy_package_config() if [[ ! -f "${src_pc_file_path}" ]]; then log "+ no pkgconfig file(${src_pc_file_path})" - return 1 + continue fi mkdir -p ${dest_pc_path} diff --git a/script/rootstrap_gen_1.0_64.sh b/script/rootstrap_gen_1.0_64.sh index 6eee14e..a5d3d11 100755 --- a/script/rootstrap_gen_1.0_64.sh +++ b/script/rootstrap_gen_1.0_64.sh @@ -151,7 +151,7 @@ function copy_package_config() if [[ ! -f "${src_pc_file_path}" ]]; then log "+ no pkgconfig file(${src_pc_file_path})" - return 1 + continue fi mkdir -p ${dest_pc_path} |