summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_net
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:49 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:49 +0200
commitbf396ae4b8d2380bb8024f8d794771a7f3b48fa2 (patch)
tree58272f72528cedb7af31ee6e6c2c0f7fbd602160 /helpers/lh_binary_net
parent8762edaa61a21de7708d6293287e9eb306716578 (diff)
downloadvyos-live-build-bf396ae4b8d2380bb8024f8d794771a7f3b48fa2.tar.gz
vyos-live-build-bf396ae4b8d2380bb8024f8d794771a7f3b48fa2.zip
Adding live-helper 1.0~a5-1.
Diffstat (limited to 'helpers/lh_binary_net')
-rwxr-xr-xhelpers/lh_binary_net17
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