From b677bdbcc6a09ec79af6f1d47e3dbbe6b3d38d07 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Thu, 15 Oct 2020 08:33:23 +1300 Subject: [PATCH] Remove 68-del-part-nodes.rules from installer squashfs to work around it breaking curtin. (LP: #1893818) --- debian/changelog | 7 +++++++ .../ubuntu-server/hooks/032-installer-squashfs.binary | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/debian/changelog b/debian/changelog index 2beb4444..097ac63c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (2.691) UNRELEASED; urgency=medium + + * Remove 68-del-part-nodes.rules from installer squashfs to work around it + breaking curtin. (LP: #1893818) + + -- Michael Hudson-Doyle Thu, 15 Oct 2020 08:32:42 +1300 + livecd-rootfs (2.690) groovy; urgency=medium * Add initial support for the Ubuntu Desktop Raspberry Pi image. diff --git a/live-build/ubuntu-server/hooks/032-installer-squashfs.binary b/live-build/ubuntu-server/hooks/032-installer-squashfs.binary index a86deb35..b28fb6c7 100755 --- a/live-build/ubuntu-server/hooks/032-installer-squashfs.binary +++ b/live-build/ubuntu-server/hooks/032-installer-squashfs.binary @@ -75,6 +75,11 @@ chroot $INSTALLER_ROOT apt-get clean # "helpful" casper script that mounts any swap partitions it finds. rm -f $INSTALLER_ROOT/usr/share/initramfs-tools/scripts/casper-bottom/*swap +# For bug #1893818 "Several blockprobe errors if trying to install the +# groovy daily live on LPAR", remove a udev rule that removes +# partition nodes for multipathed disks that breaks the installer. +rm -f $INSTALLER_ROOT/lib/udev/rules.d/68-del-part-nodes.rules + # Preseed subiquity into installer layer snap_prepare $INSTALLER_ROOT snap_preseed $INSTALLER_ROOT subiquity/classic