ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
aa0848
From 356f770adca34191fd5d49b89c526b7375314a2c Mon Sep 17 00:00:00 2001
aa0848
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
aa0848
Date: Wed, 19 Jan 2022 14:03:24 +0100
aa0848
Subject: [PATCH] kernel-install: add missing log line
aa0848
aa0848
(cherry picked from commit 29f604131b2c0b82dca7d6ffaa5e6bc6a253620d)
aa0848
aa0848
Related: #2065061
aa0848
---
aa0848
 src/kernel-install/90-loaderentry.install | 2 ++
aa0848
 1 file changed, 2 insertions(+)
aa0848
aa0848
diff --git a/src/kernel-install/90-loaderentry.install b/src/kernel-install/90-loaderentry.install
aa0848
index 0888c260e2..3edefdefb4 100644
aa0848
--- a/src/kernel-install/90-loaderentry.install
aa0848
+++ b/src/kernel-install/90-loaderentry.install
aa0848
@@ -40,6 +40,8 @@ fi
aa0848
 
aa0848
 case "$COMMAND" in
aa0848
     remove)
aa0848
+        [ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && \
aa0848
+            echo "Removing $BOOT_ROOT/loader/entries/$MACHINE_ID-$KERNEL_VERSION*.conf"
aa0848
         exec rm -f \
aa0848
             "$BOOT_ROOT/loader/entries/$MACHINE_ID-$KERNEL_VERSION.conf" \
aa0848
             "$BOOT_ROOT/loader/entries/$MACHINE_ID-$KERNEL_VERSION+"*".conf"