Changed the version indicator, fixing fstab generation for unionfs, and resolving...
authorChris Gianelloni <wolf31o2@gentoo.org>
Fri, 28 Oct 2005 19:51:59 +0000 (19:51 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Fri, 28 Oct 2005 19:51:59 +0000 (19:51 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@319 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/linuxrc
genkernel

index c31a8a576daa15130a6ec1a8a8379b97dea226ed..998995580b884842eafa0a285920220a1b9d173b 100644 (file)
@@ -499,7 +499,8 @@ then
                union_insert_dir $UNION /${NEW_ROOT}/${FS_LOCATION}
                
                # Make sure fstab notes livecd is mounted ro.  Makes system skip remount which fails on unionfs dirs.
-               cat /${UNION}/etc/fstab | sed -e 's|\(.*\s/\s*tmpfs\s*\)defaults\(.*\)|\1defaults,ro\2|' > /${UNION}/etc/fstab
+               sed -e 's|\(.*\s/\s*tmpfs\s*\)defaults\(.*\)|\1defaults,ro\2|' /${UNION}/etc/fstab > /${UNION}/etc/fstab.new
+               mv /${UNION}/etc/fstab.new /${UNION}/etc/fstab
        fi
 
        # Unpacking additional packages from NFS mount
index da52641ece048344b0a435752976a62b6fc972c7..9880b09519c3a893347b731d6eb0a404ea5526ad 100755 (executable)
--- a/genkernel
+++ b/genkernel
@@ -2,7 +2,7 @@
 # Genkernel v3
 
 PATH="/bin:/usr/bin:/sbin:/usr/sbin"
-GK_V='3.3.6'
+GK_V='3.3.7'
 
 TMPDIR='/var/tmp/genkernel'
 TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.