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>2011-03-09 18:18:29 +0100
commit1863ed88740575342008ac5f694d03e944bcece2 (patch)
tree58272f72528cedb7af31ee6e6c2c0f7fbd602160 /helpers/lh_binary_net
parentda353a5231ad925013d01065768864307c70651a (diff)
downloadlive-build-1863ed88740575342008ac5f694d03e944bcece2.zip
live-build-1863ed88740575342008ac5f694d03e944bcece2.tar.gz
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 2fded51..2acd2fb 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