From e03cb81023c93697fa249dbfe079fb40e9bf20b7 Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Tue, 4 Jul 2017 08:52:12 +0200 Subject: xfsprogs: 4.11.0 with build time fix Pull later xfsprogs 4.11.0 from meta-filesystems required by snapd from meta-snappy: http://cgit.openembedded.org/meta-openembedded/commit/meta-filesystems/recipes-utils/xfsprogs?id=d53546b7cb38e0dfea6f458859f7f477065daa43 This already incorporates the following fix as reported by our customer: https://patchwork.openembedded.org/patch/141247/ Reported-by: Carlos Silvestre Herrera Trujillo Signed-off-by: Marcel Ziswiler --- recipes-utils/xfsprogs/xfsprogs_4.11.0.bb | 61 +++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 recipes-utils/xfsprogs/xfsprogs_4.11.0.bb (limited to 'recipes-utils/xfsprogs/xfsprogs_4.11.0.bb') diff --git a/recipes-utils/xfsprogs/xfsprogs_4.11.0.bb b/recipes-utils/xfsprogs/xfsprogs_4.11.0.bb new file mode 100644 index 0000000..046dea4 --- /dev/null +++ b/recipes-utils/xfsprogs/xfsprogs_4.11.0.bb @@ -0,0 +1,61 @@ +SUMMARY = "XFS Filesystem Utilities" +HOMEPAGE = "http://oss.sgi.com/projects/xfs" +SECTION = "base" +LICENSE = "GPLv2 & LGPLv2.1" +LICENSE_libhandle = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://doc/COPYING;md5=102f7fec3d53c7c8f0b7baf9bf9d76a8" +DEPENDS = "util-linux util-linux-native" +SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/${BP}.tar.xz \ + file://link_needed_libs.patch \ + file://0001-define-__-prefixed-version-of-intXY_t-types.patch \ + " +SRC_URI[md5sum] = "f1f9b8c752347eefdb56483dafa0cefb" +SRC_URI[sha256sum] = "c3a6d87b564d7738243c507df82276bed982265e345363a95f2c764e8a5f5bb2" + +inherit autotools-brokensep + +PACKAGES =+ "${PN}-fsck ${PN}-mkfs ${PN}-repair libhandle" + +DEPENDS += "util-linux" + +RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs ${PN}-repair" + +FILES_${PN}-fsck = "${base_sbindir}/fsck.xfs" +FILES_${PN}-mkfs = "${base_sbindir}/mkfs.xfs" +FILES_${PN}-repair = "${base_sbindir}/xfs_repair" + +FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}" + +EXTRA_OECONF = "--enable-gettext=no \ + INSTALL_USER=root \ + INSTALL_GROUP=root \ + ac_cv_header_aio_h=yes \ + ac_cv_lib_rt_lio_listio=yes \ +" + +EXTRA_AUTORECONF += "-I ${S}/m4 --exclude=autoheader" + +PACKAGECONFIG ??= "readline blkid" + +PACKAGECONFIG[readline] = "--enable-readline=yes,--enable-readline=no,readline" +PACKAGECONFIG[blkid] = "--enable-blkid=yes,--enable-blkid=no,util-linux" + +export DEBUG="-DNDEBUG" +export BUILD_VERBOSE="1" + +EXTRA_OEMAKE = "DIST_ROOT='${D}'" + +do_configure_prepend () { + export BUILD_CC="${BUILD_CC} ${BUILD_CFLAGS}" + # Prevent Makefile from calling configure without arguments, + # when do_configure gets called for a second time. + rm -f ${B}/include/builddefs ${B}/include/platform_defs.h ${B}/configure + # Recreate configure script. + oe_runmake configure +} + +do_install_append() { + oe_runmake 'DESTDIR=${D}' install-dev + rm ${D}${libdir}/*.la + rmdir --ignore-fail-on-non-empty ${D}${libdir} +} -- cgit v1.2.3