diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:21 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:26 +0100 |
commit | 63631975b71ac083c07fd927d0b7264af73f2e24 (patch) | |
tree | d101839dcaff407f24698ac3bc111fe311dd0d5e /helpers/lh_binary_disk | |
parent | ba2322bb2b453a848dccb7f80fbe5d72b373926e (diff) | |
download | live-build-63631975b71ac083c07fd927d0b7264af73f2e24.zip live-build-63631975b71ac083c07fd927d0b7264af73f2e24.tar.gz |
Adding live-helper 1.0~a27-1.
Diffstat (limited to 'helpers/lh_binary_disk')
-rwxr-xr-x | helpers/lh_binary_disk | 88 |
1 files changed, 59 insertions, 29 deletions
diff --git a/helpers/lh_binary_disk b/helpers/lh_binary_disk index 65470be..65c671c 100755 --- a/helpers/lh_binary_disk +++ b/helpers/lh_binary_disk @@ -61,38 +61,54 @@ eval VERSION="$`echo VERSION_${LH_DISTRIBUTION}`" case "${LH_MODE}" in debian) - if [ -d binary/pool/main/b/base-installer ] - then - if [ -d binary/pool/main/l/live-installer ] - then - TYPE="LIVE/INSTALL" - fi - - TYPE="LIVE/NETINST" - else - TYPE="LIVE" - fi - - echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} ${TYPE} Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info - ;; + case "${LH_DEBIAN_INSTALLER}" in + cdrom) + echo "main" > binary/.disk/base_components - ubuntu) - echo "Ubuntu Linux ${VERSION} \"${DISTRIBUTION}\" - Unofficial ${ARCHITECTURE} LIVE/NETINST Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info - # Ubuntu 7.04 "Feisty Fawn" - Release i386 (20070418) - ;; -esac + touch binary/.disk/base_installable -if [ "${LH_DEBIAN_INSTALLER}" != "disabled" ] -then - echo "main" > binary/.disk/base_components + echo "full_cd" > binary/.disk/cd_type + + echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} CD Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info + +cat > binary/.disk/udeb_include << EOF +netcfg +ethdetect +pcmcia-cs-udeb +pcmciautils-udeb +wireless-tools-udeb +EOF + + ;; + + netinst) + echo "main" > binary/.disk/base_components + + touch binary/.disk/base_installable + + echo "not_complete" > binary/.disk/cd_type - touch binary/.disk/base_installable + echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} NETINST Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info - echo "not_complete" > binary/.disk/cd_type +cat > binary/.disk/udeb_include << EOF +netcfg +ethdetect +pcmcia-cs-udeb +pcmciautils-udeb +wireless-tools-udeb +EOF + + ;; + + businesscard) + echo "main" > binary/.disk/base_components + + echo "not_complete" > binary/.disk/cd_type - #touch binary/.disk/mkisofs + echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} BC Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info cat > binary/.disk/udeb_include << EOF +choose-mirror netcfg ethdetect pcmcia-cs-udeb @@ -100,10 +116,24 @@ pcmciautils-udeb wireless-tools-udeb EOF - if [ -d binary/pool/main/l/live-installer ] - then - echo "live-installer" >> binary/.disk/udeb_include - fi + ;; + + disabled) + echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} LIVE Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info + ;; + esac + ;; + + ubuntu) + # FIXME + echo "Ubuntu Linux ${VERSION} \"${DISTRIBUTION}\" - Unofficial ${ARCHITECTURE} LIVE/NETINST Binary `date +%Y%m%d-%H:%M`" > binary/.disk/info + # Ubuntu 7.04 "Feisty Fawn" - Release i386 (20070418) + ;; +esac + +if [ -d binary/pool/main/l/live-installer ] +then + echo "live-installer" >> binary/.disk/udeb_include fi # Creating stage file |