This commit is contained in:
Oleg Kalachev
2022-10-06 23:23:21 +06:00
parent 71d3144691
commit 123379b60e

View File

@@ -18,7 +18,7 @@ set -ex # exit on error, echo commands
ROS_DISTRO=noetic
. /etc/os-release # set $VERSION_CODENAME to Debian release code name
export ROS_OS_OVERRIDE=debian:$VERSION_CODENAME
export ROS_OS_OVERRIDE=debian:11:$VERSION_CODENAME
echo "=== Building ROS from scratch"
@@ -85,7 +85,7 @@ apt-get install -y python3-bloom debhelper dpkg-dev
for file in `find . -name "package.xml" -not -path "*/debian/*"`; do
cd $(dirname ${file})
rm -rf debian
bloom-generate rosdebian --ros-distro $ROS_DISTRO
bloom-generate rosdebian --os-name debian --os-version $VERSION_CODENAME --ros-distro $ROS_DISTRO
fakeroot debian/rules binary
cd -
done