diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2024-02-15 21:06:35 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-02-15 14:14:27 -0800 |
commit | e3785b50fd7d7187e284697a5f81286ad55eeeb0 (patch) | |
tree | c52541d9fb0efc0e855d421d417557ec023023fb | |
parent | 7e0ce9b5e7e0e574acbf3488c947693e52c45f9f (diff) | |
download | meta-openembedded-e3785b50fd7d7187e284697a5f81286ad55eeeb0.tar.gz |
xfstests: Only specify the main SRCREV once
The "update" in commit 2af7d3f63e added a SRCREV rather than updating
SRCREV_xfstests. Change the recipe to actually use SRCREV so that it is
compatible with future AUH updates.
Also replace "/usr" with "${prefix}".
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb b/meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb index 5ff1914569..2800a4c30f 100644 --- a/meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb +++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb | |||
@@ -2,19 +2,17 @@ SUMMARY = "File system QA test suite" | |||
2 | LICENSE = "GPL-2.0-only" | 2 | LICENSE = "GPL-2.0-only" |
3 | LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=74274e8a218423e49eefdea80bc55038" | 3 | LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=74274e8a218423e49eefdea80bc55038" |
4 | 4 | ||
5 | SRCREV = "11914614784735c504f43b5b6baabaa713375984" | 5 | SRCREV = "c46ca4d1f6c0c45f9a3ea18bc31ba5ae89e02c70" |
6 | SRCREV_FORMAT = "xfstests_unionmount" | 6 | SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914" |
7 | SRCREV_FORMAT = "default_unionmount" | ||
7 | 8 | ||
8 | SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=master;name=xfstests \ | 9 | SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=master \ |
9 | git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite \ | 10 | git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite \ |
10 | file://0001-add-missing-FTW_-macros-when-not-available-in-libc.patch \ | 11 | file://0001-add-missing-FTW_-macros-when-not-available-in-libc.patch \ |
11 | file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \ | 12 | file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \ |
12 | file://0003-tests-Makefile-make-sure-group.list-DIRT-exists-befo.patch \ | 13 | file://0003-tests-Makefile-make-sure-group.list-DIRT-exists-befo.patch \ |
13 | " | 14 | " |
14 | 15 | ||
15 | SRCREV_xfstests = "c46ca4d1f6c0c45f9a3ea18bc31ba5ae89e02c70" | ||
16 | SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914" | ||
17 | |||
18 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
19 | 17 | ||
20 | # brokensep because m4/package_globals.m4 calls ". ./VERSION" (and that's not the only issue) | 18 | # brokensep because m4/package_globals.m4 calls ". ./VERSION" (and that's not the only issue) |
@@ -57,14 +55,12 @@ do_install() { | |||
57 | export DIST_ROOT="/" DIST_MANIFEST="" DESTDIR="${D}" | 55 | export DIST_ROOT="/" DIST_MANIFEST="" DESTDIR="${D}" |
58 | oe_runmake install | 56 | oe_runmake install |
59 | 57 | ||
60 | unionmount_target_dir=${D}/usr/xfstests/unionmount-testsuite | 58 | unionmount_target_dir=${D}${prefix}/xfstests/unionmount-testsuite |
61 | install -d ${D}/usr/xfstests/unionmount-testsuite/tests | 59 | install -d $unionmount_target_dir/tests |
62 | install -D ${WORKDIR}/unionmount-testsuite/tests/* -t $unionmount_target_dir/tests | 60 | install ${WORKDIR}/unionmount-testsuite/tests/* -t $unionmount_target_dir/tests |
63 | install ${WORKDIR}/unionmount-testsuite/*.py -t $unionmount_target_dir | 61 | install ${WORKDIR}/unionmount-testsuite/*.py -t $unionmount_target_dir |
64 | install ${WORKDIR}/unionmount-testsuite/run -t $unionmount_target_dir | 62 | install ${WORKDIR}/unionmount-testsuite/run -t $unionmount_target_dir |
65 | install ${WORKDIR}/unionmount-testsuite/README -t $unionmount_target_dir | 63 | install ${WORKDIR}/unionmount-testsuite/README -t $unionmount_target_dir |
66 | } | 64 | } |
67 | 65 | ||
68 | FILES:${PN} += "\ | 66 | FILES:${PN} += "${prefix}/xfstests" |
69 | /usr/xfstests \ | ||
70 | " | ||