summaryrefslogtreecommitdiff
path: root/helpers/lh_source_iso
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:47 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:47 +0200
commitf4383da69d4642521cb07f8f970d9c9c759b44ee (patch)
tree32fe7ced768666c229fff913fe12cbbf2fdd34e4 /helpers/lh_source_iso
parent3465a2139f34527e75d27b5d38ef2d17d4d00cb2 (diff)
downloadvyos-live-build-f4383da69d4642521cb07f8f970d9c9c759b44ee.tar.gz
vyos-live-build-f4383da69d4642521cb07f8f970d9c9c759b44ee.zip
Adding live-helper 1.0~a2-1.
Diffstat (limited to 'helpers/lh_source_iso')
-rwxr-xr-xhelpers/lh_source_iso16
1 files changed, 7 insertions, 9 deletions
diff --git a/helpers/lh_source_iso b/helpers/lh_source_iso
index 96d24aee2..3254ed62a 100755
--- a/helpers/lh_source_iso
+++ b/helpers/lh_source_iso
@@ -17,7 +17,6 @@ Set_defaults
if [ "${LIVE_SOURCE}" = "disabled" ]
then
- echo "W: source images disabled (FIXME)"
exit 0
fi
@@ -26,28 +25,27 @@ do
if [ "${IMAGE}" = "iso" ]
then
# Requiring stage file
- Require_stagefile "${LIVE_ROOT}"/.stage/source_download
+ Require_stagefile .stage/source_download
# Checking lock file
- Check_lockfile "${LIVE_ROOT}"/.lock
+ Check_lockfile .lock
# Creating lock file
- Create_lockfile "${LIVE_ROOT}"/.lock
+ Create_lockfile .lock
# Checking stage file
- Check_stagefile "${LIVE_ROOT}"/.stage/source_iso
+ Check_stagefile .stage/source_iso
# Remove old source
- if [ -f "${LIVE_ROOT}"/source.iso ]
+ if [ -f source.iso ]
then
- rm -f "${LIVE_ROOT}"/source.iso
+ rm -f source.iso
fi
# Create image
- cd "${LIVE_ROOT}" &&
${LH_GENISOIMAGE} -A "Debian Live" -p "Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org" -publisher "Debian Live; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org" -o source.iso -r -J -l -V "${LIVE_DISK_VOLUME}" source
# Creating stage file
- Create_stagefile "${LIVE_ROOT}"/.stage/source_iso
+ Create_stagefile .stage/source_iso
fi
done