#! /bin/sh # SPDX-License-Identifier: LGPL-2.1+ set -e [ -d ${pkgdatadir:?} ] # shellcheck source=/dev/null . "$pkgdatadir/grub-mkconfig_lib" if [ -f /var/lib/fwupd/uefi_capsule.conf ] && ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then . /var/lib/fwupd/uefi_capsule.conf if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then echo "Adding Linux Firmware Updater entry" >&2 cat << EOF menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' { EOF ${grub_probe:?} prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"' cat << EOF chainloader ${EFI_PATH} } EOF fi fi
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
00_header | File | 10.38 KB | 0755 |
|
05_debian_theme | File | 6.11 KB | 0755 |
|
10_linux | File | 17.8 KB | 0755 |
|
10_linux_zfs | File | 41.37 KB | 0755 |
|
20_linux_xen | File | 12.59 KB | 0755 |
|
20_memtest86+ | File | 1.95 KB | 0755 |
|
30_os-prober | File | 11.78 KB | 0755 |
|
30_uefi-firmware | File | 1.39 KB | 0755 |
|
35_fwupd | File | 700 B | 0755 |
|
40_custom | File | 214 B | 0755 |
|
41_custom | File | 216 B | 0755 |
|
README | File | 483 B | 0644 |
|