From 40fb799e84382f4ab9c92f52dc80aeb9f6f9ea17 Mon Sep 17 00:00:00 2001 From: Michael Shigorin Date: Tue, 1 Dec 2020 15:06:50 +0300 Subject: [PATCH] install2: fix typo in cleanup script Oops, I sure meant a prefix and not a single-letter name. Reported-by: Sergey V Turchin Fixes: 4130212a23ce8373cbfeaf5e5e2d74c87cd30cfb --- .../install2/image-scripts.d/90-install2-cleanup-drivers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features.in/install2/install2/image-scripts.d/90-install2-cleanup-drivers b/features.in/install2/install2/image-scripts.d/90-install2-cleanup-drivers index 4860a6d6..6f5a795b 100755 --- a/features.in/install2/install2/image-scripts.d/90-install2-cleanup-drivers +++ b/features.in/install2/install2/image-scripts.d/90-install2-cleanup-drivers @@ -33,7 +33,7 @@ rm -rf /lib/modules/*/kernel/drivers/cpufreq rm -rf /lib/modules/*/kernel/drivers/edac rm -rf /lib/modules/*/kernel/drivers/gpio # NB: leave hwmon.ko -rm -rf /lib/modules/*/kernel/drivers/hwmon/[^h] +rm -rf /lib/modules/*/kernel/drivers/hwmon/[^h]* rm -rf /lib/modules/*/kernel/drivers/infiniband ### rm -rf /lib/modules/*/kernel/drivers/input/{gameport,joy*} rm -rf /lib/modules/*/kernel/drivers/isdn