diff options
author | Ricardo Salveti <ricardo@foundries.io> | 2020-11-02 19:34:29 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-20 10:44:34 +0000 |
commit | 58369db211ce42124088fa793d61016c702c962a (patch) | |
tree | 67751a1c20fcdbe3aaf3e859f6a8078e28d725bf | |
parent | d3ad6a22dbb8b9a21d7fe11bf437a20dea95ec81 (diff) | |
download | poky-58369db211ce42124088fa793d61016c702c962a.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: 4afa9f08123df819e53b5d9d586f7a34dcde1ef1)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1227a29974671fd52014deaca7ac859a037cdeb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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 23b8836670..e4ab113391 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" | |||
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" | ||