From bdd24eee07b5e603be0321ba1bfaa9738ae70d22 Mon Sep 17 00:00:00 2001 From: f0reachARR Date: Thu, 28 Mar 2024 20:43:30 +0900 Subject: [PATCH] Fix package build script --- buildroot/scripts/debian.bash | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/buildroot/scripts/debian.bash b/buildroot/scripts/debian.bash index 9b06cf0..ca21360 100644 --- a/buildroot/scripts/debian.bash +++ b/buildroot/scripts/debian.bash @@ -18,6 +18,13 @@ colcon --log-base /dev/null list -t -n | awk '{ pkg = $1; gsub("_", "-", pkg); p cat /tmp/rosdep.yaml echo "yaml file:///tmp/rosdep.yaml" | sudo tee /etc/ros/rosdep/sources.list.d/50-my-packages.list -a +if [ -d /mimic-cross && -d /etc/apt/auth.conf.d/ ]; then + cp -r /etc/apt/auth.conf.d/. /mimic-cross/etc/apt/auth.conf.d/ || true +fi +if [ -d /mimic-cross && -d /etc/apt/keyrings.d/ ]; then + cp -r /etc/apt/keyrings.d/. /mimic-cross/etc/apt/keyrings.d/ || true +fi + # Expected `rosdep init` has been done in the base image apt-get update rosdep update