diff --git a/export-image/mk-iso.sh b/export-image/mk-iso.sh index 561ee9d..bff0e88 100755 --- a/export-image/mk-iso.sh +++ b/export-image/mk-iso.sh @@ -72,7 +72,7 @@ mount -v "$ROOT_DEV" "${ROOTFS_DIR}" -t ext4 mkdir -p "${ROOTFS_DIR}/boot" mount -v "$BOOT_DEV" "${ROOTFS_DIR}/boot" -t vfat -rsync -aHAXx --exclude /var/cache/apt/archives --exclude /boot/firmware "${EXPORT_ROOTFS_DIR}/" "${ROOTFS_DIR}/" +rsync -aHAXx --exclude /var/cache/apt/archives --exclude /boot/firmware --exclude /boot/overlays "${EXPORT_ROOTFS_DIR}/" "${ROOTFS_DIR}/" #rsync -rtx "${EXPORT_ROOTFS_DIR}/boot/firmware/" "${ROOTFS_DIR}/boot/firmware/" # Optionally mount and populate the recovery partition