002-add-foreign-kernel.chroot_early: enable amd64 as a foreign arch on i386 image builds, since this is where the kernel comes from henceforth.

amd64-kernel-on-i386
Steve Langasek 5 years ago
parent 503b8b81df
commit 0902ffefb3

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.614) UNRELEASED; urgency=medium
* 002-add-foreign-kernel.chroot_early: enable amd64 as a foreign arch on
i386 image builds, since this is where the kernel comes from henceforth.
-- Steve Langasek <steve.langasek@ubuntu.com> Wed, 02 Oct 2019 15:58:42 -0700
livecd-rootfs (2.613) eoan; urgency=medium
* 999-ubuntu-image-customization.chroot: use IMAGEFORMAT=none for the checks

@ -0,0 +1,12 @@
#!/bin/sh
set -ex
echo "I: Checking if we are i386 and amd64 architecture should be enabled"
if [ "$(dpkg --print-architecture)" = "i386" ]; then
echo "I: Enabling amd64 multiarch support on i386"
dpkg --add-architecture amd64
apt-get -y update
fi
Loading…
Cancel
Save