summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_disk
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:05:10 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 14:05:10 +0200
commit0e4a03132a9cb16779d41022ff9f518694295ab6 (patch)
tree3657fff30b3bfb427e8bfca81e9221d0c2ce5637 /helpers/lh_binary_disk
parent117d1ef02c09404d595a27023e86765841909398 (diff)
downloadvyos-live-build-0e4a03132a9cb16779d41022ff9f518694295ab6.tar.gz
vyos-live-build-0e4a03132a9cb16779d41022ff9f518694295ab6.zip
Adding support for live-installer.
Diffstat (limited to 'helpers/lh_binary_disk')
-rwxr-xr-xhelpers/lh_binary_disk12
1 files changed, 6 insertions, 6 deletions
diff --git a/helpers/lh_binary_disk b/helpers/lh_binary_disk
index d74209092..99d3117dd 100755
--- a/helpers/lh_binary_disk
+++ b/helpers/lh_binary_disk
@@ -79,7 +79,7 @@ case "${LH_MODE}" in
cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_udeb_include binary/.disk/udeb_include
;;
- enabled|netinst)
+ enabled|netinst|live)
echo "main" > binary/.disk/base_components
touch binary/.disk/base_installable
@@ -89,6 +89,11 @@ case "${LH_MODE}" in
echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} NETINST Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info
cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_netinst_udeb_include binary/.disk/udeb_include
+
+ if [ "${LH_DEBIAN_INSTALLER}" = "live" ]
+ then
+ echo "live-installer" >> binary/.disk/udeb_include
+ fi
;;
businesscard)
@@ -114,10 +119,5 @@ case "${LH_MODE}" in
;;
esac
-if [ -d binary/pool/main/l/live-installer ]
-then
- echo "live-installer" >> binary/.disk/udeb_include
-fi
-
# Creating stage file
Create_stagefile .stage/binary_disk