summaryrefslogtreecommitdiff
path: root/scripts/02-iso.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:21 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:21 +0200
commitfb35af8aa207ef5377022028d9e2b497445fb349 (patch)
treee928737e9e000d1f2509395f58f04465c17794c5 /scripts/02-iso.sh
parent18e4f460bf1c115c62ea9aebb56d75d486322531 (diff)
downloadlive-build-fb35af8aa207ef5377022028d9e2b497445fb349.zip
live-build-fb35af8aa207ef5377022028d9e2b497445fb349.tar.gz
Adding live-package 0.99.3-1.
Diffstat (limited to 'scripts/02-iso.sh')
-rw-r--r--scripts/02-iso.sh46
1 files changed, 0 insertions, 46 deletions
diff --git a/scripts/02-iso.sh b/scripts/02-iso.sh
deleted file mode 100644
index 838b219..0000000
--- a/scripts/02-iso.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-# scripts/02-iso.sh
-
-Iso ()
-{
- mkdir -p "${LIVE_ROOT}"/image/casper
-
- if [ "${LIVE_FILESYSTEM}" = "ext2" ]
- then
- DU_DIM="`du -ks ${LIVE_CHROOT} | cut -f1`"
- REAL_DIM="`expr ${DU_DIM} + ${DU_DIM} / 20`" # Just 5% more to be sure, need something more sophistcated here...
-
- genext2fs --size-in-blocks=${REAL_DIM} --reserved-blocks=0 \
- \--root="${LIVE_CHROOT}" \
- "${LIVE_ROOT}"/image/casper/filesystem.ext2
- else
- if [ -f "${LIVE_ROOT}"/image/casper/filesystem.squashfs ]
- then
- rm "${LIVE_ROOT}"/image/casper/filesystem.squashfs
- fi
-
- if [ -z "${LIVE_VERBOSE}" ]
- then
- mksquashfs "${LIVE_CHROOT}" "${LIVE_ROOT}"/image/casper/filesystem.squashfs
- else
- mksquashfs -info "${LIVE_CHROOT}" "${LIVE_ROOT}"/image/casper/filesystem.squashfs
- fi
- fi
-
- # Installing syslinux
- Syslinux iso
-
- # Installing linux-image
- Linuximage iso
-
- # Installing memtest
- Memtest iso
-
- # Installing templates
- cp -a "${LIVE_TEMPLATES}"/iso/* "${LIVE_ROOT}"/image
-
- # Calculating md5sums
- md5sums
-
- # Creating image
- mkisofss
-}