[package]
name = "grub"
version = "2.14"
release = 1
description = "GNU GRand Unified Bootloader (x86_64 EFI and i386 BIOS)"
url = "https://www.gnu.org/software/grub/"
license = ["GPL-3.0-or-later"]
arch = "x86_64"

[dependencies]
runtime = ["glibc", "xz", "gettext"]
build = ["bison", "flex", "python", "xz", "gettext"]
provides = []
conflicts = []

[install]
# All of etc/grub.d: unchanged files are replaced on upgrade, edited ones get .lpmnew.
backup = [
    "etc/grub.d/00_header",
    "etc/grub.d/10_linux",
    "etc/grub.d/20_linux_xen",
    "etc/grub.d/25_bli",
    "etc/grub.d/30_os-prober",
    "etc/grub.d/30_uefi-firmware",
    "etc/grub.d/40_custom",
    "etc/grub.d/41_custom",
    "etc/grub.d/README",
]

[options]
buildflags = false   # GRUB builds firmware code; host hardening flags break it
strip = false        # strip would damage EFI images and modules; package() strips the host tools

# sha256 verified against /sources/MD5SUMS on LE-OS (sources.toml)
[[source]]
url = "https://ftpmirror.gnu.org/grub/grub-2.14.tar.xz"
sha256 = "bc8d3c73535b8838d8c8e2654d73edc4e6ae8c8acdb45d5df5dc9a1547446d43"

[build]
builddate = 1791552069
installed_size = 70039349
lpm_version = "0.9.8"
