From 3d4c1d610442139fc170e9fa5e01b131810b115c Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Sat, 5 Nov 2022 15:57:52 +0000 Subject: [PATCH] make-asahi-installer-package: add our boot picker icon --- .gitignore | 1 + make-asahi-installer-package.sh | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 00ca089..5afd711 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ outdir/ +fedora.icns diff --git a/make-asahi-installer-package.sh b/make-asahi-installer-package.sh index f4d0c2a..c80ecea 100755 --- a/make-asahi-installer-package.sh +++ b/make-asahi-installer-package.sh @@ -54,6 +54,12 @@ boot_size="$(stat -c %s "${workdir}/package/boot.img")" truncate -s 10G "${workdir}/package/root.img" root_size="$(stat -c %s "${workdir}/package/root.img")" +# boot picket icon +if [ ! -f fedora.icns ]; then + wget https://pagure.io/fedora-logos/blob/master/f/bootloader/fedora.icns +fi +cp -p fedora.icns "${workdir}/package" + pushd "${workdir}/package" > /dev/null zip -r "${basedir}/${package}" . popd > /dev/null @@ -67,6 +73,7 @@ cat > installer_data.json <