Ubuntu: Fix patch commands

These were missing "sudo".

Reported-by: Sithuk
Issue #52
This commit is contained in:
Richard Laager
2020-09-07 00:43:34 -05:00
parent 08832a3454
commit 5523d6cb6b
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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