nanobsd: Recursively copy fat partition
We have a directory structure for the FAT partition now with EFI and DTC overlays, so we need to recursively copy it. Differential Revision: https://reviews.freebsd.org/D34241
This commit is contained in:
parent
74f7afdfd2
commit
0853415963
@ -217,7 +217,7 @@ create_diskimage_mbr ( ) (
|
||||
if [ -d ${NANO_FAT_DIR} ]; then
|
||||
# Need to copy files from ${NANO_FATDIR} with mtools, or use
|
||||
# makefs -t msdos once that's supported
|
||||
mcopy -i ${NANO_LOG}/_.${NANO_SLICE_FAT} ${NANO_FAT_DIR}/* ::
|
||||
mcopy -s -i ${NANO_LOG}/_.${NANO_SLICE_FAT} ${NANO_FAT_DIR}/* ::
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user