From ba30700ef786f41b3f02ea836a742482c66f3ec8 Mon Sep 17 00:00:00 2001 From: "M. Vefa Bicakci" Date: Sun, 10 Apr 2016 00:00:00 -0400 Subject: [PATCH] lorax: Do not fail if EFI directory already exists --- lorax-templates-qubes/templates/efi.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lorax-templates-qubes/templates/efi.tmpl b/lorax-templates-qubes/templates/efi.tmpl index 33678ba..be5c3e2 100644 --- a/lorax-templates-qubes/templates/efi.tmpl +++ b/lorax-templates-qubes/templates/efi.tmpl @@ -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}" \