The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0853415963c0b24a24abc7a13bfa4117b35c8a37

commit 0853415963c0b24a24abc7a13bfa4117b35c8a37
Author:     Jose Luis Duran <jldu...@gmail.com>
AuthorDate: 2022-02-10 19:42:25 +0000
Commit:     Warner Losh <i...@freebsd.org>
CommitDate: 2022-02-10 19:43:19 +0000

    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
---
 tools/tools/nanobsd/embedded/common | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 

Reply via email to