From 9352fd603cf2e6773fc5a847ca58542373fc1e66 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Tue, 26 Nov 2024 17:23:52 +0100 Subject: [PATCH] GRMLBASE/94-update-smart-drivedb: drop smartmontools >=6.4+svn4214-1 is satisfied since before Debian buster, and this script then does nothing. --- debian/grml-live.maintscript | 1 + .../scripts/GRMLBASE/94-update-smart-drivedb | 28 ------------------- 2 files changed, 1 insertion(+), 28 deletions(-) delete mode 100755 etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb diff --git a/debian/grml-live.maintscript b/debian/grml-live.maintscript index 93a2794f..84f54767 100644 --- a/debian/grml-live.maintscript +++ b/debian/grml-live.maintscript @@ -7,4 +7,5 @@ rm_conffile /etc/grml/fai/config/scripts/GRMLBASE/36-cpufrequtils 0.33.0~ rm_conffile /etc/grml/fai/config/scripts/GRMLBASE/37-portmap 0.49.2~ rm_conffile /etc/grml/fai/config/scripts/GRMLBASE/40-deborphan 0.35.0~ rm_conffile /etc/grml/fai/config/scripts/GRMLBASE/93-update-usbids 0.45.0~ +rm_conffile /etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb 0.49.2~ rm_conffile /etc/grml/fai/config/files/etc/apt/sources.list.d/debian.list/DEBIAN_SID 0.47.10~ diff --git a/etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb b/etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb deleted file mode 100755 index ffce016b..00000000 --- a/etc/grml/fai/config/scripts/GRMLBASE/94-update-smart-drivedb +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -# Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/94-update-smart-drivedb -# Purpose: update pciids -# Authors: (c) Michael Prokop -# Bug-Reports: see http://grml.org/bugs/ -# License: This file is licensed under the GPL v2. -################################################################################ - -if ifclass NO_ONLINE ; then - echo "Ignoring script 94-update-smart-drivedb as NO_ONLINE is set." - exit 0 -fi - -set -u -set -e - -if ! [ -x ${target}/usr/sbin/update-smart-drivedb ] ; then - echo "NOTE: update-smart-drivedb not present (possibly smartmontools >=6.4+svn4214-1 present)" - exit 0 -fi - -echo "Updating smartmontool drivedb" -if ! $ROOTCMD timeout 10 update-smart-drivedb ; then - echo "Warning: failed to update smartmontool drivedb, ignoring failure" -fi - -## END OF FILE ################################################################# -# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2