mk-sbuild: Set personality=linux32 on armel/armhf

This commit is contained in:
Colin Watson 2019-06-04 11:07:10 +01:00
parent f9c4aeaae1
commit ae9c80de37
2 changed files with 14 additions and 4 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
ubuntu-dev-tools (0.169) UNRELEASED; urgency=medium
* mk-sbuild:
+ Set personality=linux32 by default on armel and armhf as well.
-- Colin Watson <cjwatson@ubuntu.com> Tue, 04 Jun 2019 10:50:06 +0100
ubuntu-dev-tools (0.168) eoan; urgency=medium
* grep-merges: flake8-clean.

View File

@ -120,10 +120,13 @@ while :; do
;;
--arch)
CHROOT_ARCH="$2"
if [ "$2" = "i386" ] || [ "$2" = "lpia" ] && [ -z "$personality" ];
then
personality="linux32"
fi
case $2 in
armel|armhf|i386|lpia)
if [ -z "$personality" ]; then
personality="linux32"
fi
;;
esac
shift 2
;;
--personality)