From: Peter Palfrader Date: Mon, 31 Mar 2014 18:10:03 +0000 (+0200) Subject: Set up armhf porting chroots on armel hosts X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=1806a0c50edb73954c614b9ad5921a125eab08d4 Set up armhf porting chroots on armel hosts --- diff --git a/modules/porterbox/files/setup-all-dchroots b/modules/porterbox/files/setup-all-dchroots index 15044f77..23867bb9 100755 --- a/modules/porterbox/files/setup-all-dchroots +++ b/modules/porterbox/files/setup-all-dchroots @@ -53,6 +53,11 @@ case "$DPKGARCH" in armhf) archs="$archs armel" ;; + armel) + if [ "$(uname -m)" = "armv7l" ] && grep -w vfpv3 -q /proc/cpuinfo ; then + archs="$archs armhf" + fi + ;; s390|s390x) archs="s390 s390x" ;;