diff options
author | Jose Luis Duran <jlduran@gmail.com> | 2022-02-10 19:42:25 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2022-02-10 19:43:19 +0000 |
commit | 0853415963c0b24a24abc7a13bfa4117b35c8a37 (patch) | |
tree | 875b0818b505dc94eb52c9f8775a41df13a42180 | |
parent | 74f7afdfd2f5c1beaed7af1bfe89b8b520744500 (diff) | |
download | src-0853415963c0b24a24abc7a13bfa4117b35c8a37.tar.gz src-0853415963c0b24a24abc7a13bfa4117b35c8a37.zip |
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
-rw-r--r-- | tools/tools/nanobsd/embedded/common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/nanobsd/embedded/common b/tools/tools/nanobsd/embedded/common index 2d60940038a9..3998764311bb 100644 --- a/tools/tools/nanobsd/embedded/common +++ b/tools/tools/nanobsd/embedded/common @@ -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 |