Ubuntu 20.04: Patch a dependency loop
This is from Launchpad bug #1875577. Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
@@ -67,7 +67,10 @@ switch to encrypted swap::
|
||||
sudo vi /etc/fstab
|
||||
# Remove the swap entry.
|
||||
|
||||
sudo apt install --yes cryptsetup
|
||||
sudo apt install --yes cryptsetup curl patch
|
||||
|
||||
curl https://launchpadlibrarian.net/478315221/2150-fix-systemd-dependency-loops.patch | \
|
||||
sed "s|/etc|/lib|;s|\.in$||" | (cd / ; patch -p1)
|
||||
|
||||
# Replace DISK-partN as appropriate from above:
|
||||
echo swap /dev/disk/by-id/DISK-partN /dev/urandom \
|
||||
@@ -816,6 +819,19 @@ Step 4: System Configuration
|
||||
addgroup --system lxd
|
||||
addgroup --system sambashare
|
||||
|
||||
#. Patch a dependency loop:
|
||||
|
||||
For ZFS native encryption or LUKS::
|
||||
|
||||
sudo apt install --yes curl patch
|
||||
|
||||
curl https://launchpadlibrarian.net/478315221/2150-fix-systemd-dependency-loops.patch | \
|
||||
sed "s|/etc|/lib|;s|\.in$||" | (cd / ; patch -p1)
|
||||
|
||||
This patch is from `Bug #1875577 Encrypted swap won't load on 20.04 with
|
||||
zfs root
|
||||
<https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1612906>`__.
|
||||
|
||||
Step 5: GRUB Installation
|
||||
-------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user