[Pkg-uml-commit] r253 - in tags/src/rootstrap: . 0.3.24-1 0.3.24-1/debian

Mattia Dongili malattia at alioth.debian.org
Sun Nov 12 19:17:35 CET 2006


Author: malattia
Date: 2006-11-12 19:17:35 +0100 (Sun, 12 Nov 2006)
New Revision: 253

Added:
   tags/src/rootstrap/0.3.24-1/
   tags/src/rootstrap/0.3.24-1/builder
   tags/src/rootstrap/0.3.24-1/debian/changelog
   tags/src/rootstrap/0.3.24-1/rootstrap
   tags/src/rootstrap/0.3.24-1/rootstrap.conf
   tags/src/rootstrap/0.3.24-1/rootstrap.sgml
Removed:
   tags/src/rootstrap/0.3.24-1/builder
   tags/src/rootstrap/0.3.24-1/debian/changelog
   tags/src/rootstrap/0.3.24-1/rootstrap
   tags/src/rootstrap/0.3.24-1/rootstrap.conf
   tags/src/rootstrap/0.3.24-1/rootstrap.sgml
Log:
tag rootstrap 0.3.24-1

Copied: tags/src/rootstrap/0.3.24-1 (from rev 243, trunk/src/rootstrap)

Deleted: tags/src/rootstrap/0.3.24-1/builder
===================================================================
--- trunk/src/rootstrap/builder	2006-11-04 20:28:57 UTC (rev 243)
+++ tags/src/rootstrap/0.3.24-1/builder	2006-11-12 18:17:35 UTC (rev 253)
@@ -1,91 +0,0 @@
-#!/usr/bin/python
-
-import ConfigParser
-import os
-import sys
-
-sys.stdout.write("builder running...\n")
-
-# Initialization
-os.system("mount -t tmpfs tmpfs /etc")
-os.mkdir("/etc/rootstrap")
-os.system("mount -t hostfs hostfs -o /etc/rootstrap /etc/rootstrap")
-os.system("mount -t tmpfs tmpfs /dev")
-os.system("mount -t proc proc /proc")
-os.system("mount -t tmpfs tmpfs /tmp")
-os.system("mount -t tmpfs tmpfs /lib/modules")
-os.system("mount -t hostfs hostfs -o /usr/lib/uml/modules /lib/modules")
-os.mkdir("/tmp/target")
-os.mkdir("/tmp/host")
-os.system("mount -t hostfs hostfs /tmp/host")
-
-# Parse kernel command line
-workdir = '~/.rootstrap'
-configfile = None
-for arg in open('/proc/cmdline').read().split():
-    argsplit = arg.split('=')
-    if len(argsplit) > 1:
-        if argsplit[0] == 'rsworkdir':
-            workdir = os.path.expanduser(argsplit[1])
-        elif argsplit[0] == 'rsconfig':
-            configfile = '/tmp/host' + \
-			    os.path.expanduser(os.path.join('/tmp/host',os.path.expanduser(argsplit[1])))
-
-os.system("mount -t hostfs hostfs -o %s /etc/rootstrap/workdir" % workdir)
-
-def dispatch(module, vars):
-    "Invoke a rootstrap module"
-
-    for scriptpat in ('/etc/rootstrap/workdir/modules/%s',
-                      '/etc/rootstrap/modules/%s',
-                      '/usr/lib/rootstrap/modules/%s'):
-        script = scriptpat % module
-
-	if os.path.exists(script):
-	    # try to ease module debugging
-	    #
-	    # debug_exit == 0 --> exit and raise exception
-	    #               1 --> re-eval script that failed
-	    #               2 --> go on with next script
-	    #               X --> exit and raise exception
-	    while 1:
-                print "Using rootstrap module %s from:\n\t%s" % (module,script)
-                status = os.spawnle(os.P_WAIT, script, script, vars)
-
-                if status != 0:
-	            if "debug" in vars and vars["debug"] == "true":
-			    print "Module %s failed with status %d: %s" % \
-					(module,status,os.strerror(status))
-	                debug_exit = os.spawnle(os.P_WAIT, "/bin/sh", "/bin/sh", vars)
-			if debug_exit == 1:
-			    continue
-			elif debug_exit == 2:
-			    return
-
-		        raise "rootstrap: Module '%s' failed, status %d: %s" % \
-					(module,status,os.strerror(status))
-		return
-
-    raise "rootstrap: unknown module: %s\n" % module
-        
-config = ConfigParser.ConfigParser()
-config.optionxform = str # case sensitive
-config.readfp(open('/etc/rootstrap/rootstrap.conf'))
-config.read(('/etc/rootstrap/workdir/rootstrap.conf',))
-if configfile:
-    config.read(configfile)
-
-globalvars = { 'TARGET' : '/tmp/target', 'WORKDIR' : '/etc/rootstrap/workdir', 'HOST' : '/tmp/host' }
-for var in config.options('global'):
-    globalvars[var] = config.get('global', var)
-    
-for module in config.get('global', 'modules').split():
-    modulevars = globalvars
-    if config.has_section(module):
-        for var in config.options(module):
-            modulevars[var] = config.get(module,var)
-
-    dispatch(module, modulevars)
-
-os.system("mount -o remount,ro hostfs /")
-os.system("/sbin/halt -d -f")

Copied: tags/src/rootstrap/0.3.24-1/builder (from rev 249, trunk/src/rootstrap/builder)

