naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
8d419f
From 17f516c0714e05d3dea7f168304286658aead870 Mon Sep 17 00:00:00 2001
8d419f
From: Michal Sekletar <msekleta@redhat.com>
8d419f
Date: Thu, 17 Mar 2022 12:35:35 +0100
8d419f
Subject: [PATCH] Revert "kernel-install: also remove
8d419f
 modules.builtin.alias.bin"
8d419f
8d419f
This reverts commit fdcb1bf67371615f12c4b11283f2bd6a25bda019.
8d419f
8d419f
Related: #2065061
8d419f
8d419f
[msekleta: this revert is done in order to make backporting easier,
8d419f
patch will be reapplied later.]
8d419f
---
8d419f
 src/kernel-install/50-depmod.install | 2 +-
8d419f
 1 file changed, 1 insertion(+), 1 deletion(-)
8d419f
8d419f
diff --git a/src/kernel-install/50-depmod.install b/src/kernel-install/50-depmod.install
8d419f
index fd00c43632..2fd959865f 100644
8d419f
--- a/src/kernel-install/50-depmod.install
8d419f
+++ b/src/kernel-install/50-depmod.install
8d419f
@@ -36,7 +36,7 @@ case "$COMMAND" in
8d419f
     remove)
8d419f
         [ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && \
8d419f
             echo "Removing /lib/modules/${KERNEL_VERSION}/modules.dep and associated files"
8d419f
-        exec rm -f /lib/modules/"${KERNEL_VERSION}"/modules.{alias{,.bin},builtin{,.alias}.bin,dep{,.bin},devname,softdep,symbols{,.bin}}
8d419f
+        exec rm -f /lib/modules/"${KERNEL_VERSION}"/modules.{alias{,.bin},builtin.bin,dep{,.bin},devname,softdep,symbols{,.bin}}
8d419f
         ;;
8d419f
     *)
8d419f
         exit 0