summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-10-20 20:40:09 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:47 +0100
commit82cbc81b3d291ee86785bc6412de41a5e1516d67 (patch)
tree2282964ded3c901e0f88fa3b9a7cfcfa7786403f
parent74f7986e692305050019cca2c9c74868782e98e9 (diff)
downloadlive-build-82cbc81b3d291ee86785bc6412de41a5e1516d67.zip
live-build-82cbc81b3d291ee86785bc6412de41a5e1516d67.tar.gz
Deprecating all dashed forms of commands.
-rwxr-xr-xfunctions/legacy.sh18
-rwxr-xr-xhelpers/lh2
-rwxr-xr-xhelpers/lh_binary88
-rwxr-xr-xhelpers/lh_binary_rootfs144
-rwxr-xr-xhelpers/lh_bootstrap10
-rwxr-xr-xhelpers/lh_bootstrap_cdebootstrap2
-rwxr-xr-xhelpers/lh_bootstrap_copy2
-rwxr-xr-xhelpers/lh_bootstrap_debootstrap2
-rwxr-xr-xhelpers/lh_build8
-rwxr-xr-xhelpers/lh_chroot88
-rwxr-xr-xhelpers/lh_chroot_devpts2
-rwxr-xr-xhelpers/lh_chroot_proc2
-rwxr-xr-xhelpers/lh_chroot_selinuxfs2
-rwxr-xr-xhelpers/lh_chroot_sysfs2
-rwxr-xr-xhelpers/lh_source32
15 files changed, 211 insertions, 193 deletions
diff --git a/functions/legacy.sh b/functions/legacy.sh
new file mode 100755
index 0000000..422c20d
--- /dev/null
+++ b/functions/legacy.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# legacy.sh - handle live-helper 2.x warnigns
+# Copyright (C) 2006-2009 Daniel Baumann <daniel@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.
+
+# Obsoleting 'lh_foo_bar' calls in favour for 'lh foo_bar'
+
+BASENAME="$(basename ${0})"
+
+if [ -z "${LH}" ] && [ "$(echo ${BASENAME} | awk '{ print $1 }')" != "lh" ]
+then
+ Echo_warning "live-helper 2.0 will deprecate all dashed forms of commands."
+ Echo_warning "Please use \'$(echo ${BASENAME} | sed -e 's|lh_|lh |')\' instead of \'${BASENAME}\'."
+fi
diff --git a/helpers/lh b/helpers/lh
index 3ebaaa7..bb4d76b 100755
--- a/helpers/lh
+++ b/helpers/lh
@@ -36,7 +36,7 @@ case "${1}" in
if [ -x "$(which lh_${COMMAND} 2>/dev/null)" ]
then
- exec lh_"${COMMAND}" "${@}"
+ LH=1 exec lh_"${COMMAND}" "${@}"
else
Echo_error "no such helper"
exit 1
diff --git a/helpers/lh_binary b/helpers/lh_binary
index 2b299e7..91e04a4 100755
--- a/helpers/lh_binary
+++ b/helpers/lh_binary
@@ -27,69 +27,69 @@ Set_defaults
Setup_cleanup
# Preparing root filesystem
-lh_binary_chroot ${*}
+lh binary_chroot ${*}
if [ "${LH_CHROOT_BUILD}" = "enabled" ]
then
# Configuring chroot
- lh_chroot_devpts install ${*}
- lh_chroot_proc install ${*}
- lh_chroot_selinuxfs install ${*}
- lh_chroot_sysfs install ${*}
- lh_chroot_hosts install ${*}
- lh_chroot_resolv install ${*}
- lh_chroot_hostname install ${*}
- lh_chroot_apt install-binary ${*}
- lh_chroot_sources install ${*}
+ lh chroot_devpts install ${*}
+ lh chroot_proc install ${*}
+ lh chroot_selinuxfs install ${*}
+ lh chroot_sysfs install ${*}
+ lh chroot_hosts install ${*}
+ lh chroot_resolv install ${*}
+ lh chroot_hostname install ${*}
+ lh chroot_apt install-binary ${*}
+ lh chroot_sources install ${*}
fi
# Building root filesystem
-lh_binary_rootfs ${*}
-lh_binary_manifest ${*}
-lh_binary_encryption ${*}
+lh binary_rootfs ${*}
+lh binary_manifest ${*}
+lh binary_encryption ${*}
# Prepare images
-lh_binary_local-packageslists ${*}
-lh_binary_linux-image ${*}
-lh_binary_debian-installer ${*}
-lh_binary_memtest ${*}
-lh_binary_grub ${*}
-lh_binary_syslinux ${*}
-lh_binary_yaboot ${*}
-lh_binary_silo ${*}
-lh_binary_disk ${*}
-lh_binary_win32-loader ${*}
-lh_binary_includes ${*}
-lh_binary_local-includes ${*}
-lh_binary_local-hooks ${*}
-lh_binary_md5sum ${*}
+lh binary_local-packageslists ${*}
+lh binary_linux-image ${*}
+lh binary_debian-installer ${*}
+lh binary_memtest ${*}
+lh binary_grub ${*}
+lh binary_syslinux ${*}
+lh binary_yaboot ${*}
+lh binary_silo ${*}
+lh binary_disk ${*}
+lh binary_win32-loader ${*}
+lh binary_includes ${*}
+lh binary_local-includes ${*}
+lh binary_local-hooks ${*}
+lh binary_md5sum ${*}
if [ "${LH_CHROOT_BUILD}" != "enabled" ]
then
- lh_chroot_devpts install ${*}
- lh_chroot_proc install ${*}
- lh_chroot_selinuxfs install ${*}
- lh_chroot_sysfs install ${*}
+ lh chroot_devpts install ${*}
+ lh chroot_proc install ${*}
+ lh chroot_selinuxfs install ${*}
+ lh chroot_sysfs install ${*}
fi
# Building images
-lh_binary_iso ${*}
-lh_binary_net ${*}
-lh_binary_tar ${*}
-lh_binary_usb-hdd ${*}
-lh_binary_virtual-hdd ${*}
+lh binary_iso ${*}
+lh binary_net ${*}
+lh binary_tar ${*}
+lh binary_usb-hdd ${*}
+lh binary_virtual-hdd ${*}
if [ "${LH_CHROOT_BUILD}" = "enabled" ]
then
# Deconfiguring chroot
rm -f .stage/chroot_sources
- lh_chroot_hostname remove ${*}
- lh_chroot_resolv remove ${*}
- lh_chroot_hosts remove ${*}
+ lh chroot_hostname remove ${*}
+ lh chroot_resolv remove ${*}
+ lh chroot_hosts remove ${*}
fi
-lh_chroot_apt remove ${*}
-lh_chroot_sysfs remove ${*}
-lh_chroot_selinuxfs remove ${*}
-lh_chroot_proc remove ${*}
-lh_chroot_devpts remove ${*}
+lh chroot_apt remove ${*}
+lh chroot_sysfs remove ${*}
+lh chroot_selinuxfs remove ${*}
+lh chroot_proc remove ${*}
+lh chroot_devpts remove ${*}
diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs
index 25fbb15..dede662 100755
--- a/helpers/lh_binary_rootfs
+++ b/helpers/lh_binary_rootfs
@@ -152,34 +152,34 @@ case "${LH_CHROOT_FILESYSTEM}" in
rm -f .lock
mv chroot/chroot chroot.tmp
- lh_chroot_linux-image remove ${*}
- lh_chroot_sources remove ${*}
- lh_chroot_apt remove ${*}
- lh_chroot_hostname remove ${*}
- lh_chroot_resolv remove ${*}
- lh_chroot_hosts remove ${*}
- lh_chroot_sysv-rc remove ${*}
- lh_chroot_debianchroot remove ${*}
- lh_chroot_sysfs remove ${*}
- lh_chroot_selinuxfs remove ${*}
- lh_chroot_proc remove ${*}
- lh_chroot_devpts remove ${*}
+ lh chroot_linux-image remove ${*}
+ lh chroot_sources remove ${*}
+ lh chroot_apt remove ${*}
+ lh chroot_hostname remove ${*}
+ lh chroot_resolv remove ${*}
+ lh chroot_hosts remove ${*}
+ lh chroot_sysv-rc remove ${*}
+ lh chroot_debianchroot remove ${*}
+ lh chroot_sysfs remove ${*}
+ lh chroot_selinuxfs remove ${*}
+ lh chroot_proc remove ${*}
+ lh chroot_devpts remove ${*}
rm -rf chroot
mv chroot.tmp chroot
- lh_chroot_devpts install ${*}
- lh_chroot_proc install ${*}
- lh_chroot_selinuxfs install ${*}
- lh_chroot_sysfs install ${*}
- lh_chroot_debianchroot install ${*}
- lh_chroot_sysv-rc install ${*}
- lh_chroot_hosts install ${*}
- lh_chroot_resolv install ${*}
- lh_chroot_hostname install ${*}
- lh_chroot_apt install ${*}
- lh_chroot_sources install ${*}
- lh_chroot_linux-image install ${*}
+ lh chroot_devpts install ${*}
+ lh chroot_proc install ${*}
+ lh chroot_selinuxfs install ${*}
+ lh chroot_sysfs install ${*}
+ lh chroot_debianchroot install ${*}
+ lh chroot_sysv-rc install ${*}
+ lh chroot_hosts install ${*}
+ lh chroot_resolv install ${*}
+ lh chroot_hostname install ${*}
+ lh chroot_apt install ${*}
+ lh chroot_sources install ${*}
+ lh chroot_linux-image install ${*}
touch .lock
else
@@ -232,34 +232,34 @@ case "${LH_CHROOT_FILESYSTEM}" in
rm -f .lock
mv chroot/chroot chroot.tmp
- lh_chroot_linux-image remove ${*}
- lh_chroot_sources remove ${*}
- lh_chroot_apt remove ${*}
- lh_chroot_hostname remove ${*}
- lh_chroot_resolv remove ${*}
- lh_chroot_hosts remove ${*}
- lh_chroot_sysv-rc remove ${*}
- lh_chroot_debianchroot remove ${*}
- lh_chroot_sysfs remove ${*}
- lh_chroot_selinuxfs remove ${*}
- lh_chroot_proc remove ${*}
- lh_chroot_devpts remove ${*}
+ lh chroot_linux-image remove ${*}
+ lh chroot_sources remove ${*}
+ lh chroot_apt remove ${*}
+ lh chroot_hostname remove ${*}
+ lh chroot_resolv remove ${*}
+ lh chroot_hosts remove ${*}
+ lh chroot_sysv-rc remove ${*}
+ lh chroot_debianchroot remove ${*}
+ lh chroot_sysfs remove ${*}
+ lh chroot_selinuxfs remove ${*}
+ lh chroot_proc remove ${*}
+ lh chroot_devpts remove ${*}
rm -rf chroot
mv chroot.tmp chroot
- lh_chroot_devpts install ${*}
- lh_chroot_proc install ${*}
- lh_chroot_selinuxfs install ${*}
- lh_chroot_sysfs install ${*}
- lh_chroot_debianchroot install ${*}
- lh_chroot_sysv-rc install ${*}
- lh_chroot_hosts install ${*}
- lh_chroot_resolv install ${*}
- lh_chroot_hostname install ${*}
- lh_chroot_apt install ${*}
- lh_chroot_sources install ${*}
- lh_chroot_linux-image install ${*}
+ lh chroot_devpts install ${*}
+ lh chroot_proc install ${*}
+ lh chroot_selinuxfs install ${*}
+ lh chroot_sysfs install ${*}
+ lh chroot_debianchroot install ${*}
+ lh chroot_sysv-rc install ${*}
+ lh chroot_hosts install ${*}
+ lh chroot_resolv install ${*}
+ lh chroot_hostname install ${*}
+ lh chroot_apt install ${*}
+ lh chroot_sources install ${*}
+ lh chroot_linux-image install ${*}
else
rm -rf chroot/chroot
fi
@@ -343,34 +343,34 @@ case "${LH_CHROOT_FILESYSTEM}" in
rm -f .lock
mv chroot/chroot chroot.tmp
- lh_chroot_linux-image remove ${*}
- lh_chroot_sources remove ${*}
- lh_chroot_apt remove ${*}
- lh_chroot_hostname remove ${*}
- lh_chroot_resolv remove ${*}
- lh_chroot_hosts remove ${*}
- lh_chroot_sysv-rc remove ${*}
- lh_chroot_debianchroot remove ${*}
- lh_chroot_sysfs remove ${*}
- lh_chroot_selinuxfs remove ${*}
- lh_chroot_proc remove ${*}
- lh_chroot_devpts remove ${*}
+ lh chroot_linux-image remove ${*}
+ lh chroot_sources remove ${*}
+ lh chroot_apt remove ${*}
+ lh chroot_hostname remove ${*}
+ lh chroot_resolv remove ${*}
+ lh chroot_hosts remove ${*}
+ lh chroot_sysv-rc remove ${*}
+ lh chroot_debianchroot remove ${*}
+ lh chroot_sysfs remove ${*}
+ lh chroot_selinuxfs remove ${*}
+ lh chroot_proc remove ${*}
+ lh chroot_devpts remove ${*}
rm -rf chroot
mv chroot.tmp chroot
- lh_chroot_devpts install ${*}
- lh_chroot_proc install ${*}
- lh_chroot_selinuxfs install ${*}
- lh_chroot_sysfs install ${*}
- lh_chroot_debianchroot install ${*}
- lh_chroot_sysv-rc install ${*}
- lh_chroot_hosts install ${*}
- lh_chroot_resolv install ${*}
- lh_chroot_hostname install ${*}
- lh_chroot_apt install ${*}
- lh_chroot_sources install ${*}
- lh_chroot_linux-image install ${*}
+ lh chroot_devpts install ${*}
+ lh chroot_proc install ${*}
+ lh chroot_selinuxfs install ${*}
+ lh chroot_sysfs install ${*}
+ lh chroot_debianchroot install ${*}
+ lh chroot_sysv-rc install ${*}
+ lh chroot_hosts install ${*}
+ lh chroot_resolv install ${*}
+ lh chroot_hostname install ${*}
+ lh chroot_apt install ${*}
+ lh chroot_sources install ${*}
+ lh chroot_linux-image install ${*}
touch .lock
else
diff --git a/helpers/lh_bootstrap b/helpers/lh_bootstrap
index b3ebdd5..696fdf9 100755
--- a/helpers/lh_bootstrap
+++ b/helpers/lh_bootstrap
@@ -27,8 +27,8 @@ Set_defaults
Setup_cleanup
# Bootstrapping system
-lh_bootstrap_cache restore ${*}
-lh_bootstrap_copy ${*}
-lh_bootstrap_cdebootstrap ${*}
-lh_bootstrap_debootstrap ${*}
-lh_bootstrap_cache save ${*}
+lh bootstrap_cache restore ${*}
+lh bootstrap_copy ${*}
+lh bootstrap_cdebootstrap ${*}
+lh bootstrap_debootstrap ${*}
+lh bootstrap_cache save ${*}
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap
index ae8340a..0ac72a7 100755
--- a/helpers/lh_bootstrap_cdebootstrap
+++ b/helpers/lh_bootstrap_cdebootstrap
@@ -36,7 +36,7 @@ Echo_message "Begin bootstrapping system..."
Check_package /usr/bin/${LH_BOOTSTRAP} cdebootstrap
# Ensure that a system is built as root
-lh_testroot
+lh testroot
# Checking stage file
Check_stagefile .stage/bootstrap
diff --git a/helpers/lh_bootstrap_copy b/helpers/lh_bootstrap_copy
index 3726c22..b70fcea 100755
--- a/helpers/lh_bootstrap_copy
+++ b/helpers/lh_bootstrap_copy
@@ -34,7 +34,7 @@ Check_crossarchitecture
Echo_message "Begin bootstrapping system..."
# Ensure that a system is built as root
-lh_testroot
+lh testroot
# Checking stage file
Check_stagefile .stage/bootstrap
diff --git a/helpers/lh_bootstrap_debootstrap b/helpers/lh_bootstrap_debootstrap
index d36c8b8..0c296b6 100755
--- a/helpers/lh_bootstrap_debootstrap
+++ b/helpers/lh_bootstrap_debootstrap
@@ -36,7 +36,7 @@ Echo_message "Begin bootstrapping system..."
Check_package /usr/sbin/debootstrap debootstrap
# Ensure that a system is built as root
-lh_testroot
+lh testroot
# Checking stage file
Check_stagefile .stage/bootstrap
diff --git a/helpers/lh_build b/helpers/lh_build
index d3e7d63..43a33de 100755
--- a/helpers/lh_build
+++ b/helpers/lh_build
@@ -55,13 +55,13 @@ Set_defaults
Check_defaults
# Bootstrapping system
-lh_bootstrap ${*}
+lh bootstrap ${*}
# Customizing chroot
-lh_chroot ${*}
+lh chroot ${*}
# Building binary images
-lh_binary ${*}
+lh binary ${*}
# Building source images
-lh_source ${*}
+lh source ${*}
diff --git a/helpers/lh_chroot b/helpers/lh_chroot
index 01c3356..6cb705e 100755
--- a/helpers/lh_chroot
+++ b/helpers/lh_chroot
@@ -27,51 +27,51 @@ Set_defaults
Setup_cleanup
# Configuring chroot
-lh_chroot_cache restore ${*}
-lh_chroot_devpts install ${*}
-lh_chroot_proc install ${*}
-lh_chroot_selinuxfs install ${*}
-lh_chroot_sysfs install ${*}
-lh_chroot_debianchroot install ${*}
-lh_chroot_dpkg install ${*}
-lh_chroot_sysv-rc install ${*}
-lh_chroot_hosts install ${*}
-lh_chroot_resolv install ${*}
-lh_chroot_hostname install ${*}
-lh_chroot_apt install ${*}
-lh_chroot_sources install ${*}
-lh_chroot_linux-image install ${*}
+lh chroot_cache restore ${*}
+lh chroot_devpts install ${*}
+lh chroot_proc install ${*}
+lh chroot_selinuxfs install ${*}
+lh chroot_sysfs install ${*}
+lh chroot_debianchroot install ${*}
+lh chroot_dpkg install ${*}
+lh chroot_sysv-rc install ${*}
+lh chroot_hosts install ${*}
+lh chroot_resolv install ${*}
+lh chroot_hostname install ${*}
+lh chroot_apt install ${*}
+lh chroot_sources install ${*}
+lh chroot_linux-image install ${*}
# Customizing chroot
-lh_chroot_preseed ${*}
-lh_chroot_local-preseed ${*}
-lh_chroot_tasks ${*}
-lh_chroot_packageslists ${*}
-lh_chroot_packages ${*}
-lh_chroot_local-packages ${*}
-lh_chroot_install-packages ${*}
-lh_chroot_localization ${*}
-lh_chroot_local-includes ${*}
-lh_chroot_local-patches ${*}
-lh_chroot_sysvinit ${*}
-lh_chroot_local-hooks ${*}
-lh_chroot_hooks ${*}
-lh_chroot_symlinks ${*}
-lh_chroot_hacks ${*}
-lh_chroot_interactive ${*}
+lh chroot_preseed ${*}
+lh chroot_local-preseed ${*}
+lh chroot_tasks ${*}
+lh chroot_packageslists ${*}
+lh chroot_packages ${*}
+lh chroot_local-packages ${*}
+lh chroot_install-packages ${*}
+lh chroot_localization ${*}
+lh chroot_local-includes ${*}
+lh chroot_local-patches ${*}
+lh chroot_sysvinit ${*}
+lh chroot_local-hooks ${*}
+lh chroot_hooks ${*}
+lh chroot_symlinks ${*}
+lh chroot_hacks ${*}
+lh chroot_interactive ${*}
# Deconfiguring chroot
-lh_chroot_linux-image remove ${*}
-lh_chroot_sources remove ${*}
-lh_chroot_apt remove ${*}
-lh_chroot_hostname remove ${*}
-lh_chroot_resolv remove ${*}
-lh_chroot_hosts remove ${*}
-lh_chroot_sysv-rc remove ${*}
-lh_chroot_dpkg remove ${*}
-lh_chroot_debianchroot remove ${*}
-lh_chroot_sysfs remove ${*}
-lh_chroot_selinuxfs remove ${*}
-lh_chroot_proc remove ${*}
-lh_chroot_devpts remove ${*}
-lh_chroot_cache save ${*}
+lh chroot_linux-image remove ${*}
+lh chroot_sources remove ${*}
+lh chroot_apt remove ${*}
+lh chroot_hostname remove ${*}
+lh chroot_resolv remove ${*}
+lh chroot_hosts remove ${*}
+lh chroot_sysv-rc remove ${*}
+lh chroot_dpkg remove ${*}
+lh chroot_debianchroot remove ${*}
+lh chroot_sysfs remove ${*}
+lh chroot_selinuxfs remove ${*}
+lh chroot_proc remove ${*}
+lh chroot_devpts remove ${*}
+lh chroot_cache save ${*}
diff --git a/helpers/lh_chroot_devpts b/helpers/lh_chroot_devpts
index 4fef63a..7624691 100755
--- a/helpers/lh_chroot_devpts
+++ b/helpers/lh_chroot_devpts
@@ -20,7 +20,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Arguments "${@}"
# Ensure that a system is built as root
-lh_testroot
+lh testroot
# Reading configuration files
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
diff --git a/helpers/lh_chroot_proc b/helpers/lh_chroot_proc
index bcf023e..757b9c7 100755
--- a/helpers/lh_chroot_proc
+++ b/helpers/lh_chroot_proc
@@ -20,7 +20,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Arguments "${@}"
# Ensure that a system is built as root
-lh_testroot
+lh testroot
# Reading configuration files
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
diff --git a/helpers/lh_chroot_selinuxfs b/helpers/lh_chroot_selinuxfs
index 0a463e8..c30d7cd 100755
--- a/helpers/lh_chroot_selinuxfs
+++ b/helpers/lh_chroot_selinuxfs
@@ -20,7 +20,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Arguments "${@}"
# Ensure that a system is built as root
-lh_testroot
+lh testroot
# Reading configuration files
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
diff --git a/helpers/lh_chroot_sysfs b/helpers/lh_chroot_sysfs
index c4fbed9..9906ad2 100755
--- a/helpers/lh_chroot_sysfs
+++ b/helpers/lh_chroot_sysfs
@@ -20,7 +20,7 @@ USAGE="${PROGRAM} {install|remove} [--force]"
Arguments "${@}"
# Ensure that a system is built as root
-lh_testroot
+lh testroot
# Reading configuration files
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
diff --git a/helpers/lh_source b/helpers/lh_source
index 2f4707b..84429e1 100755
--- a/helpers/lh_source
+++ b/helpers/lh_source
@@ -29,26 +29,26 @@ Require_stagefile .stage/chroot_install-packages
Setup_cleanup
# Enabling network in chroot
-lh_chroot_hosts install ${*}
-lh_chroot_resolv install ${*}
-lh_chroot_hostname install ${*}
-lh_chroot_sources install ${*}
+lh chroot_hosts install ${*}
+lh chroot_resolv install ${*}
+lh chroot_hostname install ${*}
+lh chroot_sources install ${*}
# Preparing images
-lh_source_debian-live ${*}
-lh_source_debian ${*}
-lh_source_disk ${*}
-lh_source_md5sum ${*}
+lh source_debian-live ${*}
+lh source_debian ${*}
+lh source_disk ${*}
+lh source_md5sum ${*}
# Building images
-lh_source_iso ${*}
-lh_source_net ${*}
-lh_source_tar ${*}
-lh_source_usb-hdd ${*}
-lh_source_virtual-hdd ${*}
+lh source_iso ${*}
+lh source_net ${*}
+lh source_tar ${*}
+lh source_usb-hdd ${*}
+lh source_virtual-hdd ${*}
# Deconfiguring chroot
rm -f .stage/chroot_sources
-lh_chroot_hostname remove ${*}
-lh_chroot_resolv remove ${*}
-lh_chroot_hosts remove ${*}
+lh chroot_hostname remove ${*}
+lh chroot_resolv remove ${*}
+lh chroot_hosts remove ${*}