]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(fedora): always include chroot binary
authorJo Zzsi <jozzsicsataban@gmail.com>
Mon, 11 Aug 2025 11:18:06 +0000 (07:18 -0400)
committerLaszlo <laszlo.gombos@gmail.com>
Sat, 13 Sep 2025 13:34:10 +0000 (09:34 -0400)
It seems RedHat requires chroot, which is addressed by a commit revert
currently instead of a proper permanent solution, see
https://github.com/redhat-plumbers/dracut-rhel10/pull/49

This commit provides a long term permanent solution that does not
require a downstream revert.

dracut.conf.d/fedora/01-dist.conf

index 27b95dbbcd1cd0ffef4d6d519c5a48cffa38d751..6689c330ef8790a91ae1f3e7724dea554d07b88a 100644 (file)
@@ -8,7 +8,10 @@ i18n_install_all="yes"
 
 stdloglvl=3
 sysloglvl=5
-install_optional_items+=" vi /usr/libexec/vi /etc/virc ps grep cat rm "
+
+# always install the following binaries to allow to debug and correct initrds in rescue shell
+install_optional_items+=" vi /usr/libexec/vi /etc/virc ps grep cat rm chroot "
+
 prefix="/"
 environment=/usr/lib/environment.d
 environmentconfdir=/etc/environment.d