From 39c1eff1b654425f3ddfecba469296aada890de1 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 31 Jan 2023 15:36:03 +0100 Subject: Bump dracut to v59 --- build-initramfs.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-initramfs.sh b/build-initramfs.sh index d5843f15..eac07b7c 100755 --- a/build-initramfs.sh +++ b/build-initramfs.sh @@ -32,11 +32,11 @@ declare -rg _repo_dir="${_root_dir}/systemd-init" declare -rg _dracut_dir="${_root_dir}/dracut" # Autodetect the kmod version present on the system to decide which dracut version to get -# * v47 requires kmod >= 23 (Available in Ubuntu 18.04) +# * v59 requires kmod >= 23 (Available in Ubuntu 18.04) # * v46 works with kmod == 20 (CentOS 7.5 only provides kmod v20) -declare -g _dracut_version="046" -if [ "$(pkg-config --modversion libkmod)" -ge 23 ]; then - _dracut_version="047" +declare -g _dracut_version="059" +if [ "$(pkg-config --modversion libkmod)" -lt 23 ]; then + _dracut_version="046" fi declare -A core_repo=( -- cgit v1.2.3-55-g7522