diff options
author | Yura80 <[email protected]> | 2020-12-12 01:45:42 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-12 09:45:42 +0300 |
commit | 273f90ee03d919e1960e9aa749716da75a4b78f3 (patch) | |
tree | f1c6182cbd76e23cc6804df80b45d780129b2557 /kvmd.install | |
parent | 0a75d8876e18ba0880dbb7e1f74c2f9cc3a5ceb7 (diff) |
Support of alternative boards/SBCs (#19)
* adding rock64 board
* fix file permissions
* disable atx gpio for rock64 (breaks ethernet); restore package url; fix install
* added gpio pin definitions to config
* renamed rock64 board to generic
* udev rule for generic board, improved device detection
* this udev fix should work for most boards: it skips video0 if it's not on USB, and doesn't select video2
* cleanup
* improved usb video device selection
Diffstat (limited to 'kvmd.install')
-rw-r--r-- | kvmd.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd.install b/kvmd.install index 678a38a3..5e00512b 100644 --- a/kvmd.install +++ b/kvmd.install @@ -20,6 +20,6 @@ post_upgrade() { chown kvmd /var/lib/kvmd/msd || true echo "==> Patching configs ..." - sed -i -e 's/^dtoverlay=pi3-disable-bt$/dtoverlay=disable-bt/g' /boot/config.txt - sed -i -e 's/^dtoverlay=dwc2$/dtoverlay=dwc2,dr_mode=peripheral/g' /boot/config.txt + [ ! -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 } |