summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-05-31 23:46:05 +0300
committerMaxim Devaev <[email protected]>2023-05-31 23:46:05 +0300
commiteca2d697ed6f90eb27d4ebfef303122b5fc3cd74 (patch)
treebeb8fe5f06b7067e236396307e095bb081c3220d
parent7f8bb428d3023448145199c3a41243d666afe253 (diff)
removing data=journal
-rw-r--r--kvmd.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvmd.install b/kvmd.install
index 20454dda..73bd1ac7 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -52,6 +52,7 @@ post_upgrade() {
done
echo "==> Patching configs ..."
+ [ ! -f /etc/fstab ] || (sed -i -e "s|,data=journal||g" /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