From 8c2069ae1f6cd89c5aa61aa57c47f28b27ca9f84 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Thu, 29 Jun 2023 16:54:28 +0300 Subject: [PATCH] patch fstab to remove /run tmpfs --- kvmd.install | 1 + 1 file changed, 1 insertion(+) 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