teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0079-Revert-kernel-install-also-remove-modules.builtin.al.patch

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