This commit is contained in:
Oleg Kalachev
2022-10-05 17:45:49 +06:00
parent 1d514cf5ca
commit d306a9d96d

View File

@@ -81,17 +81,12 @@ set -x
echo "--- Build Debian packages"
apt-get install -y python3-bloom debhelper dpkg-dev
LOG="$(pwd)/deb.log" # output to stdout causes 'Inappropriate ioctl for device' error
for file in `find . -name "package.xml" -not -path "*/debian/*"`; do
echo "===================================================="
echo ${file}
cd $(dirname ${file})
rm -rf debian
echo "===================================================="
bloom-generate rosdebian --os-name debian --os-version $VERSION_CODENAME --ros-distro $ROS_DISTRO &>> $LOG
fakeroot debian/rules binary &>> $LOG
bloom-generate rosdebian --os-name debian --os-version $VERSION_CODENAME --ros-distro $ROS_DISTRO
fakeroot debian/rules binary
cd -
done