What were you trying to do that didn't work?
Install kernel-core package on a UKI system yields below error
dracut[F]: Can't write to /boot/efi/e197cbaa19ee496097a1122fb60e330a/6.12.0-122.el10.x86_64: Directory /boot/efi/e197cbaa19ee496097a1122fb60e330a/6.12.0-122.el10.x86_64 does not exist or is not accessible. /usr/lib/kernel/install.d/50-dracut.install failed with exit status 1. warning: %posttrans(kernel-core-6.12.0-122.el10.x86_64) scriptlet failed, exit status 1
Issue is in 50-dracut.install with extraneous quote signs
+ dracut -f --verbose --kernel-image /lib/modules/6.12.0-122.el10.x86_64/vmlinuz '' --kver 6.12.0-122.el10.x86_64 /boot/initramfs-6.12.0-122.el10.x86_64.img dracut[I]: Executing: /usr/bin/dracut -f --verbose --kernel-image /lib/modules/6.12.0-122.el10.x86_64/vmlinuz --kver 6.12.0-122.el10.x86_64 /boot/initramfs-6.12.0-122.el10.x86_64.img dracut[F]: Can't write to /boot/efi/e197cbaa19ee496097a1122fb60e330a/6.12.0-122.el10.x86_64: Directory /boot/efi/e197cbaa19ee496097a1122fb60e330a/6.12.0-122.el10.x86_64 does not exist or is not accessible.
Removing the quotes resolves the issue
Please provide the package NVR for which bug is seen:
dracut-107-3.el10
How reproducible:
Always
Steps to reproduce
Expected results
kernel-core should install successfully and initramfs should be generated under /boot.