diff options
Diffstat (limited to 'helpers/lh_binary_net')
-rwxr-xr-x | helpers/lh_binary_net | 17 |
1 files changed, 16 insertions, 1 deletions
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 |