diff options
author | Ricardo Salveti <ricardo@foundries.io> | 2020-11-02 19:34:29 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-08 14:03:20 +0000 |
commit | c173b349caf07a1ea8be04d2cb66fa3db849e8f9 (patch) | |
tree | eb118d9a136fbc8c8a407d42aea7278f77e322dc | |
parent | 781d6a8316daa62627091375d5c7448cfe8b7a6d (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-devtools/dosfstools/dosfstools_4.1.bb | 6 |
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 | ||
17 | UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases" | 17 | UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases" |
18 | 18 | ||
19 | inherit autotools pkgconfig | 19 | inherit autotools pkgconfig update-alternatives |
20 | 20 | ||
21 | EXTRA_OECONF = "--without-udev --enable-compat-symlinks" | 21 | EXTRA_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` |
28 | RRECOMMENDS_${PN}_append_libc-glibc = " glibc-gconv-ibm437" | 28 | RRECOMMENDS_${PN}_append_libc-glibc = " glibc-gconv-ibm437" |
29 | |||
30 | ALTERNATIVE_PRIORITY = "100" | ||
31 | ALTERNATIVE_${PN} = "mkfs.vfat" | ||
32 | ALTERNATIVE_LINK_NAME[mkfs.vfat] = "${sbindir}/mkfs.vfat" | ||