[Initng-svn] r2677 - initng/initfiles/system

svn at initng.thinktux.net svn at initng.thinktux.net
Mon Jan 2 22:24:28 CET 2006


Author: grzegorz
Date: Mon Jan  2 22:24:28 2006
New Revision: 2677

Modified:
   initng/initfiles/system/mountroot.ii
Log:
- fix remount rw for pingwinek distro when using unionfs + squashfs as root filesystem (livecd mode)


Modified: initng/initfiles/system/mountroot.ii
==============================================================================
--- initng/initfiles/system/mountroot.ii	(original)
+++ initng/initfiles/system/mountroot.ii	Mon Jan  2 22:24:28 2006
@@ -82,7 +82,14 @@
 		then
 			echo "Remounting root filesystem read/write"
 			@mount@ -n -o remount,rw / >/dev/null 2>&1
+#ifd pingwinek
+			result=${?}
+			# code 32 means 'not implemented', we got it on livecd using
+			# unionfs combined with squashfs
+			if [ ${result} -ne 0 ] && [ ${result} -ne 32 ]
+#elsed
 			if [ ${?} -ne 0 ]
+#endd
 			then
 				echo "Root filesystem could not be mounted read/write :("
 				exit 1


More information about the Initng-svn mailing list