Browse Source
Commit 5e574046e76e ("5?-dracut*.install: Allow scripts to install the initramfs in /boot dir") added support to generate initramfs images in the /boot directory and copy the respective BLS files. Unfortunately, it broke the rescue initramfs generation when it's not installed on /boot due not checking for the correct condition. It checks for the 0-rescue sub-dir to exist, but this is created so instead if the parent sub-dir exists has to be checked. Also, check if the destination directory is /boot or not, instead if it exists. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>master


1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue