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>2011-03-09 18:18:28 +0100
commit677415f6d7efc1e5b888570d70af311d2900c69c (patch)
tree32fe7ced768666c229fff913fe12cbbf2fdd34e4 /helpers/lh_source_iso
parent811ff0532fcb3305ebefcd1d61e4eb6c260902eb (diff)
downloadlive-build-677415f6d7efc1e5b888570d70af311d2900c69c.zip
live-build-677415f6d7efc1e5b888570d70af311d2900c69c.tar.gz
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 96d24ae..3254ed6 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