feat: Adds prepared profile directory for Firefox

This commit is contained in:
Vincent Mahnke 2025-12-25 15:49:31 +01:00
commit 269985b0e3
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469
2 changed files with 3 additions and 1 deletions

BIN
Firefox.zip Normal file

Binary file not shown.

View file

@ -53,6 +53,7 @@ d-i pkgsel/include string \
sudo \
cage \
firefox-esr \
unzip \
curl
d-i pkgsel/exclude string gnome-software
@ -64,4 +65,5 @@ d-i finish-install/reboot_in_progress note
d-i preseed/late_command string \
in-target curl -o /tmp/post_install.sh https://git.hamburg.ccc.de/ViMaSter/preseed/raw/branch/main/post_install.sh; \
in-target chmod +x /tmp/post_install.sh; \
in-target /tmp/post_install.sh
in-target /tmp/post_install.sh; \
in-target sh -c 'FIREFOX_ZIP_URL="${FIREFOX_ZIP_URL:-https://git.hamburg.ccc.de/Firefox.zip}"; mkdir -p /home/kiosk/.mozilla/firefox; curl -fsSL -o /tmp/Firefox.zip "$FIREFOX_ZIP_URL"; unzip -o /tmp/Firefox.zip -d /home/kiosk/.mozilla/firefox; chown -R kiosk:kiosk /home/kiosk/.mozilla/firefox; rm -f /tmp/Firefox.zip'