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 <[email protected]> --- meta/recipes-core/busybox/busybox/mkdosfs.cfg | 2 ++ meta/recipes-core/busybox/busybox_1.37.0.bb | 1 + 2 files changed, 3 insertions(+) create mode 100644 meta/recipes-core/busybox/busybox/mkdosfs.cfg diff --git a/meta/recipes-core/busybox/busybox/mkdosfs.cfg b/meta/recipes-core/busybox/busybox/mkdosfs.cfg new file mode 100644 index 0000000000..29307b20fc --- /dev/null +++ b/meta/recipes-core/busybox/busybox/mkdosfs.cfg @@ -0,0 +1,2 @@ +CONFIG_MKDOSFS=y +CONFIG_MKFS_VFAT=y diff --git a/meta/recipes-core/busybox/busybox_1.37.0.bb b/meta/recipes-core/busybox/busybox_1.37.0.bb index 2a38372339..fbb0edb0fb 100644 --- a/meta/recipes-core/busybox/busybox_1.37.0.bb +++ b/meta/recipes-core/busybox/busybox_1.37.0.bb @@ -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 \ -- 2.53.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#234319): https://lists.openembedded.org/g/openembedded-core/message/234319 Mute This Topic: https://lists.openembedded.org/mt/118606115/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
