Drop deprecated sarge specific code
authorMichael Prokop <mika@grml.org>
Wed, 28 Oct 2009 22:30:02 +0000 (23:30 +0100)
committerMichael Prokop <mika@grml.org>
Wed, 28 Oct 2009 23:52:55 +0000 (00:52 +0100)
chroot-script
debian/changelog

index 0f11ff9..a711641 100755 (executable)
@@ -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
index ccb4476..fb51ae4 100644 (file)
@@ -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 <mika@grml.org>  Wed, 28 Oct 2009 21:40:46 +0100
+ -- Michael Prokop <mika@grml.org>  Wed, 28 Oct 2009 23:29:47 +0100
 
 grml-debootstrap (0.31) unstable; urgency=low