Gentoo Archives: gentoo-commits

From: Richard Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:aufs commit in: defaults/
Date: Wed, 29 Apr 2015 19:04:14
Message-Id: 1430328705.6e5daaadb38e1bae6a30c57f9997ff01528dc6aa.zerochaos@gentoo
1 commit: 6e5daaadb38e1bae6a30c57f9997ff01528dc6aa
2 Author: Fernando Reyes (likewhoa) <design <AT> missionaccomplish <DOT> com>
3 AuthorDate: Fri May 30 01:03:37 2014 +0000
4 Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 29 17:31:45 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=6e5daaad
7
8 Cleanup dd output from changes file creation
9
10 defaults/initrd.scripts | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
14 index 2fe540b..a9ec5ab 100644
15 --- a/defaults/initrd.scripts
16 +++ b/defaults/initrd.scripts
17 @@ -280,7 +280,7 @@ create_changefs() {
18 then
19 bad_msg "Please give a size of at least 16 Mb"
20 else
21 - dd if=/dev/zero of=${CHANGESMNT}/${AUFS_CHANGESFILE} bs=1M count=${size}
22 + dd if=/dev/zero of=${CHANGESMNT}/${AUFS_CHANGESFILE} bs=1M count=${size} &>/dev/null
23 if [ $? = '0' ]
24 then
25 good_msg "Creation of ${AUFS_CHANGESFILE}, ${size} Mb on ${CHANGESDEV} successful, formatting it ext2"