disable apt and add script for persisting apt pkgs (#2225)

* disable apt and add script for persisting apt pkgs

* fix typo

* exit 1 on fake-apt

* readd fake-apt after upgrade

* fix typo

* remove finicky protection

* fix build
This commit is contained in:
Aiden McClelland
2023-03-17 12:08:49 -06:00
committed by GitHub
parent f7f07932b4
commit 65eb520cca
6 changed files with 60 additions and 3 deletions

View File

@@ -3,8 +3,8 @@
set -e
# install dependencies
apt update
apt install --no-install-recommends -y xserver-xorg x11-xserver-utils xinit firefox-esr matchbox-window-manager libnss3-tools
/usr/bin/apt update
/usr/bin/apt install --no-install-recommends -y xserver-xorg x11-xserver-utils xinit firefox-esr matchbox-window-manager libnss3-tools
# create kiosk script
cat > /home/start9/kiosk.sh << 'EOF'