summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2009-02-05 20:07:13 +0100
committermaximilian attems <maks@debian.org>2009-02-05 20:07:13 +0100
commit87240bc73a6a4c6e9fbeb55a1b168a87bac99457 (patch)
treeada5c9f2d0fdee869b7e406ca34ac21adfca31d7
parent75475db4e8d55fe79bc8a0e9d944a1eef493b5e2 (diff)
downloadinitramfs-tools-87240bc73a6a4c6e9fbeb55a1b168a87bac99457.tar.gz
initramfs-tools-87240bc73a6a4c6e9fbeb55a1b168a87bac99457.zip
mkinitramfs: Post-Lenny cleanup.
no need to support callers that were unofficial and never released as such in Lenny.
-rwxr-xr-xmkinitramfs23
1 files changed, 0 insertions, 23 deletions
diff --git a/mkinitramfs b/mkinitramfs
index 355ec9c..17c7925 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -44,14 +44,6 @@ while true; do
verbose="y"
shift
;;
- --supported-host-version)
- supported_host_version="$2"
- shift 2
- ;;
- --supported-target-version)
- supported_target_version="$2"
- shift 2
- ;;
--)
shift
break
@@ -63,21 +55,6 @@ while true; do
esac
done
-# FIXME: remove after Lenny (needed for Etch linux-images)
-if [ -n "$supported_host_version" ] || [ -n "$supported_target_version" ]; then
- if [ -n "$supported_host_version" ]; then
- host_upstream_version="${supported_host_version%%-*}"
- fi
- if [ -n "$supported_target_version" ]; then
- target_upstream_version="${supported_target_version%%-*}"
- if dpkg --compare-versions "$target_upstream_version" lt "2.6.12"; then
- exit 2
- fi
- fi
- echo "Depreciation warning: use ramdisk=mkinitramfs-kpkg."
- exit 0
-fi
-
# For dependency ordered mkinitramfs hook scripts.
. /usr/share/initramfs-tools/scripts/functions
. /usr/share/initramfs-tools/hook-functions