Ubuntu: Fix patch commands
These were missing "sudo". Reported-by: Sithuk Issue #52
This commit is contained in:
@@ -509,7 +509,7 @@ Step 4: System Configuration
|
||||
For ZFS native encryption or LUKS::
|
||||
|
||||
curl https://launchpadlibrarian.net/478315221/2150-fix-systemd-dependency-loops.patch | \
|
||||
sed "s|/etc|/lib|;s|\.in$||" | (cd / ; patch -p1)
|
||||
sed "s|/etc|/lib|;s|\.in$||" | (cd / ; sudo patch -p1)
|
||||
|
||||
This patch is from `Bug #1875577 Encrypted swap won't load on 20.04 with
|
||||
zfs root
|
||||
|
||||
@@ -139,7 +139,7 @@ switch to encrypted swap::
|
||||
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)
|
||||
sed "s|/etc|/lib|;s|\.in$||" | (cd / ; sudo patch -p1)
|
||||
|
||||
# Replace DISK-partN as appropriate from above:
|
||||
echo swap /dev/disk/by-id/DISK-partN /dev/urandom \
|
||||
@@ -900,7 +900,7 @@ Step 4: System Configuration
|
||||
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)
|
||||
sed "s|/etc|/lib|;s|\.in$||" | (cd / ; sudo patch -p1)
|
||||
|
||||
This patch is from `Bug #1875577 Encrypted swap won't load on 20.04 with
|
||||
zfs root
|
||||
|
||||
Reference in New Issue
Block a user