aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-initramfs/recipes-devtools/grubby/grubby/grubby-remove-bashisms-in-test.sh.patch29
-rw-r--r--meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb3
2 files changed, 1 insertions, 31 deletions
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby/grubby-remove-bashisms-in-test.sh.patch b/meta-initramfs/recipes-devtools/grubby/grubby/grubby-remove-bashisms-in-test.sh.patch
deleted file mode 100644
index 6734e7f0f87..00000000000
--- a/meta-initramfs/recipes-devtools/grubby/grubby/grubby-remove-bashisms-in-test.sh.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From c3a004b8d6dff1a767573dd7baf5d45efddb9f2b Mon Sep 17 00:00:00 2001
-From: Mingli Yu <mingli.yu@windriver.com>
-Date: Fri, 15 Jul 2016 11:23:17 +0800
-Subject: [PATCH] grubby: remove bashisms in test.sh
-
-* Update #!/bin/bash to #!/bin/sh in test.sh to
- remove below warning:
- QA Issue: /usr/lib/grubby/ptest/test.sh contained
- in package grubby-ptest requires /bin/bash, but no
- providers found in RDEPENDS_grubby-ptest? [file-rdeps]
-
-Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
----
- test.sh | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test.sh b/test.sh
-index f738388..f3537f3 100755
---- a/test.sh
-+++ b/test.sh
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- #
- # test.sh -- grubby regression tests
- #
---
-2.8.1
-
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb b/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
index 1a61e9dce12..0e93790855a 100644
--- a/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
+++ b/meta-initramfs/recipes-devtools/grubby/grubby_8.40.bb
@@ -13,7 +13,6 @@ DEPENDS = "popt util-linux"
SRC_URI = "https://github.com/rhinstaller/${BPN}/archive/${PV}-1.tar.gz;downloadfilename=${BPN}-${PV}-1.tar.gz \
file://grubby-rename-grub2-editenv-to-grub-editenv.patch \
file://run-ptest \
- file://grubby-remove-bashisms-in-test.sh.patch \
"
SRC_URI[md5sum] = "1005907b275d6d93368d045274537d86"
@@ -33,6 +32,6 @@ do_install_ptest() {
sed -i 's|./grubby|grubby|' ${D}${PTEST_PATH}/test.sh
}
-RDEPENDS_${PN}-ptest = "util-linux-getopt"
+RDEPENDS_${PN}-ptest = "util-linux-getopt bash"
COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)'