[Debian-live-changes] r879 - in dists/trunk/live-helper: doc functions helpers

Daniel Baumann daniel at alioth.debian.org
Thu Mar 29 15:39:36 CET 2007


Author: daniel
Date: 2007-03-29 14:39:36 +0000 (Thu, 29 Mar 2007)
New Revision: 879

Added:
   dists/trunk/live-helper/functions/common.sh
   dists/trunk/live-helper/functions/echo.sh
Modified:
   dists/trunk/live-helper/doc/ChangeLog
   dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap
   dists/trunk/live-helper/helpers/lh_bootstrap_debootstrap
   dists/trunk/live-helper/helpers/lh_clean
   dists/trunk/live-helper/helpers/make-live
Log:


Modified: dists/trunk/live-helper/doc/ChangeLog
===================================================================
--- dists/trunk/live-helper/doc/ChangeLog	2007-03-29 14:20:16 UTC (rev 878)
+++ dists/trunk/live-helper/doc/ChangeLog	2007-03-29 14:39:36 UTC (rev 879)
@@ -1,5 +1,7 @@
 2006-03-29  Daniel Baumann  <daniel at debian.org>
 
+	* functions/common.sh, echo.sh:
+	  - Added.
 	* doc/README, helpers/lh_source, manpages/lh_binary.1, live-helper.7:
 	  - Added forgotten helpers.
 	* doc/FAQ:

Added: dists/trunk/live-helper/functions/common.sh
===================================================================
--- dists/trunk/live-helper/functions/common.sh	2007-03-29 14:20:16 UTC (rev 878)
+++ dists/trunk/live-helper/functions/common.sh	2007-03-29 14:39:36 UTC (rev 879)
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# common.sh - common things for all live-helpers
+# 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
+
+# Ensure that a system is built as root
+lh_testroot


Property changes on: dists/trunk/live-helper/functions/common.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: dists/trunk/live-helper/functions/echo.sh
===================================================================
--- dists/trunk/live-helper/functions/echo.sh	2007-03-29 14:20:16 UTC (rev 878)
+++ dists/trunk/live-helper/functions/echo.sh	2007-03-29 14:39:36 UTC (rev 879)
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+# echo.sh - define output methods
+# 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
+
+Echo_debug ()
+{
+	if [ "${DEBUG}" = "true" ]
+	then
+		echo "${@}"
+	fi
+}
+
+Echo_message ()
+{
+	if [ "${QUIET}" != "true" ]
+	then
+		echo "${@}"
+	fi
+}
+
+Echo_quiet ()
+{
+	if [ "${QUIET}" = "true" ]
+	then
+		echo "${@}"
+	fi
+}
+
+Echo_verbose ()
+{
+	if [ "${VERBOSE}" = "true" ]
+	then
+		echo "${@}"
+	fi
+}


Property changes on: dists/trunk/live-helper/functions/echo.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap
===================================================================
--- dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap	2007-03-29 14:20:16 UTC (rev 878)
+++ dists/trunk/live-helper/helpers/lh_bootstrap_cdebootstrap	2007-03-29 14:39:36 UTC (rev 879)
@@ -22,9 +22,6 @@
 
 Arguments "${@}"
 
-# Ensure that a system is built as root
-lh_testroot
-
 # Reading configuration files
 Read_conffile config/common
 Read_conffile config/bootstrap

Modified: dists/trunk/live-helper/helpers/lh_bootstrap_debootstrap
===================================================================
--- dists/trunk/live-helper/helpers/lh_bootstrap_debootstrap	2007-03-29 14:20:16 UTC (rev 878)
+++ dists/trunk/live-helper/helpers/lh_bootstrap_debootstrap	2007-03-29 14:39:36 UTC (rev 879)
@@ -22,9 +22,6 @@
 
 Arguments "${@}"
 
-# Ensure that a system is built as root
-lh_testroot
-
 # Reading configuration files
 Read_conffile config/common
 Read_conffile config/bootstrap

Modified: dists/trunk/live-helper/helpers/lh_clean
===================================================================
--- dists/trunk/live-helper/helpers/lh_clean	2007-03-29 14:20:16 UTC (rev 878)
+++ dists/trunk/live-helper/helpers/lh_clean	2007-03-29 14:39:36 UTC (rev 879)
@@ -22,9 +22,6 @@
 
 Arguments "${@}"
 
