summaryrefslogtreecommitdiffstats
path: root/rules/xfsprogs.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-01-28 09:47:57 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-02-03 18:30:31 +0100
commit34920f898a2486e154e5a31da095f60e88837c2d (patch)
tree416d22fefbfb67efbb37e1f8374d9905efd5a54e /rules/xfsprogs.make
parentfe9b35538ad28381bd1d74a7e0d5b1ba2c51d1aa (diff)
downloadptxdist-34920f898a2486e154e5a31da095f60e88837c2d.tar.gz
ptxdist-34920f898a2486e154e5a31da095f60e88837c2d.tar.xz
xfsprogs: version bump 4.5.0 -> 4.19.0
This fixes building with glibc 2.28. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xfsprogs.make')
-rw-r--r--rules/xfsprogs.make19
1 files changed, 14 insertions, 5 deletions
diff --git a/rules/xfsprogs.make b/rules/xfsprogs.make
index f0a59f55b..736649217 100644
--- a/rules/xfsprogs.make
+++ b/rules/xfsprogs.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_XFSPROGS) += xfsprogs
#
# Paths and names
#
-XFSPROGS_VERSION:= 4.5.0
-XFSPROGS_MD5 := fcba94b6c74b726dac956d7a650c0c31 1f04cc1464994a9a43210ddd887cb680
+XFSPROGS_VERSION:= 4.19.0
+XFSPROGS_MD5 := 955b3dad9cbe01d6b21a562cc0100e04
XFSPROGS := xfsprogs-$(XFSPROGS_VERSION)
XFSPROGS_SUFFIX := tar.gz
XFSPROGS_URL := $(call ptx/mirror, KERNEL, utils/fs/xfs/xfsprogs/$(XFSPROGS).$(XFSPROGS_SUFFIX))
@@ -30,6 +30,10 @@ XFSPROGS_LICENSE:= GPL-2.0-only AND LGPL-2.1-only
# Prepare
# ----------------------------------------------------------------------------
+XFSPROGS_CONF_ENV := \
+ $(CROSS_ENV) \
+ ac_cv_search_dm_task_create=no
+
XFSPROGS_CONF_TOOL := autoconf
XFSPROGS_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
@@ -44,6 +48,11 @@ XFSPROGS_CONF_OPT := \
--disable-termcap \
--disable-lib64
+XFSPROGS_INSTALL_OPT := \
+ PKG_ROOT_LIB_DIR=/usr/lib \
+ PKG_ROOT_SBIN_DIR=/usr/sbin \
+ install
+
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
@@ -58,12 +67,12 @@ $(STATEDIR)/xfsprogs.targetinstall:
@$(call install_fixup, xfsprogs,DESCRIPTION,missing)
ifdef PTXCONF_XFSPROGS_INSTALL_MKXFS
- @$(call install_copy, xfsprogs, 0, 0, 0755, -, /sbin/mkfs.xfs)
+ @$(call install_copy, xfsprogs, 0, 0, 0755, -, /usr/sbin/mkfs.xfs)
endif
ifdef PTXCONF_XFSPROGS_INSTALL_XFS_REPAIR
- @$(call install_copy, xfsprogs, 0, 0, 0755, -, /sbin/xfs_repair)
- @$(call install_copy, xfsprogs, 0, 0, 0755, -, /sbin/fsck.xfs)
+ @$(call install_copy, xfsprogs, 0, 0, 0755, -, /usr/sbin/xfs_repair)
+ @$(call install_copy, xfsprogs, 0, 0, 0755, -, /usr/sbin/fsck.xfs)
endif
ifdef PTXCONF_XFSPROGS_INSTALL_GROWFS