diff options
author | maximilian attems <maks@debian.org> | 2009-03-10 18:11:59 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2009-03-10 18:11:59 +0100 |
commit | 82eb87958a73cc50c45cad21f0450c21bdec4888 (patch) | |
tree | 4fd81de2ff59665ddb8c0dee2a230efbb60a4beb /debian | |
parent | 0a8c484f6341229054865ba8e1467c9b21e5c2a0 (diff) | |
download | initramfs-tools-82eb87958a73cc50c45cad21f0450c21bdec4888.tar.gz initramfs-tools-82eb87958a73cc50c45cad21f0450c21bdec4888.zip |
initramfs-tools.preinst: Nuke initrd-tools related migration path.
initrd-tools was last shipped in etch and was sarge default.
we no longer need to care about it.
only came to light while grepping for ide-disk.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/initramfs-tools.preinst | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/debian/initramfs-tools.preinst b/debian/initramfs-tools.preinst index 758b504..8095b88 100644 --- a/debian/initramfs-tools.preinst +++ b/debian/initramfs-tools.preinst @@ -30,35 +30,11 @@ case "$1" in fi fi - # Inherit initrd-tools settings if possible. - if [ -e /etc/mkinitrd/mkinitrd.conf ]; then - . /etc/mkinitrd/mkinitrd.conf - fi # write conf.d/resume if not in a chroot if [ -n "${RESUME}" ] && ! chrooted; then echo "RESUME=${RESUME}" > /etc/initramfs-tools/conf.d/resume fi - # Add initrd-tools modules, while trying to minimize prompting - if [ -e /etc/mkinitrd/modules ]; then - cp /etc/mkinitrd/modules /etc/initramfs-tools/ - sed -i \ - -e 's/\/etc\/mkinitrd\/modules: Kernel modules to load for initrd./List of modules that you want to include in your initramfs./g' \ - -e 's/mkinitrd/update-initramfs/g' \ - -e '/# This file should/,/one per line\./d' \ - -e 's/Comments begin with.*/Syntax: module_name [args ...]/' \ - -e 's/^# ext2$/# raid1/' \ - -e 's/^# wd io=0x300$/# sd_mod/' \ - -e '/^ide-generic/d' \ - -e '/^ide-disk/d' \ - -e '/^ext2/d' \ - -e '/^ext3/d' \ - /etc/initramfs-tools/modules - fi - - if [ -e /etc/mkinitrd/DSDT ]; then - cp /etc/mkinitrd/DSDT /etc/initramfs-tools/DSDT.aml - fi ;; esac |