From 1107f905029d0fa8cdda3b7e5d6c503ee9b37a7e Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Fri, 1 Oct 2021 17:14:45 -0400 Subject: [PATCH] coreos-boot-edit: assume `rdcore` is in PATH There are already other places which assume that `rdcore` is in `PATH` so drop the full path to be more generic. --- .../lib/dracut/modules.d/35coreos-ignition/coreos-boot-edit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-ignition/coreos-boot-edit.sh b/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-ignition/coreos-boot-edit.sh index 3b16813b46..8fca954497 100755 --- a/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-ignition/coreos-boot-edit.sh +++ b/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-ignition/coreos-boot-edit.sh @@ -31,5 +31,5 @@ rm -vrf ${initramfs_firstboot_network_dir} # append rootmap kargs to the BLS configs. root=$(karg root) if [ -z "${root}" ]; then - /usr/bin/rdcore rootmap /sysroot --boot-mount ${bootmnt} + rdcore rootmap /sysroot --boot-mount ${bootmnt} fi