diff options
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb index 66065bc049..67a5ea74f2 100644 --- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | |||
@@ -87,3 +87,20 @@ ALTERNATIVE_${PN} = "chattr" | |||
87 | ALTERNATIVE_PRIORITY = "100" | 87 | ALTERNATIVE_PRIORITY = "100" |
88 | ALTERNATIVE_LINK_NAME[chattr] = "${base_bindir}/chattr" | 88 | ALTERNATIVE_LINK_NAME[chattr] = "${base_bindir}/chattr" |
89 | ALTERNATIVE_TARGET[chattr] = "${base_bindir}/chattr.e2fsprogs" | 89 | ALTERNATIVE_TARGET[chattr] = "${base_bindir}/chattr.e2fsprogs" |
90 | |||
91 | inherit ptest | ||
92 | SRC_URI += "file://run-ptest" | ||
93 | SRC_URI += "file://ptest.patch" | ||
94 | |||
95 | RDEPENDS_${PN}-ptest += "${PN} ${PN}-tune2fs coreutils procps" | ||
96 | #RDEPENDS_${PN}-ptest += "expect" | ||
97 | |||
98 | do_compile_ptest() { | ||
99 | oe_runmake -C ${B}/tests | ||
100 | } | ||
101 | |||
102 | do_install_ptest() { | ||
103 | cp -a ${B}/tests ${D}${PTEST_PATH}/test | ||
104 | cp -a ${S}/tests/* ${D}${PTEST_PATH}/test | ||
105 | sed -e 's!../e2fsck/e2fsck!e2fsck!g' -i ${D}${PTEST_PATH}/test/*/expect* | ||
106 | } | ||