Date: Thu, 10 Feb 2022 19:44:00 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 0853415963c0 - main - nanobsd: Recursively copy fat partition Message-ID: <202202101944.21AJi07S035556@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0853415963c0b24a24abc7a13bfa4117b35c8a37 commit 0853415963c0b24a24abc7a13bfa4117b35c8a37 Author: Jose Luis Duran <jlduran@gmail.com> AuthorDate: 2022-02-10 19:42:25 +0000 Commit: Warner Losh <imp@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202101944.21AJi07S035556>