summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb
diff options
context:
space:
mode:
authorRicardo Salveti <ricardo@foundries.io>2020-11-02 19:34:29 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-08 14:03:20 +0000
commitc173b349caf07a1ea8be04d2cb66fa3db849e8f9 (patch)
treeeb118d9a136fbc8c8a407d42aea7278f77e322dc /meta/recipes-devtools/dosfstools/dosfstools_4.1.bb
parent781d6a8316daa62627091375d5c7448cfe8b7a6d (diff)
downloadpoky-c173b349caf07a1ea8be04d2cb66fa3db849e8f9.tar.gz
dosfstools: add mkfs.vfat to ALTERNATIVE
The mkfs.vfat tool can also be provided by busybox via the CONFIG_MKFS_VFAT configuration (not enabled by default in OE but can be enabled on systems avoiding components based on GPLv3). (From OE-Core rev: 1227a29974671fd52014deaca7ac859a037cdeb5) Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dosfstools/dosfstools_4.1.bb')
-rw-r--r--meta/recipes-devtools/dosfstools/dosfstools_4.1.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb b/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb
index 97ce449954..4bd4aef099 100644
--- a/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb
+++ b/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb
@@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "e6b2aca70ccc3fe3687365009dd94a2e18e82b688ed4e260e04b741247
16 16
17UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases" 17UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases"
18 18
19inherit autotools pkgconfig 19inherit autotools pkgconfig update-alternatives
20 20
21EXTRA_OECONF = "--without-udev --enable-compat-symlinks" 21EXTRA_OECONF = "--without-udev --enable-compat-symlinks"
22 22
@@ -26,3 +26,7 @@ BBCLASSEXTEND = "native nativesdk"
26 26
27# Add codepage437 to avoid error from `dosfsck -l` 27# Add codepage437 to avoid error from `dosfsck -l`
28RRECOMMENDS_${PN}_append_libc-glibc = " glibc-gconv-ibm437" 28RRECOMMENDS_${PN}_append_libc-glibc = " glibc-gconv-ibm437"
29
30ALTERNATIVE_PRIORITY = "100"
31ALTERNATIVE_${PN} = "mkfs.vfat"
32ALTERNATIVE_LINK_NAME[mkfs.vfat] = "${sbindir}/mkfs.vfat"