Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
f0reachARR committed Mar 28, 2024
1 parent bdd24ee commit 2963b9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions buildroot/scripts/debian.bash
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ 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
if [ -d /mimic-cross ]; 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

Expand Down
2 changes: 1 addition & 1 deletion buildroot/scripts/entrypoint.bash
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ source /opt/ros/${ROS_DISTRO}/setup.bash
# Create deb or colcon build
if [ "$1" = 'deb' ]; then
if [ -n "$INPUT_PRE_SCRIPT" ]; then
bash -c "$INPUT_PRE_SCRIPT"
bash -c "$INPUT_PRE_SCRIPT" || true
fi
bash /scripts/debian.bash
elif [ "$1" = 'bash' ]; then
Expand Down

0 comments on commit 2963b9e

Please sign in to comment.