diff options
Diffstat (limited to 'meta-initramfs/recipes-devtools/grubby/grubby_git.bb')
-rw-r--r-- | meta-initramfs/recipes-devtools/grubby/grubby_git.bb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb index ff673e21bb..60f68728e9 100644 --- a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb +++ b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb | |||
@@ -12,7 +12,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a" | |||
12 | DEPENDS = "popt util-linux rpm" | 12 | DEPENDS = "popt util-linux rpm" |
13 | DEPENDS:append:libc-musl = " libexecinfo argp-standalone" | 13 | DEPENDS:append:libc-musl = " libexecinfo argp-standalone" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | SRCREV = "c01b0d5bb182bde35b464d14996acf354a3ada2e" | 15 | SRCREV = "c01b0d5bb182bde35b464d14996acf354a3ada2e" |
17 | SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=main \ | 16 | SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=main \ |
18 | file://0001-rename-grub2-editenv-to-grub-editenv.patch \ | 17 | file://0001-rename-grub2-editenv-to-grub-editenv.patch \ |
@@ -24,12 +23,21 @@ SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=main \ | |||
24 | 23 | ||
25 | RDEPENDS:${PN} += "dracut" | 24 | RDEPENDS:${PN} += "dracut" |
26 | 25 | ||
27 | inherit autotools-brokensep ptest | 26 | inherit ptest |
28 | 27 | ||
29 | EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'LIBS=${LIBS}'" | 28 | EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'LIBS=${LIBS}'" |
30 | 29 | ||
31 | LIBS:libc-musl = "-lexecinfo -largp" | 30 | LIBS:libc-musl = "-lexecinfo -largp" |
32 | LIBS ?= "" | 31 | LIBS ?= "" |
32 | |||
33 | do_compile() { | ||
34 | oe_runmake | ||
35 | } | ||
36 | |||
37 | do_install() { | ||
38 | oe_runmake DESTDIR=${D} install | ||
39 | } | ||
40 | |||
33 | do_install_ptest() { | 41 | do_install_ptest() { |
34 | install -d ${D}${PTEST_PATH} | 42 | install -d ${D}${PTEST_PATH} |
35 | cp -r ${S}/test ${S}/test.sh ${D}${PTEST_PATH} | 43 | cp -r ${S}/test ${S}/test.sh ${D}${PTEST_PATH} |