mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 11:21:12 +00:00
i386 foreign-arch support was added for the canary image before 23.04 released, but by mistake it was only added to the squashfs for the live session, and not the squashfs layer used as the source for installation. split the chroot hooks to add this to the standard.squashfs. LP: #2033170.
This commit is contained in:
parent
809fbee16b
commit
cb3f3292b2
10
debian/changelog
vendored
10
debian/changelog
vendored
@ -1,3 +1,13 @@
|
||||
livecd-rootfs (23.10.23) UNRELEASED; urgency=medium
|
||||
|
||||
* i386 foreign-arch support was added for the canary image before 23.04
|
||||
released, but by mistake it was only added to the squashfs for the live
|
||||
session, and not the squashfs layer used as the source for installation.
|
||||
split the chroot hooks to add this to the standard.squashfs.
|
||||
LP: #2033170.
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Sat, 26 Aug 2023 15:05:13 -0700
|
||||
|
||||
livecd-rootfs (23.10.22) mantic; urgency=medium
|
||||
|
||||
* Undo preseeding in reset_snapd_state.
|
||||
|
@ -26,10 +26,3 @@ EOF
|
||||
cat <<EOF > /etc/initramfs-tools/conf.d/default-layer.conf
|
||||
LAYERFS_PATH=${PASS}.squashfs
|
||||
EOF
|
||||
|
||||
if [ "$(dpkg --print-architecture)" = amd64 ]; then
|
||||
echo "I: Enabling amd64 multiarch support on amd64"
|
||||
dpkg --add-architecture i386
|
||||
|
||||
apt-get -y update
|
||||
fi
|
||||
|
18
live-build/ubuntu/hooks/020-foreign-arch.chroot_early
Executable file
18
live-build/ubuntu/hooks/020-foreign-arch.chroot_early
Executable file
@ -0,0 +1,18 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
case ${PASS:-} in
|
||||
standard)
|
||||
;;
|
||||
*)
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$(dpkg --print-architecture)" = amd64 ]; then
|
||||
echo "I: Enabling amd64 multiarch support on amd64"
|
||||
dpkg --add-architecture i386
|
||||
|
||||
apt-get -y update
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user