make-asahi-installer-package: add our boot picker icon

This commit is contained in:
Davide Cavalca 2022-11-05 15:57:52 +00:00
parent 43d19e3227
commit 3d4c1d6104
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
outdir/
fedora.icns

View File

@ -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 <<EOF
"boot_object": "m1n1.bin",
"next_object": "m1n1/boot.bin",
"package": "${package}.zip",
"icon": "fedora.icns",
"supported_fw": ["12.3", "12.4"],
"partitions": [
{