[Debian-live-changes] r2211 - dists/trunk/live-helper/helpers

daniel at alioth.debian.org daniel at alioth.debian.org
Tue Jun 19 15:48:35 UTC 2007


Author: daniel
Date: 2007-06-19 15:48:35 +0000 (Tue, 19 Jun 2007)
New Revision: 2211

Removed:
   dists/trunk/live-helper/helpers/lh_config_clone
Log:


Deleted: dists/trunk/live-helper/helpers/lh_config_clone
===================================================================
--- dists/trunk/live-helper/helpers/lh_config_clone	2007-06-19 15:48:24 UTC (rev 2210)
+++ dists/trunk/live-helper/helpers/lh_config_clone	2007-06-19 15:48:35 UTC (rev 2211)
@@ -1,66 +0,0 @@
-#!/bin/sh
-
-# lh_clone_clone(1) - clone by cloning the host system
-# Copyright (C) 2006-2007 Daniel Baumann <daniel at debian.org>
-#
-# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
-# This is free software, and you are welcome to redistribute it
-# under certain conditions; see COPYING for details.
-
-set -e
-
-# Including common functions
-LH_BASE="${LH_BASE:-/usr/share/live-helper}"
-
-for FUNCTION in "${LH_BASE}"/functions/*.sh
-do
-	. "${FUNCTION}"
-done
-
-# Setting static variables
-DESCRIPTION="create configuration based on host system"
-HELP=""
-USAGE="${PROGRAM} [--force]"
-
-Arguments "${@}"
-
-# Reading configuration files
-Read_conffile config/common
-Read_conffile config/bootstrap
-Read_conffile config/chroot
-Read_conffile config/binary
-Read_conffile config/source
-Set_defaults
-
-if [ "${LH_BOOTSTRAP}" != "clone" ]
-then
-	exit 0
-fi
-
-Echo_message "Begin bootstrapping system..."
-
-# Ensure that a system is built as root
-lh_testroot
-
-# Checking stage file
-Check_stagefile .stage/bootstrap
-
-# Checking lock file
-Check_lockfile .lock
-
-# Creating lock file
-Create_lockfile .lock
-
-# Read package selection
-echo `dpkg --get-selections | awk '{ print $1 }'` > config/chroot_local-packageslists/local-system
-
-# Read debconf questions
-if [ ! -f /usr/bin/debconf-get-selections ]
-then
-	Echo_warning "Please install 'debconf-utils' in order to use this feature."
-else
-	debconf-get-selections | grep -v deinstall | cut -f1 > config/chroot_local-preseed/local-system
-fi
-
-# Creating stage file
-Create_stagefile .stage/bootstrap




More information about the Debian-live-changes mailing list