Skip to content

Commit

Permalink
patch fstab to remove /run tmpfs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Jun 29, 2023
1 parent 147583e commit 8c2069a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kvmd.install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c2069a

Please sign in to comment.