forked from nasa/astrobee
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional patches for Ubuntu 20 (nasa#627)
* Update Ubuntu 20 armhf patches * Move debian creation to a separate directory * Add patch for boringssl * Add patch for fastboot * Update cmake build scripts to the latest version for focal CMake maintainers released an updated version of the debian we base from. This new version overrides ours because of naming conventions. Therefore we must rebase our debian generation script. * Add script to compile armhf custom debians We do not need to get dependencies when in chroot since everything is provided. This is a strip-down version of the build_install_debians script. * Set LANG so perl does not complain all the time on chroot * Add OpenCV patch to handle log escape char issue Somehow this was not added to the initial commit for Ubuntu 20 support. Fixing that mistake now. * Add more patches for cmake compilation * Fix a compilation issue caused by git backporting a new security feature * Fix a few tests that were failing on qemu chroot * Skip one test that can only be fixed by recompiling yet another package * Add generic build_debians script It supports building only, building and installing, or building and installing with dependencies on both amd64 and armhf. * Update readme to explain how to build debians on chroot * Replace references to make_xenial with make_chroot * Use the new repo to get our custom debians * Update path for astrobee key * Minor doc updates * Bind ssh tunnel to localhost * Minor updates to changelog to make lintian happy * Remove unnecessary .dir files * Add dh lintian overrides * Add more lintian compliance updates * Check for errors * Reference license * Add localization_analysis headers to install Needed for our amd64 debian build * Update Astrobee Debian packaging * Add support for Ubuntu 16 and 20 * Clean up rules file and adapt to catkin (as possible) * Support armhf, config only, and amd64 builds * Adaptive control file * Adaptive install file * Update build_debian.sh to support Ubuntu 16 and 20, plus amd64 * Update for compatibility with Ubuntu 16 * Change python2 dependency to python for Ubuntu xenial * Add traj_opt_ros to install * Make sure we are extending only what we need This also avoids conflicts between native and debian_native profiles * Change buid_debian argument from --amd64 to --native * Move Ubuntu 20 patches out of this repo. * Update platform submodule pointer --------- Co-authored-by: Ruben Garcia <[email protected]>
- Loading branch information
1 parent
e5dba41
commit ee6727b
Showing
30 changed files
with
316 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This will actually have no effect on lintian because of the current profile | ||
# settings for this vendor (ubuntu). If you want to ignore these errors | ||
# you must modify the following file: /usr/share/lintian/profiles/ubuntu/main.profile | ||
# | ||
# Add to the end: | ||
# | ||
# Overridable: yes | ||
# Tags: dir-or-file-in-opt, | ||
# | ||
# See https://bugs.launchpad.net/ubuntu/+source/lintian/+bug/824122 for more. | ||
|
||
dir-or-file-in-opt | ||
|
||
# Ignore until we figure out how to use shlibs on chroot | ||
missing-dependency-on-libc |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# See astrobee-comms.lintian-overrides for details | ||
dir-or-file-in-opt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# See astrobee-comms.lintian-overrides for details | ||
dir-or-file-in-opt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# See astrobee-comms.lintian-overrides for details | ||
dir-or-file-in-opt | ||
# Ignore until we figure out how to use shlibs on chroot | ||
missing-dependency-on-libc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,7 +107,7 @@ astrobee (0.14.1) testing; urgency=medium | |
* Bug fixes | ||
* Note, Perching does not work in this release, use another version for this. | ||
|
||
-- Astrobee Flight Software <[email protected]> Wed, 03 Mar 2021 14:55:02 -0800 | ||
-- Astrobee Flight Software <[email protected]> Wed, 03 Mar 2021 14:55:02 -0800 | ||
|
||
astrobee (0.14.0) testing; urgency=medium | ||
|
||
|
@@ -130,7 +130,7 @@ astrobee (0.13.0) testing; urgency=medium | |
* Cross compiling with docker | ||
* Various other minor fixes | ||
|
||
-- Astrobee Flight Software <[email protected]> Fri, 15 Jan 2021 10:37:25 -0800 | ||
-- Astrobee Flight Software <[email protected]> Fri, 15 Jan 2021 10:37:25 -0800 | ||
|
||
astrobee (0.12.0) testing; urgency=medium | ||
|
||
|
@@ -215,7 +215,7 @@ astrobee (0.9.3) testing; urgency=medium | |
associated logging and fault generation) | ||
* Re-positioned the dock location on ISS from the mapping activity. | ||
|
||
-- Astrobee Developer <astrobee@avm> Mon, 08 Jul 2019 18:33:16 -0700 | ||
-- Astrobee Flight Software <astrobee[email protected]> Mon, 08 Jul 2019 18:33:16 -0700 | ||
|
||
astrobee (0.9.2) testing; urgency=medium | ||
|
||
|
@@ -232,7 +232,7 @@ astrobee (0.9.1) testing; urgency=medium | |
* Camera driver double buffer fix | ||
* As usual, other bug fixes too | ||
|
||
-- Astrobee Developer <astrobee@avm> Wed, 29 May 2019 10:18:34 -0700 | ||
-- Astrobee Flight Software <astrobee[email protected]> Wed, 29 May 2019 10:18:34 -0700 | ||
|
||
astrobee (0.8.0) testing; urgency=medium | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: astrobee | ||
Source: <url://example.com> | ||
Source: https://github.com/nasa/astrobee | ||
|
||
Files: * | ||
Copyright: 2017 Astrobee Team <[email protected]> | ||
|
@@ -26,4 +26,7 @@ Files: debian/* | |
Copyright: 2017 Astrobee Team <[email protected]> | ||
License: Apache-2 | ||
|
||
On Debian systems, the complete text of the Apache License, Version 2 | ||
can be found in "/usr/share/common-licenses/Apache-2.0". | ||
|
||
License: Apache-2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,27 @@ | ||
#!/bin/bash | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
DIST=$(. /etc/os-release && echo $UBUNTU_CODENAME) | ||
|
||
if [ -n "$(git status --porcelain)" ]; then | ||
echo "You should not build Debians for a dirty source tree!" | ||
echo "Make sure all your changes are committed AND pushed to the server..." | ||
exit -1 | ||
fi | ||
|
||
EXTRA_FLAGS="-b -a armhf" | ||
EXTRA_FLAGS="-b -aarmhf" | ||
|
||
# In some cases we may want to build for amd64 (e.g. astrobee-comms for users) | ||
if [[ $* == *--native* ]]; then | ||
EXTRA_FLAGS="-b" | ||
fi | ||
|
||
if [[ $* == *--config* ]]; then | ||
EXTRA_FLAGS="-A" | ||
fi | ||
|
||
pushd $DIR/../.. | ||
export CMAKE_TOOLCHAIN_FILE=${DIR}/ubuntu_cross.cmake | ||
DEB_BUILD_OPTIONS="parallel=20" debuild -e ARMHF_CHROOT_DIR -e ARMHF_TOOLCHAIN -e CMAKE_TOOLCHAIN_FILE -e CMAKE_PREFIX_PATH -us -uc $EXTRA_FLAGS | ||
DEBEMAIL="[email protected]" DEBFULLNAME="Astrobee Flight Software" dch -l"+$DIST" -D"$DIST" "Set distribution '$DIST' for local build" | ||
debuild -e ARMHF_CHROOT_DIR -e ARMHF_TOOLCHAIN -e CMAKE_TOOLCHAIN_FILE -e CMAKE_PREFIX_PATH -e ROS_DISTRO -e ROS_PYTHON_VERSION -us -uc $EXTRA_FLAGS | ||
git checkout debian/changelog | ||
popd > /dev/null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.