Debian/Ubuntu: Improve some sudo usage

Reported-by: Jonathan Dumont <JOduMonT>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
Richard Laager
2021-10-28 22:07:00 -05:00
parent f2cda9dad5
commit 0a2125b845
3 changed files with 9 additions and 7 deletions

View File

@@ -514,8 +514,10 @@ Step 4: System Configuration
For ZFS native encryption or LUKS::
apt install --yes curl patch
curl https://launchpadlibrarian.net/478315221/2150-fix-systemd-dependency-loops.patch | \
sed "s|/etc|/lib|;s|\.in$||" | (cd / ; sudo patch -p1)
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