Skip to content

Commit

Permalink
Check precondition for rosdep
Browse files Browse the repository at this point in the history
  • Loading branch information
f0reachARR committed Sep 16, 2024
1 parent ee11e70 commit d6546e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion buildroot/Dockerfile.cross
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN --mount=type=cache,target=/var/lib/apt,sharing=private apt-get update && \
python3-vcstool git python3-colcon-common-extensions python3-colcon-mixin python3-rosdep \
python3-bloom python3-pip fakeroot \
debhelper git gpg dh-python && \
rosdep init
if [ ! -f /etc/ros/rosdep/sources.list.d/20-default.list ]; then rosdep init; fi

RUN mkdir -p /tmp/ws/meta
COPY ${PACKAGE_XML} /tmp/ws/meta/package.xml
Expand Down
2 changes: 1 addition & 1 deletion buildroot/Dockerfile.native
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN --mount=type=cache,target=/var/lib/apt,sharing=private apt-get update && \
python3-vcstool git python3-colcon-common-extensions python3-colcon-mixin python3-rosdep \
python3-bloom python3-pip fakeroot \
debhelper git gpg dh-python && \
rosdep init
if [ ! -f /etc/ros/rosdep/sources.list.d/20-default.list ]; then rosdep init; fi

RUN mkdir -p /tmp/ws/meta
COPY ${PACKAGE_XML} /tmp/ws/meta/package.xml
Expand Down

0 comments on commit d6546e9

Please sign in to comment.