Import patches-unapplied version 2.513 to ubuntu/bionic-proposed

Imported using git-ubuntu import.

Changelog parent: 2be32c140c

New changelog entries:
  * In the live-server build, prevent casper from mounting any existing
    swap partitions from drives we might later be installing to.
    (LP: #1743643)
impish
Michael Hudson-Doyle 7 years ago committed by usd-importer
parent 2be32c140c
commit d7e1e72398

8
debian/changelog vendored

@ -1,3 +1,11 @@
livecd-rootfs (2.513) bionic; urgency=medium
* In the live-server build, prevent casper from mounting any existing
swap partitions from drives we might later be installing to.
(LP: #1743643)
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Wed, 21 Mar 2018 15:58:02 +1300
livecd-rootfs (2.512) bionic; urgency=medium livecd-rootfs (2.512) bionic; urgency=medium
* ubuntu-cpc: When performing a minimized build, don't generate artifacts * ubuntu-cpc: When performing a minimized build, don't generate artifacts

@ -53,6 +53,10 @@ EOF
chroot $SQUASH_ROOT apt-get update chroot $SQUASH_ROOT apt-get update
chroot $SQUASH_ROOT apt-get -y install user-setup curtin lupin-casper chroot $SQUASH_ROOT apt-get -y install user-setup curtin lupin-casper
# For bug #1743643 "Install to dirty disk with swap fails" remove the
# "helpful" casper script that mounts any swap partitions it finds.
rm -f $SQUASH_ROOT/usr/share/initramfs-tools/scripts/casper-bottom/*swap
# Installing casper means we need a new initramfs # Installing casper means we need a new initramfs
UPDATE_INITRAMFS_OPTIONS=CASPER_GENERATE_UUID=1 recreate_initramfs $SQUASH_ROOT UPDATE_INITRAMFS_OPTIONS=CASPER_GENERATE_UUID=1 recreate_initramfs $SQUASH_ROOT

Loading…
Cancel
Save