diff options
author | Maxim Devaev <[email protected]> | 2023-06-29 16:54:28 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-06-29 16:54:28 +0300 |
commit | 8c2069ae1f6cd89c5aa61aa57c47f28b27ca9f84 (patch) | |
tree | f9ac6464d51b9c2164fed698c4550d27d40ad5f3 | |
parent | 147583e10def4409fe20cc4da8a51d9795158723 (diff) |
patch fstab to remove /run tmpfs
-rw-r--r-- | kvmd.install | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install index 73bd1ac7..d4fef0fa 100644 --- a/kvmd.install +++ b/kvmd.install @@ -53,6 +53,7 @@ post_upgrade() { echo "==> Patching configs ..." [ ! -f /etc/fstab ] || (sed -i -e "s|,data=journal||g" /etc/fstab && touch -t 200701011000 /etc/fstab) + [ ! -f /etc/fstab ] || (sed -i -e "/tmpfs \/run\s/d" /etc/fstab && touch -t 200701011000 /etc/fstab) [ ! -f /etc/pacman.conf ] || sed -i -e "s|^Server = https://pikvm.org/repos/|Server = https://files.pikvm.org/repos/arch/|g" /etc/pacman.conf [ ! -f /boot/config.txt ] || sed -i -e 's/^dtoverlay=pi3-disable-bt$/dtoverlay=disable-bt/g' /boot/config.txt [ ! -f /boot/config.txt ] || sed -i -e 's/^dtoverlay=dwc2$/dtoverlay=dwc2,dr_mode=peripheral/g' /boot/config.txt |