fix: Moves shell into post_install
This commit is contained in:
parent
2fd0bfdc6b
commit
672d33f33d
2 changed files with 8 additions and 3 deletions
|
|
@ -60,3 +60,9 @@ if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
|||
exec cage firefox --kiosk https://c3nav.de
|
||||
fi
|
||||
EOF
|
||||
|
||||
mkdir -p /home/kiosk/.mozilla/firefox
|
||||
curl -fsSL -o /tmp/Firefox.zip "https://git.hamburg.ccc.de/Firefox.zip"
|
||||
unzip -o /tmp/Firefox.zip -d /home/kiosk/.mozilla/firefox
|
||||
chown -R kiosk:kiosk /home/kiosk/.mozilla/firefox
|
||||
rm -f /tmp/Firefox.zip
|
||||
|
|
@ -65,5 +65,4 @@ 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 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'
|
||||
in-target /tmp/post_install.sh;
|
||||
Loading…
Add table
Add a link
Reference in a new issue