From bf396ae4b8d2380bb8024f8d794771a7f3b48fa2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:04:49 +0200 Subject: Adding live-helper 1.0~a5-1. --- helpers/lh_binary_net | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'helpers/lh_binary_net') diff --git a/helpers/lh_binary_net b/helpers/lh_binary_net index 2fded51fa..2acd2fb63 100755 --- a/helpers/lh_binary_net +++ b/helpers/lh_binary_net @@ -22,12 +22,17 @@ USAGE="${PROGRAM} [--force]" Arguments "${@}" +Echo_debug "Init ${PROGRAM}" + # Reading configuration files -Read_conffile config/common Read_conffile config/bootstrap +Read_conffile config/chroot +Read_conffile config/common Read_conffile config/image Set_defaults +Breakpoint "binary_net: Init" + for IMAGE in ${LIVE_BINARY_IMAGE} do if [ "${IMAGE}" = "net" ] @@ -51,6 +56,11 @@ do fi # Creating image file + if [ "`basename ${LIVE_SERVER_PATH}`" = "chroot" ] + then + mv chroot chroot.tmp + fi + mv binary "`basename ${LIVE_SERVER_PATH}`" cd .. @@ -60,6 +70,11 @@ do mv "`basename ${LIVE_SERVER_PATH}`" binary + if [ "`basename ${LIVE_SERVER_PATH}`" = "chroot" ] + then + mv chroot.tmp chroot + fi + # Creating stage file Create_stagefile .stage/binary_net fi -- cgit v1.2.3