summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/bash/bash.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/bash/bash.inc')
-rw-r--r--meta/recipes-extended/bash/bash.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 4cf1054967..c91cc8ada8 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -23,7 +23,7 @@ ALTERNATIVE_PRIORITY = "100"
23 23
24RDEPENDS_${PN} += "base-files" 24RDEPENDS_${PN} += "base-files"
25RDEPENDS_${PN}_class-nativesdk = "" 25RDEPENDS_${PN}_class-nativesdk = ""
26RDEPENDS_${PN}-ptest += "make coreutils perl" 26RDEPENDS_${PN}-ptest += "make coreutils perl sed shadow util-linux-setpriv"
27 27
28DEPENDS_append_libc-glibc = " virtual/libc-locale" 28DEPENDS_append_libc-glibc = " virtual/libc-locale"
29RDEPENDS_${PN}-ptest_append_libc-glibc = " \ 29RDEPENDS_${PN}-ptest_append_libc-glibc = " \
@@ -36,8 +36,6 @@ RDEPENDS_${PN}-ptest_append_libc-glibc = " \
36 locale-base-fr-fr.iso-8859-1 \ 36 locale-base-fr-fr.iso-8859-1 \
37 locale-base-zh-hk.big5-hkscs \ 37 locale-base-zh-hk.big5-hkscs \
38 " 38 "
39USERADD_PACKAGES = "${PN}-ptest"
40USERADD_PARAM_${PN}-ptest = "--create-home --user-group test"
41 39
42CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}" 40CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}"
43 41
@@ -74,6 +72,7 @@ do_install_append_class-target () {
74do_install_ptest () { 72do_install_ptest () {
75 make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test 73 make INSTALL_TEST_DIR=${D}${PTEST_PATH}/tests install-test
76 cp ${B}/Makefile ${D}${PTEST_PATH} 74 cp ${B}/Makefile ${D}${PTEST_PATH}
75 install -D ${WORKDIR}/run-bash-ptests ${D}${PTEST_PATH}/run-bash-ptests
77 sed -i -e 's/^Makefile/_Makefile/' -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \ 76 sed -i -e 's/^Makefile/_Makefile/' -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \
78 -e 's|${DEBUG_PREFIX_MAP}||g' \ 77 -e 's|${DEBUG_PREFIX_MAP}||g' \
79 -e "s,${S},,g" -e "s,${B},,g" -e "s,${STAGING_DIR_NATIVE},,g" \ 78 -e "s,${S},,g" -e "s,${B},,g" -e "s,${STAGING_DIR_NATIVE},,g" \