From bf3598befff0137592834465ef728fdaabf1e778 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Tue, 11 Oct 2022 10:50:58 +0200 Subject: mkfs-util: Add support to populate vfat without mounting using mcopy mkfs.vfat doesn't support specifying a root directory to bootstrap the filesystem from (see https://github.com/dosfstools/dosfstools/issues/183). Instead, we can use the mcopy tool from the mtools package to copy files into the vfat filesystem after creating it without needing to mount the vfat filesystem. --- mkosi.conf.d/10-systemd.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mkosi.conf.d') diff --git a/mkosi.conf.d/10-systemd.conf b/mkosi.conf.d/10-systemd.conf index 0915e71357..f9e4d08616 100644 --- a/mkosi.conf.d/10-systemd.conf +++ b/mkosi.conf.d/10-systemd.conf @@ -21,6 +21,7 @@ Packages= coreutils diffutils dnsmasq + dosfstools e2fsprogs findutils gcc # For sanitizer libraries @@ -30,6 +31,7 @@ Packages= kexec-tools kmod less + mtools nano nftables openssl -- cgit v1.2.1