summaryrefslogtreecommitdiff
path: root/mkinitramfs-kpkg
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2009-02-05 20:04:46 +0100
committermaximilian attems <maks@debian.org>2009-02-05 20:04:46 +0100
commit7810a813a81cb13b6ae425fc10935270a37d72c7 (patch)
treefb326a726405a76c55723054720dccf42ef8271d /mkinitramfs-kpkg
parent69f3bc844364feff08f6e5ccdfc0599f9f4088cb (diff)
downloadinitramfs-tools-7810a813a81cb13b6ae425fc10935270a37d72c7.tar.gz
initramfs-tools-7810a813a81cb13b6ae425fc10935270a37d72c7.zip
mkinitramfs-kpkg: deprecate it's usage.
update-initramfs is the desired caller.
Diffstat (limited to 'mkinitramfs-kpkg')
-rwxr-xr-xmkinitramfs-kpkg2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkinitramfs-kpkg b/mkinitramfs-kpkg
index ea0e783..07cbd44 100755
--- a/mkinitramfs-kpkg
+++ b/mkinitramfs-kpkg
@@ -95,6 +95,8 @@ case "${version}" in
;;
esac
+echo "Depreciation WARNING: use update-initramfs(8)" >&2
+
# linux-image installs latest version
mkinitramfs -o ${outfile} ${version}
sha1sum "${outfile}" | sed -e 's/\.new//' > "${STATEDIR}/${version}"