From 95829907d1cad386706eb19e5c9542125c3c3664 Mon Sep 17 00:00:00 2001 From: Atsushi Watanabe Date: Fri, 19 Jul 2024 11:14:07 +0900 Subject: [PATCH] Split dev packages on 3.20 (#87) --- update-repo.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/update-repo.sh b/update-repo.sh index ae441c9..62a4421 100755 --- a/update-repo.sh +++ b/update-repo.sh @@ -11,6 +11,15 @@ done shift $((OPTIND - 1)) +generate_opts= +case "${ALPINE_VERSION}" in + 3.20) + generate_opts="${generate_opts} --split-dev" + ;; + *) + ;; +esac + aports_dir=aports/v${ALPINE_VERSION}/ros/${ROS_DISTRO} # env vars: @@ -114,7 +123,7 @@ rosinstall_generator --deps --wet-only --flat ${package_list} --rosdistro ${ros_ echo $pkgname ${aports_dir}/${aportname}/APKBUILD >&2 fi done \ - | generate-rospkg-apkbuild-multi ${ros_distro} + | generate-rospkg-apkbuild-multi ${ros_distro} ${generate_opts} # Commit changes and create PullRequest