diff --git a/app/public/icon-transparent.png b/app/public/icon-transparent.png new file mode 100644 index 00000000..c400b459 Binary files /dev/null and b/app/public/icon-transparent.png differ diff --git a/debian-live-config/config/hooks/normal/9999-rebrand-bootmenu.binary b/debian-live-config/config/hooks/normal/9999-rebrand-bootmenu.binary index 6114cb2d..e3a257cd 100755 --- a/debian-live-config/config/hooks/normal/9999-rebrand-bootmenu.binary +++ b/debian-live-config/config/hooks/normal/9999-rebrand-bootmenu.binary @@ -1,40 +1,47 @@ #!/bin/sh # Rebrand the live-build generated boot menus. # +# live-build invokes binary hooks with cwd = the build's binary/ directory +# (it does `cd binary && ../hook`), so paths here are relative to binary/. +# # live-build templates substitute @LINUX_LIVE@ etc. with text like # "Live system (amd64)" (see /usr/lib/live/build/binary_grub_cfg) and # similar strings into ISOLINUX live.cfg. We can't override the # substitution source without patching live-build itself; instead this -# hook runs in the binary stage after the generated files exist and -# seds the strings in place. +# hook runs after the binary stage generated the files and seds the +# strings in place. # # splash.png on the GRUB / ISOLINUX menus is replaced via # config/includes.binary/{boot/grub,isolinux}/splash.png — those land -# during chroot_includes_after_packages and overwrite the auto-generated -# Debian splash (which contained the yellow hardhat and a "Debian -# GNU/Linux 12 (bookworm) amd64" line). +# automatically and overwrite the auto-generated Debian splash (which +# contained the yellow hardhat and a "Debian GNU/Linux 12 (bookworm) +# amd64" line). set -e # GRUB (UEFI + grub-pc) -for f in binary/boot/grub/grub.cfg \ - binary/boot/grub/install_start.cfg \ - binary/boot/grub/install.cfg; do - [ -f "$f" ] && sed -i \ - -e 's|Live system (amd64)|Run WROLPi (live)|g' \ - -e 's|Live system (amd64 fail-safe mode)|Run WROLPi (live, fail-safe)|g' \ - -e "s|'Start installer'|'Install WROLPi'|g" \ - -e "s|'Start installer with speech synthesis'|'Install WROLPi (speech)'|g" \ - "$f" +for f in boot/grub/grub.cfg \ + boot/grub/install_start.cfg \ + boot/grub/install.cfg; do + if [ -f "$f" ]; then + sed -i \ + -e 's|Live system (amd64)|Run WROLPi (live)|g' \ + -e 's|Live system (amd64 fail-safe mode)|Run WROLPi (live, fail-safe)|g' \ + -e "s|'Start installer'|'Install WROLPi'|g" \ + -e "s|'Start installer with speech synthesis'|'Install WROLPi (speech)'|g" \ + "$f" + fi done # ISOLINUX (BIOS) -for f in binary/isolinux/live.cfg \ - binary/isolinux/install.cfg; do - [ -f "$f" ] && sed -i \ - -e 's|Live system (amd64)|Run WROLPi (live)|g' \ - -e 's|Live system (amd64 fail-safe mode)|Run WROLPi (live, fail-safe)|g' \ - -e 's|Start ^installer|Install WROLPi|g' \ - -e 's|Start installer with ^speech synthesis|Install WROLPi (speech)|g' \ - "$f" +for f in isolinux/live.cfg \ + isolinux/install.cfg; do + if [ -f "$f" ]; then + sed -i \ + -e 's|Live system (amd64)|Run WROLPi (live)|g' \ + -e 's|Live system (amd64 fail-safe mode)|Run WROLPi (live, fail-safe)|g' \ + -e 's|Start ^installer|Install WROLPi|g' \ + -e 's|Start installer with ^speech synthesis|Install WROLPi (speech)|g' \ + "$f" + fi done diff --git a/debian-live-config/config/includes.binary/boot/grub/splash.png b/debian-live-config/config/includes.binary/boot/grub/splash.png index f4e479c8..3b25242b 100644 Binary files a/debian-live-config/config/includes.binary/boot/grub/splash.png and b/debian-live-config/config/includes.binary/boot/grub/splash.png differ diff --git a/debian-live-config/config/includes.binary/isolinux/splash.png b/debian-live-config/config/includes.binary/isolinux/splash.png index 08d19d57..8a03773d 100644 Binary files a/debian-live-config/config/includes.binary/isolinux/splash.png and b/debian-live-config/config/includes.binary/isolinux/splash.png differ