[Pkg-uml-commit] r181 - trunk/src/rootstrap

Mattia Dongili malattia at costa.debian.org
Wed Aug 30 19:16:28 UTC 2006


Author: malattia
Date: 2006-08-30 19:16:28 +0000 (Wed, 30 Aug 2006)
New Revision: 181

Modified:
   trunk/src/rootstrap/builder
   trunk/src/rootstrap/rootstrap.sgml
Log:
allow full access to the host filesystem through $HOST

Modified: trunk/src/rootstrap/builder
===================================================================
--- trunk/src/rootstrap/builder	2006-08-29 17:24:25 UTC (rev 180)
+++ trunk/src/rootstrap/builder	2006-08-30 19:16:28 UTC (rev 181)
@@ -72,7 +72,7 @@
 if configfile:
     config.read(configfile)
 
-globalvars = { 'TARGET' : '/tmp/target', 'WORKDIR' : '/etc/rootstrap/workdir' }
+globalvars = { 'TARGET' : '/tmp/target', 'WORKDIR' : '/etc/rootstrap/workdir', 'HOST' : '/tmp/host' }
 for var in config.options('global'):
     globalvars[var] = config.get('global', var)
     

Modified: trunk/src/rootstrap/rootstrap.sgml
===================================================================
--- trunk/src/rootstrap/rootstrap.sgml	2006-08-29 17:24:25 UTC (rev 180)
+++ trunk/src/rootstrap/rootstrap.sgml	2006-08-30 19:16:28 UTC (rev 181)
@@ -615,9 +615,11 @@
         When a module is invoked, the filesystem being created is
         mounted on $TARGET, /dev, /etc and /tmp are tmpfs filesystems
         internal to the UML system, while the root filesystem is a
-	hostfs mount of the system where rootstrap is running. /lib/modules is
-	tmpfs too and bind mounted to the host's /usr/lib/uml/modules to let
-	scripts load necessary kernel modules.
+	hostfs mount of the system where rootstrap is running, to have 
+	access to the above shadowed directories the full host filesystem
+	is available on $HOST. /lib/modules is tmpfs too and bind mounted to
+	the host's /usr/lib/uml/modules to let scripts load necessary kernel
+	modules.
 	This means that most software on the host system should be
         available and work as expected. The working directory where
         rootstrap is run is available as $WORKDIR. The environment is




More information about the Pkg-uml-commit mailing list