Compare commits
2 Commits
37466247e6
...
9c697743c3
Author | SHA1 | Date | |
---|---|---|---|
|
9c697743c3 | ||
|
78e19be071 |
3
.kexec-tools.metadata
Normal file
3
.kexec-tools.metadata
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
80ac3f5e77d3c79883edadf14428734db4720009 eppic-e8844d3.tar.gz
|
||||||
|
ed15f191adee22ab0721ba62af1cae67eb981670 kexec-tools-2.0.27.tar.xz
|
||||||
|
98cae2b1062871905795918c32b6d46ccd115074 makedumpfile-1.7.4.tar.gz
|
@ -1100,6 +1100,15 @@ install() {
|
|||||||
's/\(^[[:space:]]*reserved_memory[[:space:]]*=\)[[:space:]]*[[:digit:]]*/\1 1024/' \
|
's/\(^[[:space:]]*reserved_memory[[:space:]]*=\)[[:space:]]*[[:digit:]]*/\1 1024/' \
|
||||||
"${initdir}/etc/lvm/lvm.conf" &> /dev/null
|
"${initdir}/etc/lvm/lvm.conf" &> /dev/null
|
||||||
|
|
||||||
|
# Skip initrd-cleanup.service and initrd-parse-etc.service becasue we don't
|
||||||
|
# need to switch root. Instead of removing them, we use ConditionPathExists
|
||||||
|
# to check if /proc/vmcore exists to determine if we are in kdump.
|
||||||
|
sed -i '/\[Unit\]/a ConditionPathExists=!\/proc\/vmcore' \
|
||||||
|
"${initdir}/${systemdsystemunitdir}/initrd-cleanup.service" &> /dev/null
|
||||||
|
|
||||||
|
sed -i '/\[Unit\]/a ConditionPathExists=!\/proc\/vmcore' \
|
||||||
|
"${initdir}/${systemdsystemunitdir}/initrd-parse-etc.service" &> /dev/null
|
||||||
|
|
||||||
# Save more memory by dropping switch root capability
|
# Save more memory by dropping switch root capability
|
||||||
dracut_no_switch_root
|
dracut_no_switch_root
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 2.0.27
|
Version: 2.0.27
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Summary: The kexec/kdump userspace component
|
Summary: The kexec/kdump userspace component
|
||||||
|
|
||||||
@ -408,6 +408,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 30 2024 Tao Liu <ltao@redhat.com> - 2.0.27-8
|
||||||
|
- dracut-module-setup: Skip initrd-cleanup and initrd-parse-etc in kdump
|
||||||
|
|
||||||
* Wed Jan 3 2024 Tao Liu <ltao@redhat.com> - 2.0.27-7
|
* Wed Jan 3 2024 Tao Liu <ltao@redhat.com> - 2.0.27-7
|
||||||
- Explain the auto_reset_crashkernel option in more details
|
- Explain the auto_reset_crashkernel option in more details
|
||||||
- Use the same /etc/resolve.conf in kdump initrd if it's managed manually
|
- Use the same /etc/resolve.conf in kdump initrd if it's managed manually
|
||||||
|
Loading…
Reference in New Issue
Block a user