grub-installer: non-fatal fail if mkdir efivars fails.

This commit is contained in:
Luis Guzmán 2024-03-04 06:20:59 +00:00
parent 5601dc6741
commit cb98021bbb
4 changed files with 3809 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2021 Luis Guzman <ark@switnet.org>
# Copyright (C) 2024 Luis Guzman <ark@switnet.org>
# Copyright (C) 2022 Ruben Rodriguez <ruben@trisquel.info>
#
# This program is free software; you can redistribute it and/or modify
@ -19,7 +19,7 @@
#
VERSION=3
EXTERNAL='deb-src http://ftp.debian.org/debian bullseye main'
EXTERNAL='deb-src http://ftp.debian.org/debian bookworm main'
REPOKEY=0E98404D386FA1D9
NETINST=true
@ -49,6 +49,13 @@ diff -ru a/grub-installer b/grub-installer
EOF
changelog "Remove grub-efi-amd64-signed dependency."
# Apply newer fixes over stable release (bookworm) using git patches.
for patch in $(ls -v ${DATA}/custom/*.patch)
do
echo "> Applying $patch"
patch --no-backup-if-mismatch -Np1 < $patch
done
changelog "Remove grub-efi-amd64-signed dependency. | Non-fatal fail if mkdir efivars fails."
package