diff options
author | Ross Burton <ross.burton@intel.com> | 2013-12-23 13:38:34 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-02 13:08:40 +0000 |
commit | 3814e34213baf030fa2a126d043ffd743fd2f9af (patch) | |
tree | c2bfe27e74f53bb77eb7931eff5bd99f384c53e7 /meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/quiet-debugfs.patch | |
parent | da9b4fa15c941d6e6dc841081707f21cd327023a (diff) | |
download | poky-3814e34213baf030fa2a126d043ffd743fd2f9af.tar.gz |
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.
(From OE-Core rev: 13a8d3869b0fe0ebdddcee37fb48c5b9cdf718ba)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/quiet-debugfs.patch')
-rw-r--r-- | meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/quiet-debugfs.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/quiet-debugfs.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/quiet-debugfs.patch new file mode 100644 index 0000000000..830e9d57a5 --- /dev/null +++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/quiet-debugfs.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | When executing a script don't echo every command, as we do this for entire | ||
2 | filesystems at rootfs time. | ||
3 | |||
4 | Upstream-Status: Inappropriate | ||
5 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
6 | |||
7 | diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c | ||
8 | index 5590295..ac57292 100644 | ||
9 | --- a/debugfs/debugfs.c | ||
10 | +++ b/debugfs/debugfs.c | ||
11 | @@ -2378,7 +2378,7 @@ static int source_file(const char *cmd_file, int ss_idx) | ||
12 | cp = strchr(buf, '\r'); | ||
13 | if (cp) | ||
14 | *cp = 0; | ||
15 | - printf("debugfs: %s\n", buf); | ||
16 | + /*printf("debugfs: %s\n", buf);*/ | ||
17 | retval = ss_execute_line(ss_idx, buf); | ||
18 | if (retval) { | ||
19 | ss_perror(ss_idx, retval, buf); | ||