e2fsprogs: only quiet debugfs for native package

Many test cases expect the output of running commands for debugfs,
the patch quiet-debugfs.patch suppress the output so ptest failed:
| 292 tests succeeded   47 tests failed

The patch was meant to suppress the output in do_rootfs according
to the original commit:
======================
commit 13a8d3869b0fe0ebdddcee37fb48c5b9cdf718ba
Author: Ross Burton <ross.burton@intel.com>
Date: Mon Dec 23 13:38:34 2013 +0000

    e2fsprogs: silence debugfs

    debugfs echos the commands when it is executing a script, but as the scripts
    used at rootfs time are long this massively inflates the do_rootfs log.

    Comment out the echo so that the rootfs isn't 20K lines longer than it needs to
    be.

    Signed-off-by: Ross Burton <ross.burton@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
======================

So only apply the patch for native package, then the ptest will
be pass for target package.

(From OE-Core rev: 4fed9d636852f04457e25c0f7064a4928cc8c36b)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jackie Huang
2018-02-02 15:10:33 +08:00
committed by Richard Purdie
parent d00c35a181
commit aa81e94f80

View File

@@ -1,7 +1,6 @@
require e2fsprogs.inc
SRC_URI += "file://remove.ldconfig.call.patch \
file://quiet-debugfs.patch \
file://run-ptest \
file://ptest.patch \
file://Revert-mke2fs-enable-the-metadata_csum-and-64bit-fea.patch \
@@ -10,7 +9,9 @@ SRC_URI += "file://remove.ldconfig.call.patch \
file://0001-libext2fs-fix-build-failure-in-swapfs.c-on-big-endia.patch \
"
SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch"
SRC_URI_append_class-native = " file://e2fsprogs-fix-missing-check-for-permission-denied.patch \
file://quiet-debugfs.patch \
"
SRCREV = "af2eac481cf426c05ae12b946396980e16c8ab19"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+(\.\d+)*)$"