From: Michael Prokop Date: Mon, 24 Oct 2016 20:45:49 +0000 (+0200) Subject: scripts/GRMLBASE/94-update-smart-drivedb: switch warning into note since update-smart... X-Git-Tag: v0.28.0~26 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=1631a893fcb914adbbf45a1e594ab7b127787d13 scripts/GRMLBASE/94-update-smart-drivedb: switch warning into note since update-smart-drivedb is deprecated Quoting NEWS file from smartmontools (6.4+svn4214-1): | Previous versions of the smartmontools package included a tool | update-smart-drivedb which downloaded updated drive definitions | from the smartmontools website and stored them at | | /var/lib/smartmontools/drivedb/drivedb.h | | This tool did not download the definitions in a secure manner and | so the feature has been removed in this version. Future drive DB | updates will be propagated via normal Debian package updates, | including backports. | | If you already have a drivedb.h file at that location, smartctl | will continue to use it. We could completely drop the package once we're certain that update-smart-drivedb doesn't exist anymore in all the Debian releases grml-live is building for, but for the time being let's keep it and switch the warning into a note. --- diff --git a/etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb b/etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb index 5c7c30e..1b98ef6 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb +++ b/etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb @@ -17,7 +17,7 @@ set -e [ -x $target/usr/bin/timeout ] && TIMEOUT="10" || TIMEOUT="" if ! [ -x ${target}/usr/sbin/update-smart-drivedb ] ; then - echo "Warning: smartmontools not installed" + echo "NOTE: update-smart-drivedb not present (possibly smartmontools >=6.4+svn4214-1 present)" exit 0 fi