The new version has an internal CP850 conversion table, hence it doesn't depend on gconv or iconv anymore. gettext-native is still required for the AM_ICONV automake macro though.
Most notably, dosfsck 4.2 no longer marks directory entries created by mtools <= 4.0.19 as bad, thereby rendering lots of FAT boot partitions (Raspberry Pi/UEFI) unbootable. mtools <= 4.0.19 is part of "warrior" and earlier and used by e.g. meta-mender during build. Therefore, many affected FAT partitions can be expected in the wild and a backport of dosfsck 4.2 is highly recommended. References: * https://github.com/dosfstools/dosfstools/commit/87a8f29785bb605350821f1638a42e6cf3e49ce3 * https://svn.savannah.gnu.org/viewvc/mtools/trunk/direntry.c?r1=363&r2=452 Signed-off-by: Colin Finck <[email protected]> --- .../{dosfstools_4.1.bb => dosfstools_4.2.bb} | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) rename meta/recipes-devtools/dosfstools/{dosfstools_4.1.bb => dosfstools_4.2.bb} (72%) diff --git a/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb b/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb similarity index 72% rename from meta/recipes-devtools/dosfstools/dosfstools_4.1.bb rename to meta/recipes-devtools/dosfstools/dosfstools_4.2.bb index 4bd4aef099..445f4cafe8 100644 --- a/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb +++ b/meta/recipes-devtools/dosfstools/dosfstools_4.2.bb @@ -8,25 +8,23 @@ HOMEPAGE = "https://github.com/dosfstools/dosfstools" SECTION = "base" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +DEPENDS = "gettext-native" -SRC_URI = "https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${BP}.tar.xz \ +SRC_URI = "https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${BP}.tar.gz \ " -SRC_URI[md5sum] = "07a1050db1a898e9a2e03b0c4569c4bd" -SRC_URI[sha256sum] = "e6b2aca70ccc3fe3687365009dd94a2e18e82b688ed4e260e04b7412471cc173" +SRC_URI[md5sum] = "49c8e457327dc61efab5b115a27b087a" +SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527" UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases" inherit autotools pkgconfig update-alternatives -EXTRA_OECONF = "--without-udev --enable-compat-symlinks" +EXTRA_OECONF = "--enable-compat-symlinks --without-iconv" CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" BBCLASSEXTEND = "native nativesdk" -# Add codepage437 to avoid error from `dosfsck -l` -RRECOMMENDS_${PN}_append_libc-glibc = " glibc-gconv-ibm437" - ALTERNATIVE_PRIORITY = "100" ALTERNATIVE_${PN} = "mkfs.vfat" ALTERNATIVE_LINK_NAME[mkfs.vfat] = "${sbindir}/mkfs.vfat" -- 2.28.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#148696): https://lists.openembedded.org/g/openembedded-core/message/148696 Mute This Topic: https://lists.openembedded.org/mt/80928608/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
