From d27799d91e7f4bda64cd520917d6a2d2b496e0c5 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 28 Oct 2009 23:30:02 +0100 Subject: [PATCH] Drop deprecated sarge specific code --- chroot-script | 20 ++++---------------- debian/changelog | 3 ++- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/chroot-script b/chroot-script index 0f11ff9..a711641 100755 --- a/chroot-script +++ b/chroot-script @@ -172,14 +172,6 @@ extrapackages() { } # }}} -# sarge specific stuff: mkinitrd {{{ -mkinitrd() { - if [ "$RELEASE" = 'sarge' ] ; then - sed -i "s#ROOT=probe#ROOT=$TARGET#" /etc/mkinitrd/mkinitrd.conf - fi -} -# }}} - # install kernel packages {{{ kernel() { # do not override $KERNEL if set via config file @@ -193,13 +185,9 @@ kernel() { if [ -n "$KERNEL" ] ; then $APTUPDATE - if [ "$RELEASE" = 'sarge' ] ; then - KERNELPACKAGES="kernel-image-$KERNEL kernel-headers-$KERNEL" - else - # note: install busybox to be able to debug initramfs - KERNELPACKAGES="linux-image-$KERNEL linux-headers-$KERNEL busybox" - fi - DEBIAN_FRONTEND=$DEBIAN_FRONTEND $APTINSTALL $KERNELPACKAGES + # note: install busybox to be able to debug initramfs + KERNELPACKAGES="linux-image-$KERNEL linux-headers-$KERNEL busybox" + DEBIAN_FRONTEND=$DEBIAN_FRONTEND $APTINSTALL $KERNELPACKAGES fi } # }}} @@ -440,7 +428,7 @@ finalize() { # execute the functions {{{ for i in chrootmirror grmlrepos kernelimg_conf makedev install_policy_rcd \ - kernel packages extrapackages mkinitrd reconfigure hosts interfaces \ + kernel packages extrapackages reconfigure hosts interfaces \ timezone fstab hostname initrd grub_config passwords custom_scripts \ services ; do if stage $i ; then diff --git a/debian/changelog b/debian/changelog index ccb4476..fb51ae4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,9 @@ grml-debootstrap (0.32) unstable; urgency=low * Simplify usage for grub handling, now it's just GRUB="/dev/sdX[#]". * Execute blockdev to reread partition table. * Replace vol_id command with blkid. + * Drop deprecated sarge specific code. - -- Michael Prokop Wed, 28 Oct 2009 21:40:46 +0100 + -- Michael Prokop Wed, 28 Oct 2009 23:29:47 +0100 grml-debootstrap (0.31) unstable; urgency=low -- 2.1.4