Skip to content

Commit

Permalink
Fix package build script
Browse files Browse the repository at this point in the history
  • Loading branch information
f0reachARR committed Mar 28, 2024
1 parent bc13b40 commit bdd24ee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions buildroot/scripts/debian.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdd24ee

Please sign in to comment.