summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Fomin2021-03-25 04:31:37 +0000
committerMaxim Fomin2021-03-25 04:31:37 +0000
commit40970084525f3b5e0079232f06c4757ad0e86e90 (patch)
tree693e64da09ee127026d8816951f1346a7c0589b5
parentc6c10ff4f2bbbafa382b5bf1ecdfa18c9a409110 (diff)
downloadaur-40970084525f3b5e0079232f06c4757ad0e86e90.tar.gz
Update to 2.06rc1.
-rw-r--r--.SRCINFO10
-rw-r--r--0001-00_header-add-GRUB_COLOR_-variables.patch (renamed from 0004-add-GRUB_COLOR_variables.patch)19
-rw-r--r--0002-10_linux-detect-archlinux-initramfs.patch (renamed from 0003-10_linux-detect-archlinux-initramfs.patch)18
-rw-r--r--PKGBUILD30
4 files changed, 50 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e5f21c0d0d14..5c3c05349a2b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = grub-luks-keyfile-git
pkgdesc = GNU GRand Unified Bootloader (2)
- pkgver = 2.05
+ pkgver = 2.06rc1
pkgrel = 1
epoch = 2
url = https://www.gnu.org/software/grub/
@@ -49,8 +49,8 @@ pkgbase = grub-luks-keyfile-git
source = git+https://git.savannah.gnu.org/git/gnulib.git#commit=be584c56eb1311606e5ea1a36363b97bddb6eed3
source = https://ftp.gnu.org/gnu/unifont/unifont-13.0.05/unifont-13.0.05.bdf.gz
source = https://ftp.gnu.org/gnu/unifont/unifont-13.0.05/unifont-13.0.05.bdf.gz.sig
- source = 0003-10_linux-detect-archlinux-initramfs.patch
- source = 0004-add-GRUB_COLOR_variables.patch
+ source = 0001-00_header-add-GRUB_COLOR_-variables.patch
+ source = 0002-10_linux-detect-archlinux-initramfs.patch
source = 0001-Cryptomount-support-LUKS-detached-header.patch
source = 0002-Cryptomount-support-key-files.patch
source = 0003-Cryptomount-luks-allow-multiple-passphrase-attempts.patch
@@ -65,8 +65,8 @@ pkgbase = grub-luks-keyfile-git
sha256sums = SKIP
sha256sums = c4e61e9336d8d024479ea72616722c6c47c93f76dc173e8ad3edf9f9e07c3115
sha256sums = SKIP
- sha256sums = 171415ab075d1ac806f36c454feeb060f870416f24279b70104bba94bd6076d4
- sha256sums = a5198267ceb04dceb6d2ea7800281a42b3f91fd02da55d2cc9ea20d47273ca29
+ sha256sums = ef87b27e4cef6f83c41c8a1a0401f41e22a89a130baaef8c5a832a6c99bb2683
+ sha256sums = ce7e24acec78989169a136e989e07369def3dd7c727788d5038a255409ec3c35
sha256sums = b9d737d1b403b540a00a8e9c25240a06bb371da7588d3e665af8543397724698
sha256sums = 5d7060fbe9738764d2f8ebc96b43cc0bb8939c2e4e4e78b7a82a1a149ea6e837
sha256sums = 3e373bcb7847326ae14365e7443f900559f35f4f9ba2e5e69d034f4423fc45bb
diff --git a/0004-add-GRUB_COLOR_variables.patch b/0001-00_header-add-GRUB_COLOR_-variables.patch
index c113a81d5754..8005adf3b660 100644
--- a/0004-add-GRUB_COLOR_variables.patch
+++ b/0001-00_header-add-GRUB_COLOR_-variables.patch
@@ -1,18 +1,27 @@
+From 21e5bcf22ab1a9f08c63e2a0212219d7482f77c1 Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail@eworm.de>
+Date: Wed, 10 Mar 2021 18:42:25 +0100
+Subject: [PATCH] 00_header: add GRUB_COLOR_* variables
+---
+ util/grub-mkconfig.in | 2 ++
+ util/grub.d/00_header.in | 8 ++++++++
+ 2 files changed, 10 insertions(+)
+
diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in
-index 3390ba9..c416489 100644
+index f8cbb8d7a..1189d95f9 100644
--- a/util/grub-mkconfig.in
+++ b/util/grub-mkconfig.in
-@@ -218,6 +218,8 @@ export GRUB_DEFAULT \
+@@ -246,6 +246,8 @@ export GRUB_DEFAULT \
+ GRUB_BACKGROUND \
GRUB_THEME \
GRUB_GFXPAYLOAD_LINUX \
- GRUB_DISABLE_OS_PROBER \
+ GRUB_COLOR_NORMAL \
+ GRUB_COLOR_HIGHLIGHT \
GRUB_INIT_TUNE \
GRUB_SAVEDEFAULT \
GRUB_ENABLE_CRYPTODISK \
diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in
-index d2e7252..8259f45 100644
+index 93a90233e..c5955df00 100644
--- a/util/grub.d/00_header.in
+++ b/util/grub.d/00_header.in
@@ -125,6 +125,14 @@ cat <<EOF
@@ -29,4 +38,4 @@ index d2e7252..8259f45 100644
+
serial=0;
gfxterm=0;
- for x in ${GRUB_TERMINAL_INPUT} ${GRUB_TERMINAL_OUTPUT}; do
+ for x in ${GRUB_TERMINAL_INPUT} ${GRUB_TERMINAL_OUTPUT}; do \ No newline at end of file
diff --git a/0003-10_linux-detect-archlinux-initramfs.patch b/0002-10_linux-detect-archlinux-initramfs.patch
index 512fa0451504..41ab3d12f1ef 100644
--- a/0003-10_linux-detect-archlinux-initramfs.patch
+++ b/0002-10_linux-detect-archlinux-initramfs.patch
@@ -1,8 +1,16 @@
+From 058d08a025f9a6ec77d5ddd1fc62c7bd6abe1a52 Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail@eworm.de>
+Date: Wed, 10 Mar 2021 18:40:00 +0100
+Subject: [PATCH] 10_linux: detect archlinux initramfs
+---
+ util/grub.d/10_linux.in | 16 +++++++++++++++-
+ 1 file changed, 15 insertions(+), 1 deletion(-)
+
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
-index f5d3e78..ef59c8c 100644
+index e8b01c0d0..e703dcdb0 100644
--- a/util/grub.d/10_linux.in
+++ b/util/grub.d/10_linux.in
-@@ -83,6 +83,8 @@ linux_entry ()
+@@ -93,6 +93,8 @@ linux_entry ()
case $type in
recovery)
title="$(gettext_printf "%s, with Linux %s (recovery mode)" "${os}" "${version}")" ;;
@@ -11,7 +19,7 @@ index f5d3e78..ef59c8c 100644
*)
title="$(gettext_printf "%s, with Linux %s" "${os}" "${version}")" ;;
esac
-@@ -186,7 +188,7 @@ while [ "x$list" != "x" ] ; do
+@@ -198,7 +200,7 @@ while [ "x$list" != "x" ] ; do
basename=`basename $linux`
dirname=`dirname $linux`
rel_dirname=`make_system_path_relative_to_its_root $dirname`
@@ -20,7 +28,7 @@ index f5d3e78..ef59c8c 100644
alt_version=`echo $version | sed -e "s,\.old$,,g"`
linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
-@@ -248,6 +250,18 @@ while [ "x$list" != "x" ] ; do
+@@ -285,6 +287,18 @@ while [ "x$list" != "x" ] ; do
linux_entry "${OS}" "${version}" advanced \
"${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
@@ -38,4 +46,4 @@ index f5d3e78..ef59c8c 100644
+
if [ "x${GRUB_DISABLE_RECOVERY}" != "xtrue" ]; then
linux_entry "${OS}" "${version}" recovery \
- "single ${GRUB_CMDLINE_LINUX}"
+ "single ${GRUB_CMDLINE_LINUX}" \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index 1c469ff46f40..48dc9b4918de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,7 @@ _UNIFONT_VER="13.0.05"
pkgname='grub-luks-keyfile-git'
pkgdesc='GNU GRand Unified Bootloader (2)'
epoch=2
-pkgver=2.05
+pkgver=2.06rc1
pkgrel=1
url='https://www.gnu.org/software/grub/'
arch=('x86_64')
@@ -60,8 +60,8 @@ source=("git+https://git.savannah.gnu.org/git/grub.git"
"git+https://git.savannah.gnu.org/git/grub-extras.git#commit=${_GRUB_EXTRAS_COMMIT}"
"git+https://git.savannah.gnu.org/git/gnulib.git#commit=${_GNULIB_COMMIT}"
"https://ftp.gnu.org/gnu/unifont/unifont-${_UNIFONT_VER}/unifont-${_UNIFONT_VER}.bdf.gz"{,.sig}
- '0003-10_linux-detect-archlinux-initramfs.patch'
- '0004-add-GRUB_COLOR_variables.patch'
+ '0001-00_header-add-GRUB_COLOR_-variables.patch'
+ '0002-10_linux-detect-archlinux-initramfs.patch'
'0001-Cryptomount-support-LUKS-detached-header.patch'
'0002-Cryptomount-support-key-files.patch'
'0003-Cryptomount-luks-allow-multiple-passphrase-attempts.patch'
@@ -74,8 +74,8 @@ sha256sums=('SKIP'
'SKIP'
'c4e61e9336d8d024479ea72616722c6c47c93f76dc173e8ad3edf9f9e07c3115'
'SKIP'
- '171415ab075d1ac806f36c454feeb060f870416f24279b70104bba94bd6076d4'
- 'a5198267ceb04dceb6d2ea7800281a42b3f91fd02da55d2cc9ea20d47273ca29'
+ 'ef87b27e4cef6f83c41c8a1a0401f41e22a89a130baaef8c5a832a6c99bb2683'
+ 'ce7e24acec78989169a136e989e07369def3dd7c727788d5038a255409ec3c35'
'b9d737d1b403b540a00a8e9c25240a06bb371da7588d3e665af8543397724698'
'5d7060fbe9738764d2f8ebc96b43cc0bb8939c2e4e4e78b7a82a1a149ea6e837'
'3e373bcb7847326ae14365e7443f900559f35f4f9ba2e5e69d034f4423fc45bb'
@@ -122,11 +122,11 @@ prepare() {
done
echo "Patch to detect of Arch Linux initramfs images by grub-mkconfig..."
- patch -Np1 -i "${srcdir}/0003-10_linux-detect-archlinux-initramfs.patch"
+ patch -Np1 -i "${srcdir}/0002-10_linux-detect-archlinux-initramfs.patch"
echo "Patch to enable GRUB_COLOR_* variables in grub-mkconfig..."
## Based on http://lists.gnu.org/archive/html/grub-devel/2012-02/msg00021.html
- patch -Np1 -i "${srcdir}/0004-add-GRUB_COLOR_variables.patch"
+ patch -Np1 -i "${srcdir}/0001-00_header-add-GRUB_COLOR_-variables.patch"
echo "Patch to enable LUKS detached header support..."
patch -Np1 -i "${srcdir}/0001-Cryptomount-support-LUKS-detached-header.patch"
@@ -162,6 +162,12 @@ prepare() {
# http://savannah.gnu.org/bugs/?40330 and https://bugs.archlinux.org/task/37847
gzip -cd "${srcdir}/unifont-${_UNIFONT_VER}.bdf.gz" > "unifont.bdf"
+ echo "Add the grub-extra sources for bios build..."
+ install -d "${srcdir}/grub-bios/grub-extras"
+ cp -r "${srcdir}/grub-extras/915resolution" \
+ "${srcdir}/grub-bios/grub-extras/915resolution"
+ export GRUB_CONTRIB="${srcdir}/grub-bios/grub-extras/"
+
echo "Run bootstrap..."
./bootstrap \
--gnulib-srcdir="${srcdir}/gnulib/" \
@@ -183,11 +189,11 @@ _build_grub-common_and_bios() {
cp -r "${srcdir}/grub/" "${srcdir}/grub-bios/"
cd "${srcdir}/grub-bios/"
- echo "Add the grub-extra sources for bios build..."
- install -d "${srcdir}/grub-bios/grub-extras"
- cp -r "${srcdir}/grub-extras/915resolution" \
- "${srcdir}/grub-bios/grub-extras/915resolution"
- export GRUB_CONTRIB="${srcdir}/grub-bios/grub-extras/"
+ #echo "Add the grub-extra sources for bios build..."
+ #install -d "${srcdir}/grub-bios/grub-extras"
+ #cp -r "${srcdir}/grub-extras/915resolution" \
+ # "${srcdir}/grub-bios/grub-extras/915resolution"
+ #export GRUB_CONTRIB="${srcdir}/grub-bios/grub-extras/"
echo "Unset all compiler FLAGS for bios build..."
unset CFLAGS