Deleted: tags/src/rootstrap/0.3.24-1/debian/changelog
===================================================================
--- trunk/src/rootstrap/debian/changelog	2006-11-04 20:28:57 UTC (rev 243)
+++ tags/src/rootstrap/0.3.24-1/debian/changelog	2006-11-12 18:17:35 UTC (rev 253)
@@ -1,325 +0,0 @@
-rootstrap (0.3.24-1) unstable; urgency=low
-
-  * correctly write the timezone file in the guest FS (Closes: #388055)
-  * try to print descriptive error messages when a module fails
-    (Closes: #388061)
-  * use /dev/ubda not /dev/ubd0 in /etc/fstab (Closes: #388121)
-  * allow debconf preseeding using files both in $WORKDIR or $HOST
-    (Closes: #387679)
-  * fix apt_preferences amtpy line handling. (Closes: #372901)
-
- -- Mattia Dongili <malattia at debian.org>  Mon, 18 Sep 2006 21:23:50 +0200
-
-rootstrap (0.3.23-1) unstable; urgency=low
-
-  * test for base-config executable in the base-config module
-    (Closes: #374582).
-  * fix reiserfs invocation, thanks to Andreas Beckmann (Closes: #372828).
-  * allow mounting the hostfs to /lib/modules. (Closes: #377035);
-  * fix root password handling in base-config.
-  * unmount /proc after using it in modules/uml. (Closes: #372905)
-  * disable hwclock on the newly created image, thanks to Matthew Palmer.
-    (Closes: #311037)
-  * allow using the --force-yes apt switch to install from untrusted
-    sources. (Closes: #372937)
-  * allow configuring /etc/apt/preferences and /etc/apt/apt.conf in the target
-    FS, thanks to Andreas Beckmann. (Closes: #372901)
-  * allow preseeding Debconf values. (Closes: #372906)
-  * the manpage has been fed enough. (Closes: #294214)
-
- -- Mattia Dongili <malattia at debian.org>  Thu, 31 Aug 2006 20:51:43 +0200
-
-rootstrap (0.3.22-1) unstable; urgency=low
-
-  * ubd dev missing: updated mkfs and mount modules to create it (Closes: #342694)
-  * updated Standards depedency to the latest (3.7.2)
-  * drop versioned dependencies on user-mode-linux allows rootstrap to work
-    with kernel-package self-built kernels.
-    (Closes: #275410) (Closes: #282914) (Closes: #320410)
-  * ensure that the UML kernel is able to find uml_net (Closes: #304461)
-  * add reference of the hostfs need on man page (Closes: #300221)
-  * implement a "sources" option for the [debian] modules to
-    let users give their favourite repositories (Closes: #172296)
-
- -- Stefano Melchior <stefano.melchior at openlabs.it>  Sun, 21 May 2006 23:19:38 +0200
-
-rootstrap (0.3.21-1) unstable; urgency=low
-
-  * If there are no processes left running which use the target
-    filesystem, don't let the (failing) fuser call abort the entire script
-    (Closes: #255531)
-
- -- Matt Zimmerman <mdz at debian.org>  Mon, 21 Jun 2004 12:08:06 -0700
-
-rootstrap (0.3.20-1) unstable; urgency=low
-
-  * Only pay attention to the [network]/gateway option when not using
-    uml=dhcp
-  * Divert start-stop-daemon, as debootstrap does, while installing
-    packages with apt
-  * Use fuser to kill off any processes using the target root fs, so that
-    it can be unmounted
-
- -- Matt Zimmerman <mdz at debian.org>  Sun,  6 Jun 2004 11:28:16 -0700
-
-rootstrap (0.3.19-1) unstable; urgency=low
-
-  * The initialsize/freespace settings seem to confuse people; increase
-    initialsize and set freespace to zero, to get a 1GB sparse image with
-    no resizing by default (Closes: #205972)
-
- -- Matt Zimmerman <mdz at debian.org>  Sun, 14 Mar 2004 18:34:20 -0800
-
-rootstrap (0.3.18-1) unstable; urgency=low
-
-  * New base-config module, which invokes base-config to configure the
-    base system.  This currently only works on sarge+ because it uses
-    debconf-set-selections, and it doesn't really work there either due to
-    limitations in base-config (it doesn't honor some important pre-seeded
-    debconf responses)
-  * Set default root password to 'rootstrap' in base-config module
-    (Closes: #224430)
-  * New tasksel module
-  * Fix -u/--umlargs, rename to --umlarg and have it only take one argument
-
- -- Matt Zimmerman <mdz at debian.org>  Mon, 16 Feb 2004 11:33:31 -0800
-
-rootstrap (0.3.17-1) unstable; urgency=low
-
-  * Make "imagefile" one word on the man page, so it's clear that it's a
-    single argument
-  * -s is in megabytes, like initialsize in rootstrap.conf
-  * Make the network/control parameter, used with the daemon transport,
-    optional, since UML now has a reasonable compiled-in default
-
- -- Matt Zimmerman <mdz at debian.org>  Fri, 19 Sep 2003 21:42:37 -0400
-
-rootstrap (0.3.16-1) unstable; urgency=low
-
-  * Set the hostname in the rootstrapped system, rather than
-    leaving it blank (some packages can't install without a hostname).
-    Thanks to Mike Snitzer for working this out
-    rootstrap still doesn't really configure the base system (suggestions
-    welcome; see #211397)
-  * set -e on more modules
-
- -- Matt Zimmerman <mdz at debian.org>  Wed, 17 Sep 2003 10:19:47 -0400
-
-rootstrap (0.3.15-1) unstable; urgency=low
-
-  * Add -c/--config option to specify a config file to read
-
- -- Matt Zimmerman <mdz at debian.org>  Mon, 15 Sep 2003 19:15:28 -0400
-
-rootstrap (0.3.14-1) unstable; urgency=low
-
-  * [modules/debian] Transfer DNS configuration into resolv.conf in the
-    generated system
-  * Correctly remount the hostfs-root read-only
-  * Make some of the modules more robust, and run with set -e
-  * [modules/{debian,network}] DHCP support for networking configuration
-  * [rootstrap.conf] Don't exclude dhcp-client anymore
-  * Change daemon transport syntax to match new interface (no more
-    separate data socket)
-
- -- Matt Zimmerman <mdz at debian.org>  Sun, 14 Sep 2003 20:46:43 -0400
-
-rootstrap (0.3.13-1) unstable; urgency=low
-
-  * Fix ext3 handling (mkfs.ext3 works fine without -j)
-    (Closes: #199882)
-  * Add support for uml_switch networking (Closes: #207631)
-
- -- Matt Zimmerman <mdz at debian.org>  Mon,  1 Sep 2003 13:42:15 -0400
-
-rootstrap (0.3.12-1) unstable; urgency=low
-
-  * Increase default initalsize to 256, which is enough room for
-    base+build-essential+umlrun on i386.  Note that this is created
-    sparsely, and shrunk down to reflect freespace if it is not used
-  * Depend on more recent user-mode-linux, for new hostfs-root syntax
-    (Closes: #197480)
-  * Really fix the stupid man page problem (Closes: #191767)
-
- -- Matt Zimmerman <mdz at debian.org>  Thu, 19 Jun 2003 16:03:02 -0400
-
-rootstrap (0.3.11-1) unstable; urgency=low
-
-  * When network configuration is enabled in the debian module, configure
-    the loopback interface as well
-  * Fiddle with man page so that it doesn't eat a line of input.
-    I hate groff (Closes: #191767)
-  * Add network/slirp config option, primarily for use with the patch in
-    #175093 (hopefully will be merged soon)
-
- -- Matt Zimmerman <mdz at debian.org>  Sat,  3 May 2003 13:54:51 -0400
-
-rootstrap (0.3.10-1) unstable; urgency=low
-
-  * Fix the debian module's 'install' directive to be non-interactive
-  * Patch from Brian May to invoke dpkg in the target rather than using
-    dpkg --root (Closes: #189355)
-  * Handle building on a block device a bit more gracefully (I hope)
-    (Closes: #188047)
-
- -- Matt Zimmerman <mdz at debian.org>  Sun, 20 Apr 2003 15:39:38 -0400
-
-rootstrap (0.3.9-1) unstable; urgency=low
-
-  * Use new syntax for mounting root hostfs
-  * Only clobber regular files (Closes: #185672)
-
- -- Matt Zimmerman <mdz at debian.org>  Fri,  4 Apr 2003 21:12:49 -0500
-
-rootstrap (0.3.8-1) unstable; urgency=low
-
-  * Use DEBIAN_FRONTEND=noninteractive, not Noninteractive
-    (Closes: #175958)
-  * Preconfigured tap support (Closes: #166152)
-  * Use long integers so that larger image sizes work (Closes: #183375)
-  * Add vim magic comment (Closes: #183350)
-  * Suggests: slirp
-
- -- Matt Zimmerman <mdz at debian.org>  Tue,  4 Mar 2003 19:39:49 -0500
-
-rootstrap (0.3.7-1) unstable; urgency=low
-
-  * Add support for the slirp transport.  For this to be really useful,
-    you must rebuild slirp with the FULL_BOLT option for reasonable
-    performance.  However, once this is done, networking works with no
-    address configuration or root access.
-
- -- Matt Zimmerman <mdz at debian.org>  Thu,  9 Jan 2003 21:37:46 -0500
-
-rootstrap (0.3.6-1) unstable; urgency=low
-
-  * Update and clarify man page
-  * Fix one-character error which prevent the -u/--umlargs option fram working
-
- -- Matt Zimmerman <mdz at debian.org>  Mon, 21 Oct 2002 22:16:05 -0400
-
-rootstrap (0.3.5-1) unstable; urgency=low
-
-  * Add support to the debian module for saving the network configuration
-    to /etc/network/interfaces
-  * Add pointer to GPL in copyright (thanks, linda)
-
- -- Matt Zimmerman <mdz at debian.org>  Sat, 21 Sep 2002 18:43:48 -0400
-
-rootstrap (0.3.4-1) unstable; urgency=low
-
-  * Fix default configuration to use a valid Debian mirror.
-    Thanks to smoerk at gmx.de for pointing this out.
-  * s/DEBCONF_FRONTEND/DEBIAN_FRONTEND/ so that we correctly get the
-    noninteractive frontend.  This should cut down greatly on debconf
-    warnings. 
-  * Fix a bug whereby if a module was overloaded by a local version, the
-    original was still run.  Chaos ensued when both modules executed.
-
- -- Matt Zimmerman <mdz at debian.org>  Thu, 25 Jul 2002 13:36:09 -0400
-
-rootstrap (0.3.3-1) unstable; urgency=low
-
-  * Don't fail if no network configuration is specified.  This allows
-    installations from local mirrors and CDs.
-    (Closes: #151478)
-  * Be more conservative, and fail the entire build process if any module
-    fails.  This makes it harder to overlook important errors.
-  * Clarify documentation for the debian/mirror option, which must be a
-    URL understood by debootstrap (Closes: #151482)
-
- -- Matt Zimmerman <mdz at debian.org>  Sun, 30 Jun 2002 19:41:56 -0400
-
-rootstrap (0.3.2-1) unstable; urgency=low
-
-  * Mount the working directory as a separate hostfs filesystem, rather
-    than assuming it will be available via the root-hostfs mount.  This
-    makes it possible to use /tmp as your workspace on the host
-    (Closes: #147712)
-
- -- Matt Zimmerman <mdz at debian.org>  Thu, 23 May 2002 20:02:09 -0400
-
-rootstrap (0.3.1-2) unstable; urgency=low
-
-  * Fix build-depends to reflect that we use docbook-to-man again
-    (Closes: #146590)
-
- -- Matt Zimmerman <mdz at debian.org>  Fri, 10 May 2002 23:57:08 -0400
-
-rootstrap (0.3.1-1) unstable; urgency=low
-
-  * Fix the mkisofs module so that it works with the new hostfs setup
-  * Remove build-dependency on mkcramfs
-  * Update uml module to add an fstab entry for /proc
-
- -- Matt Zimmerman <mdz at debian.org>  Tue,  7 May 2002 23:10:43 -0400
-
-rootstrap (0.3-1) unstable; urgency=low
-
-  * Get rid of the cramfs hack, instead use tmpfs filesystems to overlay
-    the parts of the host filesystem that we don't want (such as /etc)
-  * Fix all modules to use $TARGET instead of /target, as the target mount
-    point has moved (and could again).  All custom modules must be updated
-    to use $TARGET.
-  * Add a setting to rootstrap.conf to allow configuration of a nameserver
-    (Closes: #143171)
-
- -- Matt Zimmerman <mdz at debian.org>  Wed, 17 Apr 2002 22:15:55 -0400
-
-rootstrap (0.2.4-1) unstable; urgency=low
-
-  * Build the man page with docbook-to-man instead of docbook2man, because
-    the latter seems to garble the output (Closes: #140857)
-  * Append /sbin:/usr/sbin to PATH when building, to ensure that mkcramfs
-    can be found (Closes: #142130)
-
- -- Matt Zimmerman <mdz at debian.org>  Wed, 10 Apr 2002 23:19:25 -0400
-
-rootstrap (0.2.3-1) unstable; urgency=low
-
-  * New code release
-    - Fix a bug in the creation of ubd devices by the uml module
-
- -- Matt Zimmerman <mdz at debian.org>  Thu, 28 Mar 2002 22:13:26 -0500
-
-rootstrap (0.2.2-1) unstable; urgency=low
-
-  * New code release
-    - Add an option to the debian module to install additional packages
-      with apt
-    - Make the installation of uml kernel modules an optional behaviour
-    - Use DEBCONF_FRONTEND=Noninteractive to suppress warning messages
-      about debconf falling back to it from other frontends
-    - Manually create a ubd0 device for UML, since potato's MAKEDEV
-      doesn't understand ubd
-    - Append /sbin:/usr/sbin to PATH so that we can always find tune2fs if
-      it is installed (Closes: #138398)
-
- -- Matt Zimmerman <mdz at debian.org>  Sat, 16 Mar 2002 16:14:01 -0500
-
-rootstrap (0.2.1-1) unstable; urgency=low
-
-  * New code release
-    - Pass devfs=mount to UML when booting the initial filesystem, since
-      the latest packages do not mount it by default
-
- -- Matt Zimmerman <mdz at debian.org>  Wed, 13 Mar 2002 09:26:42 -0500
-
-rootstrap (0.2-1) unstable; urgency=low
-
-  * New code release
-    - Includes man page (Closes: #137849)
-    - No need to try to remount root read-only now that cramfs is used
-      (old cruft)
-    - Removed unused -p option; I forget what it was intended to do
-  * Depend on debootstrap >= 0.1.16.4, because that version fixes
-    --include
-
- -- Matt Zimmerman <mdz at debian.org>  Tue, 12 Mar 2002 23:54:25 -0500
-
-rootstrap (0.1-1) unstable; urgency=low
-
-  * Initial Release.
-
- -- Matt Zimmerman <mdz at debian.org>  Tue, 29 Jan 2002 03:58:56 -0500
-

Copied: tags/src/rootstrap/0.3.24-1/debian/changelog (from rev 251, trunk/src/rootstrap/debian/changelog)

Deleted: tags/src/rootstrap/0.3.24-1/rootstrap
===================================================================
--- trunk/src/rootstrap/rootstrap	2006-11-04 20:28:57 UTC (rev 243)
+++ tags/src/rootstrap/0.3.24-1/rootstrap	2006-11-12 18:17:35 UTC (rev 253)
@@ -1,153 +0,0 @@
-#!/usr/bin/env python
-
-#     vim: tabstop=4 noexpandtab
-#
-#     rootstrap - Quickly and easily build Linux filesystem images
-#     Copyright (C) 2002 Matt Zimmerman <mdz at debian.org>
-#                   2006 Mattia Dongili <malattia at debian.org>
-#
-#     This program is free software; you can redistribute it and/or modify
-#     it under the terms of the GNU General Public License as published by
-#     the Free Software Foundation; either version 2 of the License, or
-#     (at your option) any later version.
-#
-#     This program is distributed in the hope that it will be useful,
-#     but WITHOUT ANY WARRANTY; without even the implied warranty of
-#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#     GNU General Public License for more details.
-#
-#     You should have received a copy of the GNU General Public License
-#     along with this program; if not, write to the Free Software
-#     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-#
-
-import os
-import sys
-import getopt
-import ConfigParser
-import shutil
-
-def usage(exitcode):
-    sys.stderr.write("Usage: rootstrap [options] <output image file>\n")
-    sys.exit(exitcode)
-
-config = ConfigParser.ConfigParser()
-config.readfp(open('/etc/rootstrap/rootstrap.conf'))
-config.read(('rootstrap.conf',))
-
-try:
-    (optlist,args) = getopt.getopt(sys.argv[1:], 's:u:o:c:',
-                                   ['image-size=', 'umlarg=', 'config='])
-except getopt.GetoptError:
-    usage(1)
-
-if len(args) < 1:
-    usage(1)
-
-# So that we can find tune2fs, resize2fs and such
-os.environ['PATH'] += ':/sbin:/usr/sbin'
-# So that we can find uml_net when installed in /usr/lib/uml
-os.environ['PATH'] += ':/usr/lib/uml'
-
-imagefile = args[0]
-imagesize = config.getint('global', 'initialsize')
-log = sys.stdout
-umlargs = ['linux']
-umlargs_extra = []
-
-for opt,arg in optlist:
-    if opt in ('-s', '--image-size'):
-        imagesize = long(arg)
-    elif opt in ('-o',):
-        log = open(arg,"w")
-        os.dup2(log.fileno(), sys.stdout.fileno())
-    elif opt in ('-c', '--config'):
-        umlargs_extra.append('rsconfig=%s' % os.path.abspath(os.path.expanduser(arg)))
-    elif opt in ('-u', '--umlarg'):
-        umlargs_extra.extend(arg.split())
-
-if config.has_option('network', 'interface'):
-    netif = config.get('network', 'interface', None)
-    if netif != None:
-        transport = config.get('network', 'transport')
-        if transport == 'tuntap':
-            if config.has_option('network','host_if'):
-                # Preconfigured tap
-                host_if = config.get('network','host_if')
-            else:
-                host_if = ''
-            hostaddr = config.get('network', 'host')
-            umlargs.append('%s=%s,%s,,%s' % (netif,transport,host_if,hostaddr))
-        elif transport == 'slirp':
-            umlargs.append('%s=slirp,,%s' % (netif, config.get('network','slirp','slirp')))
-        elif transport == 'daemon':
-            if config.has_option('network', 'control'):
-                umlargs.append('%s=daemon,,,%s' % (netif,
-                                                   config.get('network', 'control'),
-                                                   ))
-            else:
-                umlargs.append('%s=daemon' % netif)
-        else:
-            sys.stderr.write('Unsupported transport: %s' % transport)
-            sys.exit(1)
-
-umlargs.extend(umlargs_extra)
-
-umlargs.extend(['con0=fd:0,fd:1',
-                'con=pts',
-		'root=/dev/root',
-		'rootflags=/',
-		'rootfstype=hostfs',
-                'ubd1=' + imagefile,
-                'init=/usr/lib/rootstrap/builder',
-                'devfs=nomount',
-                'rsworkdir=' + os.getcwd()])
-if config.has_option('global', 'umlargs'):
-    umlargs.extend(config.get('global', 'umlargs').split())
-
-if os.path.isfile(imagefile):
-    os.remove(imagefile)
-
-if not os.path.exists(imagefile):
-    image = open(imagefile,'w')
-    image.truncate(imagesize * 1048576L)
-    image.close()
-
-if os.spawnvpe(os.P_WAIT,umlargs[0], umlargs, os.environ) != 0:
-    sys.stderr.write("UML exited with non-zero status, aborting\n")
-    sys.exit(1)
-
-if config.has_option('global', 'freespace') and os.path.isfile(imagefile):
-    freespace_wanted = long(config.getint('global', 'freespace'))
-    if freespace_wanted != 0:
-        tune2fs = os.popen('tune2fs -l ' + imagefile)
-        freeblocks_natural = -1L
-        block_size = -1L
-        for line in tune2fs.readlines():
-            if line.find(':') == -1:
-                continue
-            label, value = line.split(':', 1)
-            if label == 'Block count':
-                size_natural = long(value)
-            elif label == 'Free blocks':
-                freeblocks_natural = long(value)
-            elif label == 'Block size':
-                block_size = long(value)
-                
-        tune2fs.close()
-                
-        if block_size == -1:
-            sys.stderr.write("Warning: Unable to determine block size, not resizing\n")
-        else:
-            print "Resizing filesystem..."
-            if freeblocks_natural == -1:
-                sys.stderr.write("Warning: Unable to determine free space, not resizing\n")
-            else:
-                freeblocks_wanted = freespace_wanted * block_size
-                if freeblocks_natural != freeblocks_wanted:
-                    size_wanted = size_natural - freeblocks_natural + freeblocks_wanted
-                    resize2fs = os.popen('resize2fs -f %s %s 2>&1' % (imagefile, size_wanted))
-                    sys.stdout.write(resize2fs.read())
-                    image = open(imagefile, 'r+')
-                    image.truncate(size_wanted * block_size)
-                    image.close()

Copied: tags/src/rootstrap/0.3.24-1/rootstrap (from rev 250, trunk/src/rootstrap/rootstrap)

Deleted: tags/src/rootstrap/0.3.24-1/rootstrap.conf
===================================================================
--- trunk/src/rootstrap/rootstrap.conf	2006-11-04 20:28:57 UTC (rev 243)
+++ tags/src/rootstrap/0.3.24-1/rootstrap.conf	2006-11-12 18:17:35 UTC (rev 253)
@@ -1,166 +0,0 @@
-#
-# Global settings, these are passed on to all modules
-#
-[global]
-fstype=ext2
-
-# How large to create the initial image (MB).  Be generous, as image
-# creation will fail if it is too small, and it will be created as a
-# sparse file, making it relatively inexpensive
-initialsize=1024
-
-# Will be resized to leave this much free space (MB) when building is
-# complete.  Leave unset or set to 0 to disable resizing.
-freespace=0
-
-# Which modules to invoke.  Each module can have its own section
-# below, with module-specific settings
-modules=network mkfs mount debian uml umount
-
-# Global environment variables
-PATH=/bin:/sbin:/usr/bin:/usr/sbin
-
-# Use of a caching proxy is highly recommended where a local mirror is
-# not available, so that packages are not fetched many times
-# unnecessarily.  I use squid.
-#http_proxy=http://192.168.10.1:3128
-
-# UML supplemental arguments
-# uncomment the following if you're running heavy processes in the
-# image creation, such as creating locales
-#umlargs=mem=128M
-
-# Debugging stuff, if a rootstrap module fails spawn a shell to allow
-# investigating. Set the following variable to "true" if you want 
-# such behaviour.
-#debug=true
-
-#
-# Networking
-#
-# required unless you have a local copy of all packages to be installed
-# these settings are only used during installation
-
-[network]
-
-#hostname=rootstrap
-
-# TUN/TAP configuration
-
-# For proxy ARP, use host=<your host's LAN IP address> and
-# uml=<a free LAN IP address for UML's use>
-
-# For a routing configuration, or if the installation process does not
-# need to reach anywhere except the host, use a separate RFC1918
-# subnet for the virtual network between the host and UML.
-
-#interface=eth0
-#transport=tuntap
-#host=192.168.10.1
-#uml=192.168.10.2
-#netmask=255.255.255.252
-
-# For a preconfigured tap device (see tunctl(1))
-#host_if=tap0
-
-# Use this for slirp
-#interface=eth0
-#transport=slirp
-#host=
-#uml=10.0.2.15
-#nameserver=10.0.2.3
-#gateway=10.0.2.2
-#netmask=255.255.0.0
-#slirp=slirp-fullbolt
-
-# Use this for uml_switch.  uml-utilities will automatically start one
-# up, and users in the uml-net group can access it.  Connect it to
-# a tap device to access the host (see /etc/default/uml-utilities)
-#interface=eth0
-#transport=daemon
-#uml=192.168.0.2
-#netmask=255.255.255.0
-#control=/var/run/uml-utilities/uml_switch.ctl
-#data=/var/run/uml-utilities/uml_switch.data
-
-# Gateway address (optional)
-# Note: you must have IP forwarding set up, or use proxy ARP, in order
-# to reach external hosts.  See the User-Mode Linux documentation.
-#gateway=192.168.10.1
-
-# DNS configuration
-# optional if you are fetching packages through a proxy
-
-#domain=example.com
-#nameserver=192.168.10.1
-
-#
-# Debian module
-#
-[debian]
-dist=sarge
-
-# A local mirror is best, a caching proxy (such as squid) 
-# is almost as good
-mirror=http://http.us.debian.org/debian
-
-# Packages which should not be installed in the first place (be sure
-# you know what you're doing)
-exclude=pcmcia-cs setserial
-
-# Packages which should be purged after the initial install
-#<purge=base-config console-common console-tools console-data console-tools-libs
-
-# Extra packages to install via debootstrap
-#include=myfavoritepackage someotherpackage
-
-# Extra packages to install via apt after initial debootstrap install
-#install=myfavoritepackage someotherpackage
-
-# A debconf DB file where to get preseeded answers
-#debconf_preseed_file=/etc/rootstrap/config.dat
-
-# Sources for target's sources list. If no value is given the default
-# is to use the main section of $mirror
-# NOTE: you can provide multiple lines if each new line is indented
-# with blank spaces
-#sources=
-# deb http://security.debian.org/ stable/updates main contrib non-free
-# deb http://http.us.debian.org/debian sarge main contrib non-free
-
-# Use the --force-yes switch for apt-get, useful for e.g. installing
-# packages from untrusted sources (in the apt-key sense)
-#apt_force_yes=true
-
-# Entries for target's /etc/apt/preferences
-# NOTE: you can provide multiple lines if each new line is indented
-# with blank spaces. apt_preferences atanzas mut be separated by
-# a line containing only a dot (".")
-#preferences=
-# Package: *
-# Pin: release unstable
-# Pin-Priority: 300
-# .
-# Package: *
-# Pin: release testing
-# Pin-Priority: 400
-
-# Entries for target's /etc/apt/apt.conf
-# NOTE: you can provide multiple lines if each new line is indented
-# with blank spaces
-#apt_conf=
-# Acquire::http::Proxy {"http://[[user][:pass]@]host[:port]/"};
-# Acquire::ftp::Proxy {"ftp://[[user][:pass]@]host[:port]/"};
-
-[base-config]
-root_password=rootstrap
-
-[tasksel]
-# This should always include -n.  See tasksel(8)
-#flags=-n -s
-
-[uml]
-kernel_modules=copy
-kernel_modules_dir=/usr/lib/uml/modules
-# deprecated option
-#install_modules=yes

Copied: tags/src/rootstrap/0.3.24-1/rootstrap.conf (from rev 245, trunk/src/rootstrap/rootstrap.conf)

Deleted: tags/src/rootstrap/0.3.24-1/rootstrap.sgml
===================================================================
--- trunk/src/rootstrap/rootstrap.sgml	2006-11-04 20:28:57 UTC (rev 243)
+++ tags/src/rootstrap/0.3.24-1/rootstrap.sgml	2006-11-12 18:17:35 UTC (rev 253)
@@ -1,766 +0,0 @@
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
-
-<!-- Process this file with docbook-to-man to generate an nroff manual
-     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
-     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
-     less'.  A typical entry in a Makefile or Makefile.am is:
-
-manpage.1: manpage.sgml
-	docbook-to-man $< > $@
-  -->
-
-  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
-  <!ENTITY dhfirstname "<firstname>Matt</firstname>">
-  <!ENTITY dhsurname   "<surname>Zimmerman</surname>">
-  <!-- Please adjust the date whenever revising the manpage. -->
-  <!ENTITY dhdate      "<date>March 12, 2002</date>">
-  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
-       allowed: see man(7), man(1). -->
-  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
-  <!ENTITY dhemail     "<email>mdz at debian.org</email>">
-  <!ENTITY dhusername  "Matt Zimmerman">
-  <!ENTITY dhucpackage "<refentrytitle>rootstrap</refentrytitle>">
-  <!ENTITY dhpackage   "rootstrap">
-
-  <!ENTITY debian      "<productname>Debian GNU/Linux</productname>">
-  <!ENTITY gnu         "<acronym>GNU</acronym>">
-]>
-
-<refentry>
-  <refentryinfo>
-    <address>
-      &dhemail;
-    </address>
-    <author>
-      &dhfirstname;
-      &dhsurname;
-    </author>
-    <copyright>
-      <year>2002</year>
-      <holder>&dhusername;</holder>
-    </copyright>
-    &dhdate;
-  </refentryinfo>
-  <refmeta>
-    &dhucpackage;
-
-    &dhsection;
-  </refmeta>
-  <refnamediv>
-    <refname>&dhpackage;</refname>
-
-    <refpurpose>Construct a root filesystem image in a file</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <cmdsynopsis>
-      <command>rootstrap</command>
-      <arg choice=opt
-      rep=repeat><replaceable>options</replaceable></arg>
-
-      <arg choice=req><replaceable>imagefile</replaceable></arg>
-
-    </cmdsynopsis>
-  </refsynopsisdiv>
-  <refsect1>
-    <title>DESCRIPTION</title>
-
-    <para>
-      rootstrap is a tool for creating root filesystem images.  It was
-      written primarily for use with User-Mode Linux, but may be
-      useful for other purposes as well.
-    </para>
-
-    <para>
-      Because it uses User-Mode Linux to bootstrap itself, rootstrap
-      can be used without root privileges on the host system, which
-      are normally required for this task in order to use chroot(2)
-      and mount and unmount filesystems.  Rootstrap boots UML and uses
-      tools from the host filesystem to perform installation and
-      configuration tasks.
-    </para>
-
-    <para>
-      Note: since roostrap needs to access the host filesystem it requires an
-      UML kernel with hostfs built-in (CONFIG_HOSTFS=y), not as module.
-    </para>
-
-  </refsect1>
-  <refsect1>
-    <title>OPTIONS</title>
-
-    <variablelist>
-      <varlistentry>
-        <term>-s, --image-size</term>
-        <listitem>
-          <para>
-            Sets the initial size of the image, in megabytes,
-            overriding the initialsize option in rootstrap.conf.
-          </para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term>-o <replaceable>logfile</replaceable></term>
-        <listitem>
-          <para>
-            Log the output of the creation process to
-            <replaceable>logfile</replaceable> instead of to standard
-            output.
-          </para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term>-u <replaceable>args</replaceable>, --umlargs <replaceable>args</replaceable></term>
-        <listitem>
-          <para>
-            Pass additional arguments to user-mode linux when booting
-            to create the image.  Supplements the 'umlargs' option in
-            rootstrap.conf.
-          </para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-
-  </refsect1>
-
-  <refsect1>
-    <title>Configuration</title>
-
-    <para>
-      The configuration file consists of sections, starting with a
-      "[section]" header, followed by "option=value" entries.
-      Long values are allowed to span multiple lines if
-      each continued line is indented with whitespace.
-    </para>
-
-    <para>
-      With the exception of the special section "global", sections are
-      named after a corresponding module.  When that module is
-      executed, it receives the option/value pairs in its section as
-      environment variables.  All modules inherit global options as
-      environment variables, except where overridden by options within
-      their specific section.  At least PATH must be set here, in
-      addition to the required parameters listed below under [global].
-    </para>
-
-    <para>
-      Documentation for configurable modules distributed with
-      rootstrap is included below.  This section is currently
-      incomplete.
-    </para>
-    <para>
-      Note that the modules shipped with rootstrap have a
-      recommended ordering due to their cooperation in building
-      the guest OS image, equivalent modules can be used for 
-      each of these tasks:
-      <orderedlist>
-        <listitem>
-	  <para>setup guest network (if you need it for OS installation)</para>
-	</listitem>
-        <listitem>
-	  <para>create the target filesystem</para>
-	</listitem>
-        <listitem>
-	  <para>mount target filesystem in the guest Linux</para>
-	</listitem>
-        <listitem>
-	  <para>OS installation</para>
-	</listitem>
-        <listitem>
-	  <para>UML basic setup (device nodes, kernel modules, etc.)</para>
-	</listitem>
-        <listitem>
-	  <para>Tweaking (here you should have a fully working OS to play with)</para>
-	</listitem>
-        <listitem>
-	  <para>unmount the target filesystem</para>
-	</listitem>
-      </orderedlist>
-    </para>
-
-  </refsect1>
-
-  <refsect1>
-    <title>Modules</title>
-
-    <refsect2>
-      <title>[global]</title>
-
-      <para>
-        Contains configuration options that affect the operation of
-        rootstrap itself, or several modules.
-      </para>
-
-      <variablelist>
-        <varlistentry>
-          <term>fstype</term>
-          <listitem>
-            <para>
-              The type of filesystem to create
-              (ext2, ext3, reiserfs, etc.)
-              This parameter is mandatory.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>PATH</term>
-          <listitem>
-            <para>
-              The PATH environment variable to pass to modules.
-              This parameter is mandatory.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>initialsize</term>
-          <listitem>
-            <para>
-              The initial size of the filesystem image (in megabytes).
-              This must be large enough to contain a complete
-              installed system as produced by the selected modules.
-              It will be created sparsely, so additional space is not
-              entirely allocated until it is used.
-              This parameter is mandatory.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>freespace</term>
-          <listitem>
-            <para>
-              The amount of free space to leave on the filesystem (in
-              megabytes).  The filesystem will be resized, if
-              possible, to adjust the amount of free space to
-              approximately this amount.
-              This parameter is optional.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>modules</term>
-          <listitem>
-            <para>
-              The list of modules to invoke, in order.  Each module
-              will be searched for in several directories, listed in
-              the FILES section below, and passed environment
-              variables based on the options set in the corresponding
-              section of the configuration file.
-              This parameter is mandatory.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>debug</term>
-          <listitem>
-            <para>
-	      When set to "true" make rootstrap spawn a shell when a module
-	      script fails allowing further debugging actions.
-	      The shell will have the same environment as the failing script so
-	      you could simply invoke <command>sh -x /path/to/module</command>
-	      to see what's going wrong. Moreover the shell exit value will be
-	      used to tell rootstrap to: re-evaluate the script when 1 (with exit 1)
-	      or continue with the next one when 2 (with exit 2); all other values
-	      will make rootstrap fail with an error.
-              This parameter is optional.
-            </para>
-          </listitem>
-        </varlistentry>
-
-      </variablelist>
-    </refsect2>
-
-    <refsect2>
-      <title>[network]</title>
-
-      <para>
-        Network configuration.  This module configures virtual
-        networking with the user-mode Linux system used to build the
-        filesystem image.  Its presence is not strictly necessary, if
-        the selected modules do not require network access (for
-        example, with a local package mirror) and the network module
-        is not included in the global "modules" list.
-      </para>
-
-      <variablelist>
-        <varlistentry>
-          <term>interface</term>
-          <listitem>
-            <para>
-              The name of the network interface to configure
-              inside the UML virtual machine,
-              typically "eth0".
-              This parameter is mandatory.
-              </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>host</term>
-          <listitem>
-            <para>
-              The IP address of the host side of the interface
-              (the host on which rootstrap is run),
-              as visible to the UML virtual machine.
-              This parameter is mandatory.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>uml</term>
-          <listitem>
-            <para>
-              The IP address of the UML side of the interface (where
-              the system is being built). The value "dhcp" is also accepted
-	      and makes rootstrap try to configure the network interface 
-	      through DHCP.
-	      This parameter is mandatory.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>transport</term>
-          <listitem>
-            <para>
-              The type of virtual networking interface to be used.
-              Typically "tuntap".
-              Other available transports are "slirp" and "daemon".
-              This parameter is mandatory.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>netmask</term>
-          <listitem>
-            <para>
-              The netmask for the network interface (applies to both
-              sides).  This parameter is mandatory.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>hostname</term>
-          <listitem>
-            <para>
-              The host name to use for the created UML virtual machine.
-              This parameter is optional.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>gateway</term>
-          <listitem>
-            <para>
-              A default gateway to be used by the user-mode Linux
-              system.  This parameter is optional.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>domain</term>
-          <listitem>
-            <para>
-	      The local domain name.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>nameserver</term>
-          <listitem>
-            <para>
-              The DNS server to use for domain name resolution inside
-              the UML virtual machine. This parameter is optional, but
-              useful if you do not have a name server running on the host.
-            </para>
-          </listitem>
-        </varlistentry>
-
-      </variablelist>
-
-    </refsect2>
-
-    <refsect2>
-	<title>[mkfs]</title>
-	<para>
-	  This module creates the filesystem for the rootfs.
-	  It uses the <parameter>fstype</parameter> global parameter.
-	</para>
-    </refsect2>
-
-    <refsect2>
-	<title>[mount]</title>
-	<para>
-	  This module mounts the root filesystem where the OS image is going to
-	  be created.
-	  It uses the <parameter>fstype</parameter> global parameter.
-	</para>
-    </refsect2>
-
-    <refsect2>
-	<title>[umount]</title>
-	<para>This module unmounts the root filesystem and /proc.</para>
-    </refsect2>
-
-    <refsect2>
-      <title>[uml]</title>
-      <para>
-        Creates /etc/fstab and necessary device nodes, it eventually copies 
-	kernel modules into the target image.
-	It uses the <parameter>fstype</parameter> global parameter.
-      </para>
-      <variablelist>
-        <varlistentry>
-          <term>kernel_modules</term>
-          <listitem>
-            <para>
-              How to deal with kernel modules for the guest Linux.
-	      It can be one of <parameter>none</parameter>,
-	      <parameter>hostfs</parameter> or 
-	      <parameter>copy</parameter>, defaults to the latter which copies
-	      the available modules in the target filesystem.
-            </para>
-          </listitem>
-        </varlistentry>
-        <varlistentry>
-          <term>kernel_modules_dir</term>
-          <listitem>
-            <para>
-	      The directory where <parameter>kernel_modules</parameter>
-	      are located on the host filesystem. It defaults to
-	      /usr/lib/uml/modules
-            </para>
-          </listitem>
-        </varlistentry>
-        <varlistentry>
-          <term>install_modules</term>
-          <listitem>
-            <para>
-	      This parameter is superseeded by
-	      <parameter>kernel_modules</parameter> and 
-	      <parameter>kernel_modules_dir</parameter>. It accepts a
-	      boolean value (true/false).
-            </para>
-          </listitem>
-        </varlistentry>
-      </variablelist>
-
-    </refsect2>
-
-    <refsect2>
-      <title>[debian]</title>
-
-      <para>
-        Debian installation.  This module installs a basic Debian
-        system using debootstrap.
-      </para>
-
-      <variablelist>
-        <varlistentry>
-          <term>dist</term>
-          <listitem>
-            <para>
-              The distribution to install (e.g., potato, woody, etc.)
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>mirror</term>
-          <listitem>
-            <para>
-              A URL for a Debian archive containing the base
-              packages.  This must be a URL understood by debootstrap,
-              which as of this writing includes URLs understood by
-              wget, and file: URLs.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>exclude</term>
-          <listitem>
-            <para>
-              A list of packages which should be excluded (never
-              installed at all).  It is quite possible to produce a
-              broken system, or fail to build a system at all, if this
-              option is used improperly.  It is useful for excluding
-              packages, such as pcmcia-cs, which are typically not
-              necessary for UML and other applications.
-            </para>
-
-            <para>
-              Corresponds to debootstrap's --exclude option
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>purge</term>
-          <listitem>
-            <para>
-              A list of packages which should be removed after
-              installation is complete.  Use this for packages which
-              are required during installation, but may be removed
-              afterward.  The same warning applies as with the exclude
-              option.
-            </para>
-
-            <para>
-              Packages are removed with dpkg --purge.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>include</term>
-          <listitem>
-            <para>
-              A list of packages which should be included in the
-              initial set of packages to install.
-            </para>
-
-            <para>
-              Corresponds to debootstrap's --include option.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>install</term>
-          <listitem>
-            <para>
-	      Extra packages to install via apt after initial debootstrap
-	      install.
-            </para>
-
-            <para>
-              See also the sources option.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>debconf_preseed_file</term>
-          <listitem>
-            <para>
-	      A file containing a debconf DB to be used as default.
-	      Read debconf documentation and see your /var/cache/debconf/config.dat
-	      for examples and caveats.
-            </para>
-
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>sources</term>
-          <listitem>
-            <para>
-	      Sources for target's sources.list. If no value is given the
-	      default is the main section of <parameter>mirror</parameter>.
-	      NOTE: you can provide multiple lines if each new line is indented
-	      with blank spaces.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>preferences</term>
-          <listitem>
-            <para>
-	      Preferences for target's apt preferences file (see apt_preferences(5)).
-	      NOTE: you can provide multiple lines if each new line is indented
-	      with blank spaces. Multiple apt_preferences stanzas are allowed provided
-	      that they are separated by a line containing only a dot (".") and
-	      obviously indented as specified above.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>apt_conf</term>
-          <listitem>
-            <para>
-	      Apt configuration for target's apt.conf file (see apt.conf(5)). The file
-	      will be created before installing additional packages so it will be already
-	      effective then.
-	      NOTE: you can provide multiple lines if each new line is indented
-	      with blank spaces.
-            </para>
-          </listitem>
-        </varlistentry>
-
-        <varlistentry>
-          <term>apt_force_yes</term>
-          <listitem>
-            <para>
-	      Will make rootstrap use the --force-yes switch to install 
-	      debian packages. This useful when you need to install packages
-	      from sources that don't use a Release.gpg file and thus failing
-	      apt key authentication. It can be either <parameter>true</parameter>
-	      or <parameter>false</parameter> and defaults to the former.
-            </para>
-	    <para>
-	      Be careful anyway as using this option "will cause apt to
-	      continue without prompting if it is doing something potentially
-	      harmful" (from apt-get(8)). This option is provided standalone instead
-	      of forcing its inclusion in <parameter>apt_conf</parameter> to
-	      avoid causing destructive actions later when using apt-get from the
-	      UML instance.
-	    </para>
-          </listitem>
-        </varlistentry>
-      </variablelist>
-
-    </refsect2>
-
-    <refsect2>
-      <title>Custom modules</title>
-
-      <para>
-        Custom modules can very easily be used by rootstrap, in
-        addition to (or in place of) the supplied modules.  See FILES
-        below for locations that are searched for modules.
-      </para>
-
-      <para>
-        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, 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
-        generated from the configuration file as described above.
-      </para>
-
-      <para>
-	Be careful about modules ordering (see CONFIGURATION above), you'll 
-	mostly want to plug into the tweaking step to perform custom configurations.
-      </para>
-
-      <para>
-        To debug modules enable the <parameter>debug</parameter> global 
-	parameter, see its description fro more hints.
-      </para>
-    </refsect2>
-
-  </refsect1>
-
-  <refsect1>
-    <title>FILES</title>
-
-    <variablelist>
-      <varlistentry>
-        <term>/etc/rootstrap/rootstrap.conf</term>
-        <listitem>
-          <para>
-            System-wide default configuration
-          </para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term>rootstrap.conf</term>
-        <listitem>
-          <para>
-            Local overrides
-          </para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term>/usr/lib/rootstrap/modules</term>
-        <listitem>
-          <para>
-            Modules distributed with rootstrap
-          </para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term>/etc/rootstrap/modules</term>
-        <listitem>
-          <para>
-            System-wide overrides and additional modules
-          </para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term>modules</term>
-        <listitem>
-          <para>
-            Local overrides and additional modules
-          </para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-            
-  </refsect1>
-
-  <refsect1>
-    <title>SEE ALSO</title>
-
-    <para>
-      <citerefentry>
-	<refentrytitle>debootstrap</refentrytitle><manvolnum>8</manvolnum>
-      </citerefentry>,
-      <citerefentry>
-	<refentrytitle>apt_preferences</refentrytitle><manvolnum>5</manvolnum>
-      </citerefentry>,
-      <citerefentry>
-	<refentrytitle>apt.conf</refentrytitle><manvolnum>5</manvolnum>
-      </citerefentry>,
-      <citerefentry>
-	<refentrytitle>debconf</refentrytitle><manvolnum>7</manvolnum>
-      </citerefentry>,
-      <citerefentry>
-	<refentrytitle>linux</refentrytitle><manvolnum>1</manvolnum>
-      </citerefentry>;
-      locally installed User-Mode Linux documentation or
-      <ulink url="http://user-mode-linux.sourceforge.net/">
-	http://user-mode-linux.sourceforge.net/
-      </ulink>
-    </para>
-  </refsect1>
-
-  <refsect1>
-    <title>AUTHOR</title>
-
-    <para>Rootstrap was written by &dhusername; &dhemail;</para>
-
-  </refsect1>
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:2
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-default-dtd-file:nil
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
--->

Copied: tags/src/rootstrap/0.3.24-1/rootstrap.sgml (from rev 246, trunk/src/rootstrap/rootstrap.sgml)




More information about the Pkg-uml-commit mailing list