diff options
author | maximilian attems <maks@debian.org> | 2007-08-09 20:45:31 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2007-08-09 20:45:31 +0200 |
commit | b6c5123351ce61299532e10ab933d21704e8a30b (patch) | |
tree | a440f459593d8ef57301a1f88c1052fcf22c82ae | |
parent | 9102a2d94ffd7b74ba8afc678836480f018b0d42 (diff) |
update-initramfs: enhance altered error message.
-rw-r--r-- | debian/changelog | 3 | ||||
-rwxr-xr-x | update-initramfs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 70685fd..1097e16 100644 --- a/debian/changelog +++ b/debian/changelog @@ -18,11 +18,12 @@ initramfs-tools (0.90~beta1) UNRELEASED; urgency=low * debian/initramfs-tools.preinst: Inhibit /etc/initramfs-tools/conf.d/resume creation in chroot for debian-live and other. (closes: #433190) Thanks Kel Modderman <kel@otaku42.de> for the patch. + * update-initramfs: Improve "altered" error message. (closes: #436752) [ David Härdeman ] * hook-functions: Protect all variable with local, plus coding style fixes. - -- maximilian attems <maks@debian.org> Wed, 08 Aug 2007 19:29:23 +0200 + -- maximilian attems <maks@debian.org> Thu, 09 Aug 2007 20:44:27 +0200 initramfs-tools (0.89) unstable; urgency=low diff --git a/update-initramfs b/update-initramfs index 3c67f89..61f809e 100755 --- a/update-initramfs +++ b/update-initramfs @@ -410,7 +410,8 @@ altered_check() mild_panic "${initramfs} does not exist. Cannot update." fi if ! compare_sha1; then - mild_panic "${initramfs} has been altered. Cannot update." + echo "update-initramfs: ${initramfs} has been altered." >&2 + mild_panic "update-initramfs: Cannot update. Override with -t option." fi } |