From 5523d6cb6bb840347156817d984ce410c83dbff3 Mon Sep 17 00:00:00 2001 From: Richard Laager Date: Mon, 7 Sep 2020 00:43:34 -0500 Subject: [PATCH] Ubuntu: Fix patch commands These were missing "sudo". Reported-by: Sithuk Issue #52 --- .../Ubuntu/Ubuntu 20.04 Root on ZFS for Raspberry Pi.rst | 2 +- docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS for Raspberry Pi.rst b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS for Raspberry Pi.rst index 8d96412..7efc5c8 100644 --- a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS for Raspberry Pi.rst +++ b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS for Raspberry Pi.rst @@ -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 diff --git a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst index ac7374b..92a726c 100644 --- a/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst +++ b/docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst @@ -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