@@ -14,11 +14,6 @@ ici_append INSTALL_HOST_GPG_KEYS "sudo apt-key adv --keyserver keyserver.ubuntu.
1414ici_append EXTRA_HOST_SOURCES " deb http://ppa.launchpad.net/v-launchpad-jochen-sprickerhof-de/sbuild/ubuntu jammy main"
1515ici_cmd restrict_src_to_packages " release o=v-launchpad-jochen-sprickerhof-de" " mmdebstrap sbuild"
1616
17- # ROS for python3-rosdep, python3-colcon-*
18- ros_key_file=" /etc/apt/keyrings/ros-archive-keyring.gpg"
19- ici_append INSTALL_HOST_GPG_KEYS " sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o $ros_key_file "
20- ici_append EXTRA_HOST_SOURCES " deb [signed-by=$ros_key_file ] http://packages.ros.org/ros2/ubuntu $( lsb_release -cs) main"
21-
2217# Configure sources
2318ici_hook INSTALL_HOST_GPG_KEYS
2419ici_timed " Configure EXTRA_HOST_SOURCES" configure_extra_host_sources
@@ -30,19 +25,18 @@ echo apt-cacher-ng apt-cacher-ng/tunnelenable boolean true | ici_asroot debconf-
3025
3126# Install packages on host
3227DEBIAN_FRONTEND=noninteractive ici_timed " Install build packages" ici_cmd " ${APT_QUIET[@]} " ici_apt_install \
33- mmdebstrap sbuild schroot devscripts ccache apt-cacher-ng python3-pip python3-rosdep libxml2-utils libarchive-tools \
34- python3-colcon-package-information python3-colcon-package-selection python3-colcon-ros python3-colcon-cmake \
35- python3-stdeb python3-all dh-python build-essential
28+ mmdebstrap sbuild schroot devscripts ccache apt-cacher-ng python3-pip libxml2-utils libarchive-tools \
29+ debhelper python3-all dh-python build-essential
3630
31+ export PIP_BREAK_SYSTEM_PACKAGES=1
3732# Install patched bloom to handle ROS "one" distro key when resolving python and ROS version
3833ici_timed " Install bloom" ici_asroot pip install -U git+https://github.com/rhaschke/bloom.git@ros-one
3934# Install patched vcstool to allow for treeless clones
4035ici_timed " Install vcstool" ici_asroot pip install -U git+https://github.com/rhaschke/vcstool.git@master
41-
42- # Remove ros2 package repository, now that rosdep and colcon are installed
43- # This repo might have newer versions, e.g. of colcon, than the ones to be built
44- ici_asroot sed -i ' /packages.ros.org\/ros2\/ubuntu/d' " $REPOS_LIST_FILE "
45- ici_timed " Update apt package list" ici_asroot apt-get update
36+ # Install latest stdeb
37+ ici_timed " Install stdeb" ici_asroot pip install -U git+https://github.com/astraw/stdeb@master
38+ # Install colcon and rosdep from pypi
39+ ici_timed " Install rosdep and colcon" ici_asroot pip install -U rosdep colcon-package-information colcon-package-selection colcon-ros colcon-cmake
4640
4741# remove existing rosdep config to avoid conflicts with rosdep init
4842ici_asroot rm -f /etc/ros/rosdep/sources.list.d/20-default.list
0 commit comments