~asac/live-build/live-helper.install-kernel-with-no-initramfs

« back to all changes in this revision

Viewing changes to helpers/lh_binary_iso

  • Committer: Daniel Baumann
  • Date: 2007-09-23 08:04:47 UTC
  • Revision ID: git-v1:f4383da69d4642521cb07f8f970d9c9c759b44ee
Tags: 1.0_a2-1
Adding live-helper 1.0~a2-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
Set_defaults
18
18
 
19
19
# Requiring stage file
20
 
Require_stagefile "${LIVE_ROOT}"/.stage/bootstrap
 
20
Require_stagefile .stage/bootstrap
21
21
 
22
22
# Checking lock file
23
 
Check_lockfile "${LIVE_ROOT}"/.lock
 
23
Check_lockfile .lock
24
24
 
25
25
# Creating lock file
26
 
Create_lockfile "${LIVE_ROOT}"/.lock
 
26
Create_lockfile .lock
27
27
 
28
28
# Checking stage file
29
 
Check_stagefile "${LIVE_ROOT}"/.stage/binary_iso
 
29
Check_stagefile .stage/binary_iso
30
30
 
31
31
for IMAGE in ${LIVE_BINARY_IMAGE}
32
32
do
33
33
        if [ "${IMAGE}" = "iso" ]
34
34
        then
35
35
                # Remove old binary
36
 
                if [ -f "${LIVE_ROOT}"/binary.iso ]
 
36
                if [ -f binary.iso ]
37
37
                then
38
 
                        rm -f "${LIVE_ROOT}"/binary.iso
 
38
                        rm -f binary.iso
39
39
                fi
40
40
 
41
41
                # Create image
42
42
                if [ "${LIVE_ARCHITECTURE}" = "amd64" ] || [ "${LIVE_ARCHITECTURE}" = "i386" ]
43
43
                then
44
 
                        ${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 "${LIVE_ROOT}"/"${LIVE_IMAGE}"binary.iso -r -J -l -V "${LIVE_ISO_VOLUME}" -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table "${LIVE_ROOT}"/binary ${LIVE_INCLUDE_IMAGE}
 
44
                        ${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 "${LIVE_IMAGE}"binary.iso -r -J -l -V "${LIVE_ISO_VOLUME}" -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table binary ${LIVE_INCLUDE_IMAGE}
45
45
                else
46
46
                        echo "W: Bootloader on your architecture not yet supported (Continuing in 5 seconds)."
47
47
                        sleep 5
48
 
                        ${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 "${LIVE_ROOT}"/"${LIVE_IMAGE}"binary.iso -r -J -l -V "${LIVE_ISO_VOLUME}" "${LIVE_ROOT}"/binary ${LIVE_INCLUDE_IMAGE}
 
48
                        ${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 "${LIVE_IMAGE}"binary.iso -r -J -l -V "${LIVE_ISO_VOLUME}" binary ${LIVE_INCLUDE_IMAGE}
49
49
                fi
50
50
 
51
51
                # Creating stage file
52
 
                Create_stagefile "${LIVE_ROOT}"/.stage/binary_iso
 
52
                Create_stagefile .stage/binary_iso
53
53
        fi
54
54
done