]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
busybox: enable mkfs.vfat via config fragment
authorRicardo Salveti <ricardo.salveti@oss.qualcomm.com>
Tue, 31 Mar 2026 22:36:02 +0000 (19:36 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Apr 2026 09:56:25 +0000 (10:56 +0100)
Enable busybox’s mkfs.vfat (mkdosfs) implementation using a dedicated
mkdosfs.cfg config fragment.

While dosfstools provides mkfs.vfat and is available through
update-alternatives, it is licensed under GPLv3. Busybox also includes a
lightweight mkfs.vfat implementation that is suitable for minimal images
and systems relying primarily on busybox utilities.

Signed-off-by: Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/busybox/busybox/mkdosfs.cfg [new file with mode: 0644]
meta/recipes-core/busybox/busybox_1.37.0.bb

diff --git a/meta/recipes-core/busybox/busybox/mkdosfs.cfg b/meta/recipes-core/busybox/busybox/mkdosfs.cfg
new file mode 100644 (file)
index 0000000..29307b2
--- /dev/null
@@ -0,0 +1,2 @@
+CONFIG_MKDOSFS=y
+CONFIG_MKFS_VFAT=y
index 2a3837233959689071c388df2b81f69fd831c82c..fbb0edb0fb634f9b328b5ae1f11bda47f8b4617e 100644 (file)
@@ -27,6 +27,7 @@ SRC_URI = "https://busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
            file://recognize_connmand.patch \
            file://busybox-cross-menuconfig.patch \
            file://mount-via-label.cfg \
+           file://mkdosfs.cfg \
            file://sha1sum.cfg \
            file://sha256sum.cfg \
            file://getopts.cfg \