From 8a4cf9297872f7d2cb6dcb1f83665032d6f66ac6 Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Wed, 28 Aug 2024 17:19:49 +0900 Subject: Fix to continue remaining .pc file process on error In build for arch x86_64, the below pkgconfig from libdrm-rs.xml is processed. libdrm.pc libdrm_exynos.pc libdrm_vc4.pc libdrm_vigs.pc 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 --- script/rootstrap_gen_1.0.sh | 2 +- 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} -- cgit v1.2.3