This commit is contained in:
Igor Pecovnik 2020-06-02 16:42:23 +02:00
commit abaae64c80
No known key found for this signature in database
GPG Key ID: 93D6889F9F0E78D5

View File

@ -556,6 +556,12 @@ update_initramfs()
display_alert "Updated initramfs." "for details see: $DEST/debug/install.log" "ext"
umount_chroot "$chroot_target/"
# dirty workaround for random initrd corruption https://armbian.atlassian.net/browse/AR-294
if [[ "$RELEASE" == focal || "$RELEASE" == bullseye ]]; then
chroot $chroot_target $QEMU_BINARY /bin/bash -c "$update_initramfs_cmd" >> $DEST/debug/install.log 2>&1
fi
rm $chroot_target/usr/bin/$QEMU_BINARY
} #############################################################################