diff options
author | Fernando Reyes (likewhoa) <design@missionaccomplish.com> | 2014-05-29 04:40:18 +0200 |
---|---|---|
committer | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2015-08-11 14:21:15 -0400 |
commit | a1b88b49e6139cf7f0ac465430e3370773ab6017 (patch) | |
tree | 41ecf830d649878cc1b1136379a11223d3bb8c3a /defaults/linuxrc | |
parent | Cleaner shutdown process preventing aufs related mounts from (diff) | |
download | genkernel-a1b88b49e6139cf7f0ac465430e3370773ab6017.tar.gz genkernel-a1b88b49e6139cf7f0ac465430e3370773ab6017.tar.bz2 genkernel-a1b88b49e6139cf7f0ac465430e3370773ab6017.zip |
This fixes /etc/fstab from not working while in setup_aufs function and instead
includes it in the union path.
Diffstat (limited to 'defaults/linuxrc')
-rw-r--r-- | defaults/linuxrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc index 6d942a13..d5b424c3 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -820,6 +820,10 @@ memory|/.unions/memory/xino"' "${UNION}"/etc/rc.conf) && "/newroot/mnt/changesdev|/mnt/livecd|/mnt/cdrom|"\ "/.unions/memory|/.unions/memory/xino\"">> "${UNION}"/etc/rc.conf + # Fstab change for aufs + test ! $(grep aufs "${UNION}"/etc/fstab) && + echo "aufs / aufs defaults 0 0" > "${UNION}"/etc/fstab + warn_msg "Adding all modules in $MODULESD/modules/" if [ -z "${MODULESD}" ] then |