summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2024-08-28 17:19:49 +0900
committerYoungjae Cho <y0.cho@samsung.com>2024-08-28 17:33:18 +0900
commit8a4cf9297872f7d2cb6dcb1f83665032d6f66ac6 (patch)
treef8f946b63d18455a158fe87bf844aac2d7fa729d
parent0917988f6db1b1ef1b91d33eda372aaf22486371 (diff)
downloadrootstrap-8a4cf9297872f7d2cb6dcb1f83665032d6f66ac6.tar.gz
rootstrap-8a4cf9297872f7d2cb6dcb1f83665032d6f66ac6.tar.bz2
rootstrap-8a4cf9297872f7d2cb6dcb1f83665032d6f66ac6.zip
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-xscript/rootstrap_gen_1.0.sh2
-rwxr-xr-xscript/rootstrap_gen_1.0_64.sh2
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}