diff options
Diffstat (limited to 'helpers/lh_binary_disk')
-rwxr-xr-x | helpers/lh_binary_disk | 62 |
1 files changed, 26 insertions, 36 deletions
diff --git a/helpers/lh_binary_disk b/helpers/lh_binary_disk index e03b0fb..36f1984 100755 --- a/helpers/lh_binary_disk +++ b/helpers/lh_binary_disk @@ -64,58 +64,48 @@ then ARCHITECTURE="Snapshot ${ARCHITECTURE}" fi -case "${LH_MODE}" in - debian) - case "${LH_DEBIAN_INSTALLER}" in - cdrom) - echo "main" > binary/.disk/base_components +case "${LH_DEBIAN_INSTALLER}" in + cdrom) + echo "main" > binary/.disk/base_components - touch binary/.disk/base_installable + touch binary/.disk/base_installable - echo "full_cd" > binary/.disk/cd_type + 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 + echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} CD Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info - cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_udeb_include binary/.disk/udeb_include - ;; - - enabled|netinst|live) - echo "main" > binary/.disk/base_components + cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_udeb_include binary/.disk/udeb_include + ;; - touch binary/.disk/base_installable + enabled|netinst|live) + echo "main" > binary/.disk/base_components - 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 - cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_netinst_udeb_include binary/.disk/udeb_include + echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} NETINST Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info - if [ "${LH_DEBIAN_INSTALLER}" = "live" ] - then - echo "live-installer" >> binary/.disk/udeb_include - fi - ;; + cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_netinst_udeb_include binary/.disk/udeb_include - businesscard) - echo "main" > binary/.disk/base_components + if [ "${LH_DEBIAN_INSTALLER}" = "live" ] + then + echo "live-installer" >> binary/.disk/udeb_include + fi + ;; - echo "not_complete" > binary/.disk/cd_type + businesscard) + echo "main" > binary/.disk/base_components - echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} BC Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info + echo "not_complete" > binary/.disk/cd_type - cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_businesscard_udeb_include binary/.disk/udeb_include - ;; + echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} BC Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info - disabled) - echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} LIVE Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info - ;; - esac + cp "${LH_BASE}"/data/debian-cd/${LH_DISTRIBUTION}/${LH_ARCHITECTURE}_businesscard_udeb_include binary/.disk/udeb_include ;; - 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) + disabled) + echo "Debian GNU/Linux ${VERSION} \"${DISTRIBUTION}\" - Official ${ARCHITECTURE} LIVE Binary $(date +%Y%m%d-%H:%M)" > binary/.disk/info ;; esac |