Skip to content

Commit

Permalink
feat: update GRUB to 2.12
Browse files Browse the repository at this point in the history
We were on a rc1 version before which had some issues.

Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
smira committed Mar 19, 2024
1 parent 6f35841 commit bb981f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 85 deletions.
6 changes: 3 additions & 3 deletions Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ vars:
gasket_driver_sha512: 1a8862610acb1246bcb7e86a9516bf3254f2b3a796dddbcc1666e31207bf629214172d049a9171343417442a02b76070bbaa802ee02128a7f9ab7f4a54a04676

# renovate: datasource=git-tags extractVersion=^grub-(?<version>.*)$ depName=git://git.savannah.gnu.org/grub.git
grub_version: 2.12~rc1
grub_sha256: 7a60c08b0ff1bac630cae6293b73871a541610a7fb1a7337aeb5e96f359cd650
grub_sha512: 6f1fbce004b6dccf58e203bf6a6eeb771bac5ecc54b503265e56a97e9adce0221677bb3e64328144ec921f327a099f0345e7a9952be41cd8808f7635cded52cb
grub_version: 2.12
grub_sha256: f3c97391f7c4eaa677a78e090c7e97e6dc47b16f655f04683ebd37bef7fe0faa
grub_sha512: 761c060a4c3da9c0e810b0ea967e3ebc66baa4ddd682a503ae3d30a83707626bccaf49359304a16b3a26fc4435fe6bea1ee90be910c84de3c2b5485a31a15be3

# renovate: datasource=github-releases extractVersion=^IPMITOOL_(?<version>.*)$ depName=ipmitool/ipmitool
ipmitool_version: 1_8_19
Expand Down
77 changes: 0 additions & 77 deletions grub/patches/udev.patch

This file was deleted.

9 changes: 4 additions & 5 deletions grub/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ dependencies:
- stage: util-linux
steps:
- sources:
#- url: https://ftp.gnu.org/gnu/grub/grub-{{ .grub_version }}.tar.xz
- url: https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/grub2/2.12~rc1-12ubuntu2/grub2_{{ .grub_version }}.orig.tar.xz
- url: https://ftp.gnu.org/gnu/grub/grub-{{ .grub_version }}.tar.xz
destination: grub.tar.xz
sha256: "{{ .grub_sha256 }}"
sha512: "{{ .grub_sha512 }}"
Expand All @@ -19,11 +18,11 @@ steps:
- |
tar -xJf grub.tar.xz --strip-components=1
PYTHON=python3 /toolchain/bin/bash ./autogen.sh
#patch -p1 < /pkg/patches/udev.patch
patch -p1 < /pkg/patches/efi-fat-serial-number.patch
PYTHON=python3 /toolchain/bin/bash ./autogen.sh
touch ./grub-core/extra_deps.lst
build:
- |
case "${ARCH}" in
Expand Down

0 comments on commit bb981f8

Please sign in to comment.