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:25
Message-Id: 1430328705.eeb82b88ce756f4c6569820129b6fb3e27829edb.zerochaos@gentoo
1 commit: eeb82b88ce756f4c6569820129b6fb3e27829edb
2 Author: Fernando Reyes (likewhoa) <design <AT> missionaccomplish <DOT> com>
3 AuthorDate: Fri May 30 02:06:42 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=eeb82b88
7
8 Output cleaning
9
10 defaults/initrd.scripts | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
14 index 14800e4..0e44e61 100644
15 --- a/defaults/initrd.scripts
16 +++ b/defaults/initrd.scripts
17 @@ -335,7 +335,7 @@ setup_aufs() {
18 else
19 CHANGESDEV=${AUFS}
20 good_msg "mounting ${CHANGESDEV} to ${MEMORY} for aufs support"
21 - mount -t auto ${CHANGESDEV} ${CHANGESMNT}
22 + mount -t auto ${CHANGESDEV} ${CHANGESMNT} &>/dev/null
23 ret=$?
24 if [ "${ret}" -ne 0 ]
25 then
26 @@ -383,7 +383,7 @@ setup_aufs() {
27 # empty or we were not able to mount the storage device
28 if [ "${CDROOT}" -eq '1' -a ! -f ${CHANGESMNT}/${AUFS_CHANGESFILE} ]
29 then
30 - umount ${MEMORY}
31 + umount ${MEMORY} &>/dev/null
32 bad_msg "failed to find ${AUFS_CHANGESFILE} file on ${CHANGESDEV}"
33 bad_msg "create an ext2 ${AUFS_CHANGESFILE} file on this device if you wish to use it for aufs"
34 bad_msg "falling back to ramdisk based aufs for safety"