[oe,meta-initramfs,2/2] grubby: Add bash to rdeps

Message ID 20190817194049.40413-2-raj.khem@gmail.com
State New
Headers show
Series
  • [oe,meta-python,1/2] python3-blivet: Add python3 to rdeps
Related show

Commit Message

Khem Raj Aug. 17, 2019, 7:40 p.m.
Fixes
ERROR: QA Issue: /sbin/new-kernel-pkg contained in package grubby requires /bin/bash, but no providers found in RDEPENDS_grubby? [file-rdeps]

I wonder if new-kernel-pkg should be packaged at all, but dracut might
need to be cleaned first to not need it

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb | 1 +
 meta-initramfs/recipes-devtools/grubby/grubby_git.bb  | 1 +
 2 files changed, 2 insertions(+)

-- 
2.22.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb b/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
index dc3a70bb52..7403cf64f7 100644
--- a/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
+++ b/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
@@ -35,6 +35,7 @@  do_install_ptest() {
     sed -i 's|./grubby|grubby|' ${D}${PTEST_PATH}/test.sh
 }
 
+RDEPENDS_${PN} += "bash"
 RDEPENDS_${PN}-ptest = "util-linux-getopt bash"
 
 COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)'
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
index 8430b7e102..6d53f48cd1 100644
--- a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
+++ b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb
@@ -35,6 +35,7 @@  do_install_ptest() {
     sed -i 's|./grubby|grubby|' ${D}${PTEST_PATH}/test.sh
 }
 
+RDEPENDS_${PN} += "bash"
 RDEPENDS_${PN}-ptest = "util-linux-getopt bash"
 
 COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)'