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.
parent
503b8b81df
commit
0902ffefb3
@ -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…
Reference in new issue