lorax: Do not fail if EFI directory already exists

This commit is contained in:
M. Vefa Bicakci 2016-04-10 00:00:00 -04:00 committed by Marek Marczykowski-Górecki
parent 19ff42ed5f
commit ba30700ef7
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -49,7 +49,7 @@ install boot/efi/EFI/*/fonts/unicode.pf2 ${EFIBOOTDIR}/fonts/
%>
%if include_kernel:
copy ${KERNELDIR}/vmlinuz ${EFIBOOTDIR}
runcmd chroot ${inroot} mkdir /boot/efi/EFI/qubes
runcmd chroot ${inroot} mkdir -p /boot/efi/EFI/qubes
runcmd chroot ${inroot} dracut --nomdadmconf --nolvmconf --nofscks --no-early-microcode --no-hostonly --xz --install '/.buildstamp' \
--add 'anaconda pollcdrom dmsquash-live' \
--omit="${extra_dracut_modules}" --omit-drivers="${scsi_modules}" --omit-drivers="${extra_modules}" \