installer: Bind-mount /sys/firmware/efi/efivars into chroot

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Michael Tremer
2021-11-04 09:05:54 +00:00
committed by Peter Müller
parent 27944cdc4a
commit ced15fdfaf
3 changed files with 78 additions and 39 deletions

View File

@@ -909,7 +909,7 @@ int main(int argc, char *argv[]) {
}
// Umount source drive and eject
hw_umount(SOURCE_MOUNT_PATH);
hw_umount(SOURCE_MOUNT_PATH, NULL);
// Free downloaded ISO image
if (strcmp(sourcedrive, SOURCE_TEMPFILE) == 0) {