From 19e942d1dd01799f244fab0a26620acd6547a35a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 16 Nov 2009 12:40:43 +0100 Subject: Dropping etch support. --- helpers/lh_binary_rootfs | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'helpers/lh_binary_rootfs') diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs index aab7e5a57..749a6f44c 100755 --- a/helpers/lh_binary_rootfs +++ b/helpers/lh_binary_rootfs @@ -133,12 +133,7 @@ case "${LH_CHROOT_FILESYSTEM}" in DU_DIM="$(du -ks chroot/chroot | cut -f1)" REAL_DIM="$(Calculate_partition_size ${DU_DIM} ${LH_CHROOT_FILESYSTEM})" - if [ "${LH_DISTRIBUTION}" = "etch" ] - then - RESERVED_PERCENTAGE="--reserved-blocks" - else - RESERVED_PERCENTAGE="--reserved-percentage" - fi + RESERVED_PERCENTAGE="--reserved-percentage" case "${LH_CHROOT_BUILD}" in enabled) @@ -301,10 +296,7 @@ case "${LH_CHROOT_FILESYSTEM}" in # Remove stale squashfs image rm -f chroot/filesystem.squashfs - if [ "${_QUIET}" = "enabled" ] && [ "${LH_DISTRIBUTION}" != "etch" ] - then - MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -no-progress" - fi + MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -no-progress" if [ "${_VERBOSE}" = "enabled" ] then @@ -366,15 +358,6 @@ case "${LH_CHROOT_FILESYSTEM}" in if [ -f config/binary_rootfs/excludes ] then case "${LH_DISTRIBUTION}" in - etch) - MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -ef config/binary_rootfs/excludes" - - if grep '*' config/binary_rootfs/excludes > /dev/null - then - Echo_warning "etch squashfs does not support wildcard excludes in config/binary_rootfs/excludes and are ignored. Please build in chrooted mode or adjust your exclude file." - fi - ;; - lenny|sid) MKSQUASHFS_OPTIONS="${MKSQUASHFS_OPTIONS} -wildcards -ef config/binary_rootfs/excludes" ;; -- cgit v1.2.3