mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-07 16:11:38 +00:00
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.
This commit is contained in:
parent
503b8b81df
commit
0902ffefb3
7
debian/changelog
vendored
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
|
livecd-rootfs (2.613) eoan; urgency=medium
|
||||||
|
|
||||||
* 999-ubuntu-image-customization.chroot: use IMAGEFORMAT=none for the checks
|
* 999-ubuntu-image-customization.chroot: use IMAGEFORMAT=none for the checks
|
||||||
|
12
live-build/ubuntu-cpc/hooks.d/chroot/002-add-foreign-kernel.chroot_early
Executable file
12
live-build/ubuntu-cpc/hooks.d/chroot/002-add-foreign-kernel.chroot_early
Executable file
@ -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…
x
Reference in New Issue
Block a user