diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2024-03-22 13:30:55 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-03-22 09:05:48 -0700 |
| commit | c8c035e99b28924ae58ee1dee6dd6e6b14b52084 (patch) | |
| tree | 6b84ff0a33a40f00c921d1940bd0195a35db88f7 /meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb | |
| parent | 05ed14148516803a0c55ac7424e13a495593e8a3 (diff) | |
| download | meta-openembedded-c8c035e99b28924ae58ee1dee6dd6e6b14b52084.tar.gz | |
xfstests: upgrade to v2024.03.03
* drop 0003-tests-Makefile-make-sure-group.list-DIRT-exists-befo.patch which
was merged upstream
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_2024.03.03.bb')
| -rw-r--r-- | meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb b/meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb new file mode 100644 index 0000000000..2d5fedb417 --- /dev/null +++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | SUMMARY = "File system QA test suite" | ||
| 2 | LICENSE = "GPL-2.0-only" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=74274e8a218423e49eefdea80bc55038" | ||
| 4 | |||
| 5 | SRCREV = "088e5bd4cb6d7295612430a56ae84ff5c8f54730" | ||
| 6 | SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914" | ||
| 7 | SRCREV_FORMAT = "default_unionmount" | ||
| 8 | |||
| 9 | SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=master \ | ||
| 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 | " | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | # brokensep because m4/package_globals.m4 calls ". ./VERSION" (and that's not the only issue) | ||
| 18 | inherit autotools-brokensep useradd | ||
| 19 | |||
| 20 | DEPENDS += "xfsprogs acl" | ||
| 21 | RDEPENDS:${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 | gawk \ | ||
| 37 | " | ||
| 38 | |||
| 39 | USERADD_PACKAGES = "${PN}" | ||
| 40 | # these users are necessary to run the tests | ||
| 41 | USERADD_PARAM:${PN} = "-U -m fsgqa; -N 123456-fsgqa; -N fsgqa2" | ||
| 42 | |||
| 43 | EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root" | ||
| 44 | |||
| 45 | TARGET_CC_ARCH:append:libc-musl = " -D_LARGEFILE64_SOURCE" | ||
| 46 | |||
| 47 | do_configure:prepend() { | ||
| 48 | # this is done by Makefile configure target, but we don't call it in do_configure | ||
| 49 | cp -a ${S}/include/install-sh . | ||
| 50 | } | ||
| 51 | |||
| 52 | do_install() { | ||
| 53 | # otherwise install-sh duplicates DESTDIR prefix | ||
| 54 | export DIST_ROOT="/" DIST_MANIFEST="" DESTDIR="${D}" | ||
| 55 | oe_runmake install | ||
| 56 | |||
| 57 | unionmount_target_dir=${D}${prefix}/xfstests/unionmount-testsuite | ||
| 58 | install -d $unionmount_target_dir/tests | ||
| 59 | install ${WORKDIR}/unionmount-testsuite/tests/* -t $unionmount_target_dir/tests | ||
| 60 | install ${WORKDIR}/unionmount-testsuite/*.py -t $unionmount_target_dir | ||
| 61 | install ${WORKDIR}/unionmount-testsuite/run -t $unionmount_target_dir | ||
| 62 | install ${WORKDIR}/unionmount-testsuite/README -t $unionmount_target_dir | ||
| 63 | } | ||
| 64 | |||
| 65 | FILES:${PN} += "${prefix}/xfstests" | ||
