summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-initramfs/recipes-devtools/grubby/grubby_git.bb')
-rw-r--r--meta-initramfs/recipes-devtools/grubby/grubby_git.bb19
1 files changed, 10 insertions, 9 deletions
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
index bbfabf0209..ff673e21bb 100644
--- a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
+++ b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
@@ -9,25 +9,26 @@ LICENSE = "GPL-2.0-or-later"
9 9
10LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" 10LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a"
11 11
12DEPENDS = "popt util-linux" 12DEPENDS = "popt util-linux rpm"
13DEPENDS:append:libc-musl = " libexecinfo" 13DEPENDS:append:libc-musl = " libexecinfo argp-standalone"
14 14
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16SRCREV = "a1d2ae93408c3408e672d7eba4550fdf27fb0201" 16SRCREV = "c01b0d5bb182bde35b464d14996acf354a3ada2e"
17SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=master \ 17SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=main \
18 file://grubby-rename-grub2-editenv-to-grub-editenv.patch \ 18 file://0001-rename-grub2-editenv-to-grub-editenv.patch \
19 file://0002-Add-another-variable-LIBS-to-provides-libraries-from.patch \
20 file://0003-include-paths.h-for-_PATH_MOUNTED.patch \
21 file://0004-rpm-sort-include-string.h-for-strverscmp.patch \
19 file://run-ptest \ 22 file://run-ptest \
20 file://0001-Add-another-variable-LIBS-to-provides-libraries-from.patch \
21 file://0002-include-paths.h-for-_PATH_MOUNTED.patch \
22 " 23 "
23 24
24RDEPENDS:${PN} += "dracut" 25RDEPENDS:${PN} += "dracut"
25 26
26inherit autotools-brokensep ptest 27inherit autotools-brokensep ptest
27 28
28EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' LIBS='${LIBS}' 'PREFIX'=${@bb.utils.contains('DISTRO_FEATURES','usrmerge','/usr','',d)}" 29EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'LIBS=${LIBS}'"
29 30
30LIBS:libc-musl = "-lexecinfo" 31LIBS:libc-musl = "-lexecinfo -largp"
31LIBS ?= "" 32LIBS ?= ""
32do_install_ptest() { 33do_install_ptest() {
33 install -d ${D}${PTEST_PATH} 34 install -d ${D}${PTEST_PATH}