Enable dracut squash module
In dracut-049, a new squash module is introduced, it can reduce the memory usage of kdump initramfs in the capture kernel, this helps a lot on lowering the risk of OOM failure. Tested with latest rawhide with NFS, SSH and local dump. Signed-off-by: Kairui Song <kasong@redhat.com>
This commit is contained in:
parent
5b385cbd0c
commit
9b6e312447
@ -18,7 +18,7 @@ check() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
depends() {
|
depends() {
|
||||||
local _dep="base shutdown"
|
local _dep="base shutdown squash"
|
||||||
|
|
||||||
if [ -n "$( find /sys/devices -name drm )" ] || [ -d /sys/module/hyperv_fb ]; then
|
if [ -n "$( find /sys/devices -name drm )" ] || [ -d /sys/module/hyperv_fb ]; then
|
||||||
_dep="$_dep drm"
|
_dep="$_dep drm"
|
||||||
|
@ -51,6 +51,7 @@ Requires(postun): systemd-units
|
|||||||
Requires(pre): coreutils sed zlib
|
Requires(pre): coreutils sed zlib
|
||||||
Requires: dracut >= 047-34.git20180604
|
Requires: dracut >= 047-34.git20180604
|
||||||
Requires: dracut-network >= 044-117
|
Requires: dracut-network >= 044-117
|
||||||
|
Requires: dracut-squash >= 049-4
|
||||||
Requires: ethtool
|
Requires: ethtool
|
||||||
BuildRequires: zlib-devel zlib zlib-static elfutils-devel-static glib2-devel bzip2-devel ncurses-devel bison flex lzo-devel snappy-devel
|
BuildRequires: zlib-devel zlib zlib-static elfutils-devel-static glib2-devel bzip2-devel ncurses-devel bison flex lzo-devel snappy-devel
|
||||||
BuildRequires: pkgconfig intltool gettext
|
BuildRequires: pkgconfig intltool gettext
|
||||||
|
Loading…
Reference in New Issue
Block a user