mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-21 14:50:07 -07:00
grub: 2.12
This commit is contained in:
parent
8c27879272
commit
f0055016d2
@ -38,6 +38,11 @@ pkg_dir=$1
|
||||
build_grub() (
|
||||
cd "grub-${1##*=}"
|
||||
|
||||
patch -p1 < ../no-asorti.patch
|
||||
|
||||
# This file is missing from the release tarball.
|
||||
touch grub-core/extra_deps.lst
|
||||
|
||||
./configure \
|
||||
HELP2MAN="$OLDPWD/help2man" \
|
||||
--prefix=/usr \
|
||||
|
@ -1,4 +1,5 @@
|
||||
449064120cdba3186d710a72ac6e510bcf769fb469b2c2ffb3537744bf6299e843
|
||||
449064120cdba3186d710a72ac6e510bcf769fb469b2c2ffb3537744bf6299e843
|
||||
13c48453f9becf4a6e49618749dc7cb83a2c4a0d7600eeeadc6c7c2772c0b87784
|
||||
13c48453f9becf4a6e49618749dc7cb83a2c4a0d7600eeeadc6c7c2772c0b87784
|
||||
6b8d0bf948e008f080a376d3822cdafd8ffda71eb78a1723fb133326ff7aed5c3f
|
||||
ff52fa06400af24ab316f693bade1a38751e46fcc6232cad97ea022a92a695db14
|
||||
711c4a6f87f114d950e76ee178dd99c88e8532c2a678d3061686f617f0cfb5828b
|
||||
|
15
core/grub/patches/no-asorti.patch
Normal file
15
core/grub/patches/no-asorti.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/grub-core/genmoddep.awk b/grub-core/genmoddep.awk
|
||||
index cc987a5..5e9f942 100644
|
||||
--- a/grub-core/genmoddep.awk
|
||||
+++ b/grub-core/genmoddep.awk
|
||||
@@ -63,9 +63,7 @@ END {
|
||||
}
|
||||
modlist = ""
|
||||
depcount[mod] = 0
|
||||
- n = asorti(uniqmods, w)
|
||||
- for (i = 1; i <= n; i++) {
|
||||
- depmod = w[i]
|
||||
+ for (depmod in uniqmods) {
|
||||
modlist = modlist " " depmod;
|
||||
inverse_dependencies[depmod] = inverse_dependencies[depmod] " " mod
|
||||
depcount[mod]++
|
@ -1,4 +1,5 @@
|
||||
https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz grub-pc
|
||||
https://ftp.gnu.org/gnu/grub/grub-2.06.tar.xz grub-efi
|
||||
https://ftp.gnu.org/gnu/grub/grub-2.12.tar.xz grub-pc
|
||||
https://ftp.gnu.org/gnu/grub/grub-2.12.tar.xz grub-efi
|
||||
files/grub.default
|
||||
files/help2man
|
||||
patches/no-asorti.patch
|
||||
|
@ -1 +1 @@
|
||||
2.06 1
|
||||
2.12 1
|
||||
|
Loading…
Reference in New Issue
Block a user