summaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-utils/xfstests/xfstests_2025.03.30.bb
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2025-05-11 21:46:43 +0200
committerKhem Raj <raj.khem@gmail.com>2025-05-11 14:18:12 -0700
commitb1ab90ee9807ce956a8f61b0115d55e46f95bc8d (patch)
tree10468e88d3ab3a3dab13d84b14325a5b6709524e /meta-filesystems/recipes-utils/xfstests/xfstests_2025.03.30.bb
parentb87ebe9659033c0af152f48bb5ae3cfece4e687b (diff)
downloadmeta-openembedded-b1ab90ee9807ce956a8f61b0115d55e46f95bc8d.tar.gz
xfstests: upgrade to 2025.04.27
Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-filesystems/recipes-utils/xfstests/xfstests_2025.03.30.bb')
-rw-r--r--meta-filesystems/recipes-utils/xfstests/xfstests_2025.03.30.bb79
1 files changed, 0 insertions, 79 deletions
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2025.03.30.bb b/meta-filesystems/recipes-utils/xfstests/xfstests_2025.03.30.bb
deleted file mode 100644
index 55b509549a..0000000000
--- a/meta-filesystems/recipes-utils/xfstests/xfstests_2025.03.30.bb
+++ /dev/null
@@ -1,79 +0,0 @@
1SUMMARY = "File system QA test suite"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=74274e8a218423e49eefdea80bc55038"
4
5SRCREV = "b59671d2b894040bd355ddbf1ff03285607de16f"
6SRCREV_unionmount = "c6ab621ac19f2b96d34cd98f244e611750e2bb23"
7SRCREV_FORMAT = "default_unionmount"
8
9SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=master;tag=v${PV} \
10 git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite \
11 file://0001-add-missing-FTW_-macros-when-not-available-in-libc.patch \
12 file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \
13 file://0001-include-libgen.h-for-basename-API-prototype.patch \
14 file://0002-Add-missing-STATX_ATTR_-defines-from-musl-sys-stat.h.patch \
15 file://0001-bstat-use-uint32_t-instead-of-__uint32_t-to-fix-buil.patch \
16 "
17
18S = "${WORKDIR}/git"
19
20# brokensep because m4/package_globals.m4 calls ". ./VERSION" (and that's not the only issue)
21inherit autotools-brokensep useradd pkgconfig
22
23DEPENDS += "xfsprogs acl"
24RDEPENDS:${PN} += "\
25 bash \
26 bc \
27 coreutils \
28 e2fsprogs \
29 e2fsprogs-tune2fs \
30 e2fsprogs-resize2fs \
31 libaio \
32 libcap-bin \
33 overlayfs-tools \
34 perl \
35 python3 \
36 python3-core \
37 xfsprogs \
38 acl \
39 gawk \
40 util-linux-mkfs \
41 util-linux-mount \
42 util-linux-findmnt \
43 inetutils-hostname \
44 grep \
45"
46
47USERADD_PACKAGES = "${PN}"
48# these users are necessary to run the tests
49USERADD_PARAM:${PN} = "-U -m fsgqa; -N 123456-fsgqa; -N fsgqa2"
50
51EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root"
52
53TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE"
54
55do_configure:prepend() {
56 # this is done by Makefile configure target, but we don't call it in do_configure
57 cp -a ${S}/include/install-sh .
58}
59
60do_install() {
61 # otherwise install-sh duplicates DESTDIR prefix
62 export DIST_ROOT="/" DIST_MANIFEST="" DESTDIR="${D}"
63 oe_runmake install
64
65 unionmount_target_dir=${D}${prefix}/xfstests/unionmount-testsuite
66 install -d $unionmount_target_dir/tests
67 install ${UNPACKDIR}/unionmount-testsuite/tests/* -t $unionmount_target_dir/tests
68 install ${UNPACKDIR}/unionmount-testsuite/*.py -t $unionmount_target_dir
69 install ${UNPACKDIR}/unionmount-testsuite/run -t $unionmount_target_dir
70 install ${UNPACKDIR}/unionmount-testsuite/README -t $unionmount_target_dir
71}
72
73FILES:${PN} += "${prefix}/xfstests"
74
75# This one is reproducible only on 32bit MACHINEs
76# http://errors.yoctoproject.org/Errors/Details/766963/
77# lstat64.c:65:14: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
78# bstat.c:18:19: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
79CFLAGS += "-Wno-error=incompatible-pointer-types"