x86: add wireless-regdb package

x86: add firmware-ath9k-htc
x86: move grub config to x86 skeleton
kiosk: add StateDirectory for systemd-rfkill
This commit is contained in:
Manawyrm 2023-07-01 00:54:24 +02:00
parent fdf4e2d50b
commit 23cdc88635
4 changed files with 8 additions and 6 deletions

View File

@ -3,7 +3,7 @@
apt update
APT_LISTCHANGES_FRONTEND=none DEBIAN_FRONTEND=noninteractive apt dist-upgrade -y
DEBIAN_FRONTEND=noninteractive apt install -y lightdm openbox nginx php-fpm php-cli chromium autossh unclutter x11-xserver-utils xdotool htop nano openssh-server rsync x11vnc lm-sensors ntpdate scrot
DEBIAN_FRONTEND=noninteractive apt install -y lightdm openbox nginx php-fpm php-cli chromium autossh unclutter x11-xserver-utils xdotool htop nano openssh-server rsync x11vnc lm-sensors ntpdate scrot wireless-regdb
rsync -a --chown=root:root "/kiosk_skeleton/." "/"
chown -hR pi:pi /home/pi
@ -60,10 +60,10 @@ ln -sf /tmp/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf
systemctl daemon-reload
# remove unneccessary clutter
systemctl disable dphys-swapfile
systemctl disable ModemManager
systemctl disable avahi-daemon
systemctl disable bluetooth
systemctl disable dphys-swapfile || true
systemctl disable ModemManager || true
systemctl disable avahi-daemon || true
systemctl disable bluetooth || true
systemctl enable kiosk-ssh-keys
systemctl enable kiosk-wifi

View File

@ -0,0 +1,2 @@
[Service]
StateDirectory=

View File

@ -5,7 +5,7 @@ apt update
apt install -y polkitd locales zstd dhcpcd wpasupplicant
locale-gen en_US.UTF-8
apt install -y firmware-amd-graphics firmware-iwlwifi firmware-brcm80211 firmware-atheros firmware-misc-nonfree firmware-realtek
apt install -y firmware-amd-graphics firmware-iwlwifi firmware-brcm80211 firmware-atheros firmware-misc-nonfree firmware-realtek firmware-ath9k-htc
echo "grub-efi-amd64 grub2/force_efi_extra_removable boolean true" | debconf-set-selections
update-grub