summaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-11-04 14:00:22 -0700
committerKhem Raj <raj.khem@gmail.com>2023-11-06 08:49:52 -0800
commit2af7d3f63efda0014f29e0b0456e2e3f4506677e (patch)
tree2518e8becc2baa3f710fa673ffb1fe9217a32b59 /meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb
parenta7ed5cc98d3038becb01b2ce676e109c0a7cec00 (diff)
downloadmeta-openembedded-2af7d3f63efda0014f29e0b0456e2e3f4506677e.tar.gz
xfstests: upgrade 2023.03.05 -> 2023.10.29
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb')
-rw-r--r--meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb64
1 files changed, 64 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb b/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb
new file mode 100644
index 0000000000..79775fcb78
--- /dev/null
+++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb
@@ -0,0 +1,64 @@
1SUMMARY = "File system QA test suite"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=74274e8a218423e49eefdea80bc55038"
4
5SRCREV = "11914614784735c504f43b5b6baabaa713375984"
6SRCREV_FORMAT = "xfstests_unionmount"
7
8SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next;name=xfstests \
9 git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite \
10 file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \
11 "
12
13SRCREV_xfstests = "f7765774a1b5cb98c2f21a892e82b3421f40e791"
14SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914"
15
16S = "${WORKDIR}/git"
17
18inherit autotools-brokensep useradd
19
20DEPENDS += "xfsprogs acl"
21RDEPENDS:${PN} += "\
22 bash \
23 bc \
24 coreutils \
25 e2fsprogs \
26 e2fsprogs-tune2fs \
27 e2fsprogs-resize2fs \
28 libaio \
29 libcap-bin \
30 overlayfs-tools \
31 perl \
32 python3 \
33 python3-core \
34 xfsprogs \
35 acl \
36"
37
38USERADD_PACKAGES = "${PN}"
39# these users are necessary to run the tests
40USERADD_PARAM:${PN} = "-U -m fsgqa; -N 123456-fsgqa; -N fsgqa2"
41
42EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root"
43
44TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE"
45# install-sh script in the project is outdated
46# we use the one from the latest libtool to solve installation issues
47# It looks like the upstream is not interested in having it fixed :(
48# https://www.spinics.net/lists/fstests/msg16981.html
49do_configure:prepend() {
50 cp ${STAGING_DIR_NATIVE}${datadir}/libtool/build-aux/install-sh ${B}
51}
52
53do_install:append() {
54 unionmount_target_dir=${D}/usr/xfstests/unionmount-testsuite
55 install -d ${D}/usr/xfstests/unionmount-testsuite/tests
56 install -D ${WORKDIR}/unionmount-testsuite/tests/* -t $unionmount_target_dir/tests
57 install ${WORKDIR}/unionmount-testsuite/*.py -t $unionmount_target_dir
58 install ${WORKDIR}/unionmount-testsuite/run -t $unionmount_target_dir
59 install ${WORKDIR}/unionmount-testsuite/README -t $unionmount_target_dir
60}
61
62FILES:${PN} += "\
63 /usr/xfstests \
64"