-# Ensure that a system is built as root
-lh_testroot
-
 # Reading configuration files
 Read_conffile config/common
 Set_defaults

Modified: dists/trunk/live-helper/helpers/make-live
===================================================================
--- dists/trunk/live-helper/helpers/make-live	2007-03-29 14:20:16 UTC (rev 878)
+++ dists/trunk/live-helper/helpers/make-live	2007-03-29 14:39:36 UTC (rev 879)
@@ -316,9 +316,6 @@
 
 	Local_arguments "${@}"
 
-	# Initializing
-	lh_testroot
-
 	# Configuring (this is really shit!)
 	LH_APT="${LH_APT}" LH_APT_FTPPROXY="${LH_APT_FTPPROXY}" LH_APT_HTTPPROXY="${LH_APT_HTTPPROXY}" LH_APT_GENERIC="${LH_APT_GENERIC}" LH_APT_PDIFFS="${LH_APT_PDIFFS}" LH_APT_RECOMMENDS="${LH_APT_RECOMMENDS}" LH_APT_SECURE="${LH_APT_SECURE}" LH_BOOTSTRAP="${LH_BOOTSTRAP}" LH_CACHE="${LH_CACHE}" LH_DEBCONF_FRONTEND="${LH_DEBCONF_FRONTEND}" LH_DEBCONF_PRIORITY="${LH_DEBCONF_PRIORITY}" LH_GENISOIMAGE="${LH_GENISOIMAGE}" LIVE_ROOT="${LIVE_ROOT}" LIVE_ARCHITECTURE="${LIVE_ARCHITECTURE}" LIVE_DISTRIBUTION="${LIVE_DISTRIBUTION}" LIVE_DISTRIBUTION_CONFIG="${LIVE_DISTRIBUTION_CONFIG}" LIVE_BOOTSTRAP_FLAVOUR="${LIVE_BOOTSTRAP_FLAVOUR}" LIVE_MIRROR_BUILD="${LIVE_MIRROR_BUILD}" LIVE_MIRROR_BUILD_SECURITY="${LIVE_MIRROR_BUILD_SECURITY}" LIVE_MIRROR_IMAGE="${LIVE_MIRROR_IMAGE}" LIVE_MIRROR_IMAGE_SECURITY="${LIVE_MIRROR_IMAGE_SECURITY}" LIVE_SECTIONS="${LIVE_SECTIONS}" LIVE_INTERACTIVE="${LIVE_INTERACTIVE}" LIVE_KERNEL_FLAVOUR="${LIVE_KERNEL_FLAVOUR}" LIVE_KERNEL_PACKAGES="${LIVE_KERNEL_PACKAGES}" LIVE_LANGUAGE="${LIVE_LANGUAGE}" LIVE_PACKAGES="${LIVE_PACKAGES}" LIVE_PACKAGES_LISTS="${LIVE_PACKAGES_LISTS}" LIVE_TASKS="${LIVE_TASKS}" LIVE_SECURITY="${LIVE_SECURITY}" LIVE_SYMLINKS="${LIVE_SYMLINKS}" LIVE_SYSVINIT="${LIVE_SYSVINIT}" LIVE_BOOTAPPEND="${LIVE_BOOTAPPEND}" LIVE_ENCRYPTION="${LIVE_ENCRYPTION}" LIVE_USERNAME="${LIVE_USERNAME}" LIVE_HOSTNAME="${LIVE_HOSTNAME}" LIVE_FILESYSTEM="${LIVE_FILESYSTEM}" LIVE_MEMTEST86="${LIVE_MEMTEST86}" LIVE_ISO_VOLUME="${LIVE_ISO_VOLUME}" LIVE_SERVER_ADDRESS="${LIVE_SERVER_ADDRESS}" LIVE_SERVER_PATH="${LIVE_SERVER_PATH}" LIVE_SOURCE="${LIVE_SOURCE}" LIVE_SYSLINUX="${LIVE_SYSLINUX}" LIVE_SYSLINUX_SPLASH="${LIVE_SYSLINUX_SPLASH}" LIVE_BINARY_IMAGE="${LIVE_BINARY_IMAGE}" LIVE_SOURCE_IMAGE="${LIVE_SOURCE_IMAGE}" LIVE_INCLUDES="${LIVE_INCLUDES}" LIVE_TEMPLATES="${LIVE_TEMPLATES}" lh_config newconfig
 




More information about the Debian-live-changes mailing list