diff options
author | Simon Rettberg | 2023-01-31 15:36:03 +0100 |
---|---|---|
committer | Simon Rettberg | 2023-01-31 15:36:03 +0100 |
commit | 39c1eff1b654425f3ddfecba469296aada890de1 (patch) | |
tree | 755b5bd5e6addef98d6cd9c9aec37f4c1be56e1c | |
parent | [slx-network] Adapt to new busybox nslookup output syntax (diff) | |
download | systemd-init-39c1eff1b654425f3ddfecba469296aada890de1.tar.gz systemd-init-39c1eff1b654425f3ddfecba469296aada890de1.tar.xz systemd-init-39c1eff1b654425f3ddfecba469296aada890de1.zip |
Bump dracut to v59
-rwxr-xr-x | build-initramfs.sh | 8 |
1 files 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=( |