Clean up modules.builtin.alias.bin on kernel upgrades
This commit is contained in:
parent
5f6666c925
commit
a3b0ac6518
|
@ -0,0 +1,23 @@
|
|||
From cabda658cd1ac9c6b7a9230adf8ed1c46a269837 Mon Sep 17 00:00:00 2001
|
||||
From: Yu Watanabe <watanabe.yu+github@gmail.com>
|
||||
Date: Sat, 15 Jan 2022 03:37:40 +0900
|
||||
Subject: [PATCH] kernel-install: also remove modules.builtin.alias.bin
|
||||
|
||||
Fixes RHBZ#2016630.
|
||||
---
|
||||
src/kernel-install/50-depmod.install | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/kernel-install/50-depmod.install b/src/kernel-install/50-depmod.install
|
||||
index 2fd959865f2a..fd00c436322a 100644
|
||||
--- a/src/kernel-install/50-depmod.install
|
||||
+++ b/src/kernel-install/50-depmod.install
|
||||
@@ -36,7 +36,7 @@ case "$COMMAND" in
|
||||
remove)
|
||||
[ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && \
|
||||
echo "Removing /lib/modules/${KERNEL_VERSION}/modules.dep and associated files"
|
||||
- exec rm -f /lib/modules/"${KERNEL_VERSION}"/modules.{alias{,.bin},builtin.bin,dep{,.bin},devname,softdep,symbols{,.bin}}
|
||||
+ exec rm -f /lib/modules/"${KERNEL_VERSION}"/modules.{alias{,.bin},builtin{,.alias}.bin,dep{,.bin},devname,softdep,symbols{,.bin}}
|
||||
;;
|
||||
*)
|
||||
exit 0
|
|
@ -97,6 +97,7 @@ Patch0003: 0003-rpm-call-needs-restart-in-parallel.patch
|
|||
Patch0004: 0004-rpm-restart-user-services-at-the-end-of-the-transact.patch
|
||||
Patch0005: 0005-update-helper-also-add-user-reexec-verb.patch
|
||||
Patch0006: 0006-update-helper-add-missing-loop-over-user-units.patch
|
||||
Patch0007: https://github.com/systemd/systemd/pull/22127/commits/cabda658cd1ac9c6b7a9230adf8ed1c46a269837.patch
|
||||
|
||||
# Downstream-only patches (5000–9999)
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1738828
|
||||
|
@ -1026,6 +1027,7 @@ fi
|
|||
- Do not touch /etc/resolv.conf on upgrades (#2074122)
|
||||
- Undo the change to "create /etc/resolv.conf symlink if nothing is
|
||||
present yet" (#2074083)
|
||||
- Clean up modules.builtin.alias.bin on kernel upgrades (#2016630)
|
||||
|
||||
* Wed Apr 6 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 249.11-1
|
||||
- Update to latest bugfix release (#2039854)
|
||||
|
|
Loading…
Reference in New Issue