diff options
Diffstat (limited to 'meta-filesystems/recipes-utils')
23 files changed, 341 insertions, 128 deletions
diff --git a/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb b/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb index 4d2b909809..913b2c1d32 100644 --- a/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb +++ b/meta-filesystems/recipes-utils/aufs-util/aufs-util_git.bb | |||
@@ -21,7 +21,6 @@ UPSTREAM_CHECK_COMMITS = "1" | |||
21 | 21 | ||
22 | PV = "4.9+git" | 22 | PV = "4.9+git" |
23 | 23 | ||
24 | S = "${WORKDIR}/git" | ||
25 | 24 | ||
26 | export HOSTCC = "${BUILD_CC}" | 25 | export HOSTCC = "${BUILD_CC}" |
27 | do_configure:prepend() { | 26 | do_configure:prepend() { |
diff --git a/meta-filesystems/recipes-utils/binfs/bindfs_1.17.7.bb b/meta-filesystems/recipes-utils/binfs/bindfs_1.18.1.bb index 788c85b7ce..abb7dceaa7 100644 --- a/meta-filesystems/recipes-utils/binfs/bindfs_1.17.7.bb +++ b/meta-filesystems/recipes-utils/binfs/bindfs_1.18.1.bb | |||
@@ -7,9 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | |||
7 | DEPENDS = "fuse" | 7 | DEPENDS = "fuse" |
8 | RDEPENDS:${PN} = "fuse" | 8 | RDEPENDS:${PN} = "fuse" |
9 | 9 | ||
10 | SRC_URI = "git://github.com/mpartel/bindfs;protocol=https;branch=master" | 10 | SRC_URI = "git://github.com/mpartel/bindfs;protocol=https;branch=master;tag=${PV}" |
11 | SRCREV = "3f5e3cb1fcac5fb8034fa4712764317fab51ebe0" | 11 | SRCREV = "70a663b3476c0b9b21b626473c00c68a3dc97b92" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | ||
14 | 13 | ||
15 | inherit autotools pkgconfig gettext | 14 | inherit autotools pkgconfig gettext |
diff --git a/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb index b4e5da6e20..645e38ca49 100644 --- a/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb +++ b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb | |||
@@ -20,7 +20,6 @@ UPSTREAM_CHECK_REGEX = "${BPN}/releases/tag/v(?P<pver>\d+(?:\.\d+)*)" | |||
20 | 20 | ||
21 | RDEPENDS:${PN} = "bash btrfs-tools" | 21 | RDEPENDS:${PN} = "bash btrfs-tools" |
22 | 22 | ||
23 | S = "${WORKDIR}/git" | ||
24 | 23 | ||
25 | do_configure[noexec] = "1" | 24 | do_configure[noexec] = "1" |
26 | do_compile[noexec] = "1" | 25 | do_compile[noexec] = "1" |
diff --git a/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb new file mode 100644 index 0000000000..a60fbec821 --- /dev/null +++ b/meta-filesystems/recipes-utils/e2tools/e2tools_0.1.2.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | SUMMARY = "Set of GPL'ed utilities to ext2/ext3 filesystem." | ||
2 | DESCRIPTION = "e2tools is a simple set of GPL'ed utilities to read, write, \ | ||
3 | and manipulate files in an ext2/ext3 filesystem. These utilities access a \ | ||
4 | filesystem directly using the ext2fs library. Can also be used on a Linux \ | ||
5 | machine to read/write to disk images or floppies without having to mount \ | ||
6 | them or have root access." | ||
7 | HOMEPAGE = "https://github.com/e2tools/e2tools" | ||
8 | SECTION = "base" | ||
9 | LICENSE = "GPL-2.0-only" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
11 | |||
12 | DEPENDS += "coreutils e2fsprogs" | ||
13 | |||
14 | SRC_URI = " \ | ||
15 | git://github.com/e2tools/e2tools;protocol=https;branch=master \ | ||
16 | file://run-ptest \ | ||
17 | " | ||
18 | |||
19 | SRCREV = "46da6c398e70635a296245851fcedbc56c35e824" | ||
20 | |||
21 | |||
22 | inherit autotools pkgconfig ptest | ||
23 | |||
24 | # Otherwise these tools will be detected from build host and | ||
25 | # assumptions will go wrong, Fun of cross compiling | ||
26 | EXTRA_OECONF += "\ | ||
27 | ac_cv_path_MKE2FS=${base_sbindir}/mke2fs \ | ||
28 | ac_cv_path_CHMOD=${base_bindir}/chmod \ | ||
29 | ac_cv_path_DD=${base_bindir}/dd \ | ||
30 | ac_cv_path_GREP=${base_bindir}/grep \ | ||
31 | " | ||
32 | |||
33 | do_install_ptest() { | ||
34 | rm -rf "${D}${PTEST_PATH}/*" | ||
35 | cp -r ../build "${D}${PTEST_PATH}" | ||
36 | cp -r "${S}/build-aux" "${D}${PTEST_PATH}/build" | ||
37 | cp -r "${S}" "${D}${PTEST_PATH}" | ||
38 | rm -rf ${D}${PTEST_PATH}/build/config.log ${D}${PTEST_PATH}/build/autom4te.cache \ | ||
39 | ${D}${PTEST_PATH}/git/.git ${D}${PTEST_PATH}/git/autom4te.cache | ||
40 | sed -i -e 's;${TMPDIR};;g' ${D}${PTEST_PATH}/build/config.status | ||
41 | sed -i -e 's;${STAGING_DIR_NATIVE};;g' ${D}${PTEST_PATH}/${BP}/autom4te.cache/* | ||
42 | } | ||
43 | |||
44 | RDEPENDS:${PN}-ptest += "bash coreutils e2fsprogs e2tools gawk make perl" | ||
45 | |||
46 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb b/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb deleted file mode 100644 index 1fa5e01874..0000000000 --- a/meta-filesystems/recipes-utils/e2tools/e2tools_git.bb +++ /dev/null | |||
@@ -1,75 +0,0 @@ | |||
1 | SUMMARY = "Set of GPL'ed utilities to ext2/ext3 filesystem." | ||
2 | DESCRIPTION = "e2tools is a simple set of GPL'ed utilities to read, write, \ | ||
3 | and manipulate files in an ext2/ext3 filesystem. These utilities access a \ | ||
4 | filesystem directly using the ext2fs library. Can also be used on a Linux \ | ||
5 | machine to read/write to disk images or floppies without having to mount \ | ||
6 | them or have root access." | ||
7 | HOMEPAGE = "https://github.com/e2tools/e2tools" | ||
8 | SECTION = "base" | ||
9 | LICENSE = "GPL-2.0-only" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
11 | |||
12 | DEPENDS += "coreutils e2fsprogs" | ||
13 | |||
14 | PV = "0.1.0+git" | ||
15 | |||
16 | SRC_URI = " \ | ||
17 | git://github.com/e2tools/e2tools;protocol=https;branch=master \ | ||
18 | file://run-ptest \ | ||
19 | " | ||
20 | |||
21 | SRCREV = "fd092754a6b65c3a769f74f888668c066f09c36d" | ||
22 | |||
23 | S = "${WORKDIR}/git" | ||
24 | |||
25 | inherit autotools pkgconfig ptest | ||
26 | |||
27 | do_configure:prepend() { | ||
28 | git -C "${WORKDIR}/git" reset --hard HEAD | ||
29 | |||
30 | # To install ptest for this package, special configuration needs to be | ||
31 | # done before do_configure(). So, do_configure_ptest() which is scheduled | ||
32 | # after do_configure() cannot be used. | ||
33 | |||
34 | # We only do special configuration if we are installing ptest for this | ||
35 | # package. | ||
36 | if [ "${@d.getVar('PTEST_ENABLED')}" -eq "1" ]; then | ||
37 | # Since we guarantee run-time dependency when installing the ptest for | ||
38 | # this package, we do not need the check macros under section "checks | ||
39 | # for programs" in "configure.ac". Plus, these check macros set the | ||
40 | # ouput variables to incorrect values as these checks are performed on | ||
41 | # the host environment. Still, we need these variables outputted from | ||
42 | # these check macros. So, we insert the following lines to manually | ||
43 | # set these output variables to the correct value in "configure.ac". | ||
44 | |||
45 | # Note that HAVE_DD_COMMAND and HAVE_MKE2FS_COMMAND are only ever used | ||
46 | # in tests/Makefile-files which determines whether to include the test | ||
47 | # cases. As for output variables CHMOD, DD, and MKE2FS, they only | ||
48 | # point to the programs which test cases need to run. Since these | ||
49 | # commands are guaranteed to be present due to RDEPENDS and are | ||
50 | # guaranteed to be accessible under PATH environment variable on the | ||
51 | # target, we only need to specify the name of these programs. | ||
52 | |||
53 | perl -i -0777 -pe 's/(^dnl\s*=+\s*^dnl\s*Checks for compiler flags\s*^dnl\s*=+)/ | ||
54 | AC_SUBST([CHMOD], 'chmod') | ||
55 | AC_SUBST([DD], 'dd') | ||
56 | AC_SUBST([MKE2FS], 'mke2fs') | ||
57 | AM_CONDITIONAL([HAVE_DD_COMMAND], [true]) | ||
58 | AM_CONDITIONAL([HAVE_MKE2FS_COMMAND], [true]) | ||
59 | \1/ms' "${WORKDIR}/git/configure.ac" | ||
60 | fi | ||
61 | } | ||
62 | |||
63 | do_install_ptest() { | ||
64 | rm -rf "${D}${PTEST_PATH}/*" | ||
65 | cp -r ../build "${D}${PTEST_PATH}" | ||
66 | cp -r "${S}/build-aux" "${D}${PTEST_PATH}/build" | ||
67 | cp -r "${S}" "${D}${PTEST_PATH}" | ||
68 | rm -rf ${D}${PTEST_PATH}/build/config.log ${D}${PTEST_PATH}/build/autom4te.cache \ | ||
69 | ${D}${PTEST_PATH}/git/.git ${D}${PTEST_PATH}/git/autom4te.cache | ||
70 | sed -i -e 's;${RECIPE_SYSROOT};;g' ${D}${PTEST_PATH}/build/config.status | ||
71 | } | ||
72 | |||
73 | RDEPENDS:${PN}-ptest += "bash coreutils e2fsprogs e2tools gawk make perl" | ||
74 | |||
75 | BBCLASSEXTEND = "native" | ||
diff --git a/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.4.bb b/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.6.bb index aa6a199784..39411b4cee 100644 --- a/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.4.bb +++ b/meta-filesystems/recipes-utils/exfatprogs/exfatprogs_1.2.6.bb | |||
@@ -12,7 +12,7 @@ LICENSE = "GPL-2.0-only" | |||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
13 | 13 | ||
14 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz" | 14 | SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz" |
15 | SRC_URI[sha256sum] = "ad38126dfd9f74f8c6ecb35ddfd34d2582601d6c3ff26756610b8418360c8ee2" | 15 | SRC_URI[sha256sum] = "89d05b7a9537f2413079b724ec8d02d7a2e291c29c52e7256303e9456200fb0f" |
16 | 16 | ||
17 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" | 17 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" |
18 | UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)" | 18 | UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)" |
diff --git a/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools/0001-f2fs-tools-use-stdbool.h-instead-of-bool.patch b/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools/0001-f2fs-tools-use-stdbool.h-instead-of-bool.patch new file mode 100644 index 0000000000..4981c2151d --- /dev/null +++ b/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools/0001-f2fs-tools-use-stdbool.h-instead-of-bool.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 6617d15a660becc23825007ab3fc2d270b5b250f Mon Sep 17 00:00:00 2001 | ||
2 | From: Jaegeuk Kim <jaegeuk@kernel.org> | ||
3 | Date: Thu, 24 Oct 2024 20:33:38 +0000 | ||
4 | Subject: [PATCH] f2fs-tools: use stdbool.h instead of bool | ||
5 | |||
6 | The existing bool definition is broken for c23,i where bool is now a keyword. | ||
7 | |||
8 | Upstream-Status: Backport [https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/commit/?id=6617d15a660becc23825007ab3fc2d270b5b250f] | ||
9 | |||
10 | Signed-off-by: Elliott Hughes <enh@google.com> | ||
11 | Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> | ||
12 | --- | ||
13 | include/f2fs_fs.h | 4 +--- | ||
14 | 1 file changed, 1 insertion(+), 3 deletions(-) | ||
15 | |||
16 | diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h | ||
17 | index 9534da9..0cb9228 100644 | ||
18 | --- a/include/f2fs_fs.h | ||
19 | +++ b/include/f2fs_fs.h | ||
20 | @@ -28,6 +28,7 @@ | ||
21 | #include <stddef.h> | ||
22 | #include <string.h> | ||
23 | #include <time.h> | ||
24 | +#include <stdbool.h> | ||
25 | |||
26 | #ifdef HAVE_CONFIG_H | ||
27 | #include <config.h> | ||
28 | @@ -119,9 +120,6 @@ typedef uint16_t u16; | ||
29 | typedef uint8_t u8; | ||
30 | typedef u32 block_t; | ||
31 | typedef u32 nid_t; | ||
32 | -#ifndef bool | ||
33 | -typedef u8 bool; | ||
34 | -#endif | ||
35 | typedef unsigned long pgoff_t; | ||
36 | typedef unsigned short umode_t; | ||
37 | |||
38 | -- | ||
39 | 2.34.1 | ||
40 | |||
diff --git a/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.16.0.bb b/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.16.0.bb index 997fa1240a..68727b008e 100644 --- a/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.16.0.bb +++ b/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.16.0.bb | |||
@@ -9,11 +9,11 @@ DEPENDS = "util-linux" | |||
9 | 9 | ||
10 | SRCREV = "06c027abc6153c4a97cba5317844e8dcaaee3cf7" | 10 | SRCREV = "06c027abc6153c4a97cba5317844e8dcaaee3cf7" |
11 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git;branch=master \ | 11 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git;branch=master \ |
12 | file://0001-f2fs-tools-use-stdbool.h-instead-of-bool.patch \ | ||
12 | file://0002-f2fs_io-Define-_FILE_OFFSET_BITS-64.patch \ | 13 | file://0002-f2fs_io-Define-_FILE_OFFSET_BITS-64.patch \ |
13 | " | 14 | " |
14 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" | 15 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" |
15 | 16 | ||
16 | S = "${WORKDIR}/git" | ||
17 | 17 | ||
18 | inherit pkgconfig autotools | 18 | inherit pkgconfig autotools |
19 | 19 | ||
diff --git a/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb b/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb index 214b3f914c..bdde0d311a 100644 --- a/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb +++ b/meta-filesystems/recipes-utils/fatcat/fatcat_1.1.1.bb | |||
@@ -15,6 +15,5 @@ SRC_URI = "git://github.com/Gregwar/fatcat.git;branch=master;protocol=https \ | |||
15 | 15 | ||
16 | SRCREV = "99cb99fc86eb1601ac7ae27f5bba23add04d2543" | 16 | SRCREV = "99cb99fc86eb1601ac7ae27f5bba23add04d2543" |
17 | 17 | ||
18 | S = "${WORKDIR}/git" | ||
19 | 18 | ||
20 | inherit cmake | 19 | inherit cmake |
diff --git a/meta-filesystems/recipes-utils/fatresize/fatresize_1.1.0.bb b/meta-filesystems/recipes-utils/fatresize/fatresize_1.1.0.bb index cf7ac62be8..7f90bfd666 100644 --- a/meta-filesystems/recipes-utils/fatresize/fatresize_1.1.0.bb +++ b/meta-filesystems/recipes-utils/fatresize/fatresize_1.1.0.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | SUMMARY = "Resize FAT partitions using libparted" | 1 | SUMMARY = "Resize FAT partitions using libparted" |
2 | SECTION = "console/tools" | 2 | SECTION = "console/tools" |
3 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "GPL-3.0-only" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
5 | 5 | ||
6 | SRC_URI = "git://salsa.debian.org/parted-team/fatresize.git;protocol=https;branch=master \ | 6 | SRC_URI = "git://salsa.debian.org/parted-team/fatresize.git;protocol=https;branch=master \ |
@@ -9,7 +9,6 @@ SRC_URI = "git://salsa.debian.org/parted-team/fatresize.git;protocol=https;branc | |||
9 | " | 9 | " |
10 | SRCREV = "12da22087de2ec43f0fe5af1237389e94619c483" | 10 | SRCREV = "12da22087de2ec43f0fe5af1237389e94619c483" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | ||
13 | 12 | ||
14 | DEPENDS = "parted" | 13 | DEPENDS = "parted" |
15 | 14 | ||
diff --git a/meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils_v2.2.11.bb b/meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils_v2.2.11.bb new file mode 100644 index 0000000000..507684a395 --- /dev/null +++ b/meta-filesystems/recipes-utils/nilfs-utils/nilfs-utils_v2.2.11.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "nilfs-utils is a set of utilities for managing the NILFS filesystem." | ||
2 | HOMEPAGE = "https://nilfs.sourceforge.io/" | ||
3 | |||
4 | LICENSE = "GPL-2.0-only & LGPL-2.1-only" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=385034ac639a62b8415db9814582ee98" | ||
6 | SRC_URI = "git://github.com/nilfs-dev/nilfs-utils.git;protocol=https;branch=v2.2.y;tag=${PV}" | ||
7 | |||
8 | SRCREV = "507064bb3604d0fd88f5e3f6422d9ade73a26120" | ||
9 | |||
10 | DEPENDS = "util-linux util-linux-libuuid" | ||
11 | |||
12 | inherit autotools | ||
diff --git a/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools/0001-always-use-glibc-basename.patch b/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools/0001-always-use-glibc-basename.patch new file mode 100644 index 0000000000..78802e39ab --- /dev/null +++ b/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools/0001-always-use-glibc-basename.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From 2fa94fc7adf05fae46204f4665216c8b019010f3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 5 Jul 2024 23:16:38 -0700 | ||
4 | Subject: [PATCH 1/2] always use glibc basename() | ||
5 | |||
6 | There is a use of basename() which expects it to be GNU version of | ||
7 | basename, which is not available in other libcs e.g. musl on Linux | ||
8 | therefore provide a version for such cases | ||
9 | |||
10 | Upstream-Status: Submitted [https://github.com/kmxz/overlayfs-tools/pull/26] | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | main.c | 12 ++++++++++++ | ||
14 | 1 file changed, 12 insertions(+) | ||
15 | |||
16 | diff --git a/main.c b/main.c | ||
17 | index 7b669eb..ea0f5a5 100644 | ||
18 | --- a/main.c | ||
19 | +++ b/main.c | ||
20 | @@ -30,6 +30,18 @@ bool brief; | ||
21 | bool ignore; | ||
22 | extern char *program_name; | ||
23 | |||
24 | +#ifndef __GLIBC__ | ||
25 | +/* | ||
26 | + * GNU basename implementation | ||
27 | + */ | ||
28 | +static const char *__basename(const char *filename) { | ||
29 | + char *p = strrchr(filename, '/'); | ||
30 | + return p ? p + 1 : filename; | ||
31 | +} | ||
32 | + | ||
33 | +#define basename(x) __basename(x) | ||
34 | +#endif | ||
35 | + | ||
36 | void print_help(const char *program) { | ||
37 | printf("Usage: %s command options\n", program); | ||
38 | puts(""); | ||
diff --git a/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools/0002-Change-program_name-to-have-const-attribute.patch b/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools/0002-Change-program_name-to-have-const-attribute.patch new file mode 100644 index 0000000000..845306292e --- /dev/null +++ b/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools/0002-Change-program_name-to-have-const-attribute.patch | |||
@@ -0,0 +1,56 @@ | |||
1 | From be694ba90aa2e0fed3a4e9b53ad7a61efd0430c5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 5 Jul 2024 23:18:07 -0700 | ||
4 | Subject: [PATCH 2/2] Change program_name to have const attribute | ||
5 | |||
6 | This is how it is used in all places and it also avoids a const to | ||
7 | non-const conversion warning | ||
8 | |||
9 | Upstream-Status: Submitted [https://github.com/kmxz/overlayfs-tools/pull/26] | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | common.c | 2 +- | ||
14 | fsck.c | 2 +- | ||
15 | main.c | 2 +- | ||
16 | 3 files changed, 3 insertions(+), 3 deletions(-) | ||
17 | |||
18 | diff --git a/common.c b/common.c | ||
19 | index eaf24a8..a15b66f 100644 | ||
20 | --- a/common.c | ||
21 | +++ b/common.c | ||
22 | @@ -29,7 +29,7 @@ | ||
23 | #include "common.h" | ||
24 | #include "config.h" | ||
25 | |||
26 | -char *program_name; | ||
27 | +const char *program_name; | ||
28 | |||
29 | /* #define DEBUG 1 */ | ||
30 | #ifdef DEBUG | ||
31 | diff --git a/fsck.c b/fsck.c | ||
32 | index 4e513f5..285b9f1 100644 | ||
33 | --- a/fsck.c | ||
34 | +++ b/fsck.c | ||
35 | @@ -46,7 +46,7 @@ | ||
36 | #include "mount.h" | ||
37 | #include "overlayfs.h" | ||
38 | |||
39 | -extern char *program_name; | ||
40 | +extern const char *program_name; | ||
41 | |||
42 | struct ovl_fs ofs = {}; | ||
43 | int flags = 0; /* user input option flags */ | ||
44 | diff --git a/main.c b/main.c | ||
45 | index ea0f5a5..1a8b239 100644 | ||
46 | --- a/main.c | ||
47 | +++ b/main.c | ||
48 | @@ -28,7 +28,7 @@ | ||
49 | bool verbose; | ||
50 | bool brief; | ||
51 | bool ignore; | ||
52 | -extern char *program_name; | ||
53 | +extern const char *program_name; | ||
54 | |||
55 | #ifndef __GLIBC__ | ||
56 | /* | ||
diff --git a/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools_git.bb b/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools_git.bb deleted file mode 100644 index 47613207af..0000000000 --- a/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools_git.bb +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | DESCRIPTION = "Maintenance tools for OverlayFS" | ||
2 | HOMEPAGE = "https://github.com/kmxz/overlayfs-tools" | ||
3 | LICENSE = "WTFPL" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f312a7c4d02230e8f2b537295d375c69" | ||
5 | |||
6 | SRC_URI = "\ | ||
7 | git://github.com/kmxz/overlayfs-tools.git;protocol=https;branch=master \ | ||
8 | " | ||
9 | |||
10 | PV = "1.0+git" | ||
11 | SRCREV = "b5e5a829895ac98ccfe4629fbfbd8b819262bd00" | ||
12 | |||
13 | S = "${WORKDIR}/git" | ||
14 | B = "${S}" | ||
15 | |||
16 | # Required to have the fts.h header for musl | ||
17 | DEPENDS:append:libc-musl = " fts" | ||
18 | |||
19 | EXTRA_OEMAKE += "'CC=${CC} -O2'" | ||
20 | # Fix the missing fts libs when using musl | ||
21 | EXTRA_OEMAKE:append:libc-musl = " LDLIBS=-lfts" | ||
22 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
23 | |||
24 | do_install () { | ||
25 | install -d ${D}${bindir} | ||
26 | install -m 0755 ${B}/overlay ${D}${bindir} | ||
27 | install -m 0755 ${B}/fsck.overlay ${D}${bindir} | ||
28 | } | ||
diff --git a/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools_v2024.07.bb b/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools_v2024.07.bb new file mode 100644 index 0000000000..708bbfcf02 --- /dev/null +++ b/meta-filesystems/recipes-utils/overlayfs/overlayfs-tools_v2024.07.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "Maintenance tools for OverlayFS" | ||
2 | HOMEPAGE = "https://github.com/kmxz/overlayfs-tools" | ||
3 | LICENSE = "WTFPL" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f312a7c4d02230e8f2b537295d375c69" | ||
5 | |||
6 | SRC_URI = "\ | ||
7 | git://github.com/kmxz/overlayfs-tools.git;protocol=https;branch=master \ | ||
8 | file://0001-always-use-glibc-basename.patch \ | ||
9 | file://0002-Change-program_name-to-have-const-attribute.patch \ | ||
10 | " | ||
11 | |||
12 | SRCREV = "7a4a0c4f2c6c86aa46a40e3468e394fd4a237491" | ||
13 | |||
14 | |||
15 | inherit meson pkgconfig | ||
16 | |||
17 | DEPENDS:append:libc-musl = " fts" | ||
diff --git a/meta-filesystems/recipes-utils/udevil/files/Fix-build-with-gcc15.patch b/meta-filesystems/recipes-utils/udevil/files/Fix-build-with-gcc15.patch new file mode 100644 index 0000000000..bad23327bf --- /dev/null +++ b/meta-filesystems/recipes-utils/udevil/files/Fix-build-with-gcc15.patch | |||
@@ -0,0 +1,68 @@ | |||
1 | Fix build with gcc-15 | ||
2 | |||
3 | Fix the following errors: | ||
4 | ../../udevil-0.4.4/src/udevil.c: In function 'command_monitor': | ||
5 | ../../udevil-0.4.4/src/udevil.c:4891:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] | ||
6 | 4891 | signal(SIGTERM, command_monitor_finalize ); | ||
7 | | ^~~~~~~~~~~~~~~~~~~~~~~~ | ||
8 | | | | ||
9 | | void (*)(void) | ||
10 | In file included from /home/worker/nano-ai/build-nano-ai/BUILD/work/qcs8550_aihub-webos-linux/udevil/0.4.4/recipe-sysroot/usr/include/sys/wait.h:36, | ||
11 | from ../../udevil-0.4.4/src/udevil.c:10: | ||
12 | /home/worker/nano-ai/build-nano-ai/BUILD/work/qcs8550_aihub-webos-linux/udevil/0.4.4/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' | ||
13 | 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ||
14 | | ~~~~~~~~~~~~~~~^~~~~~~~~ | ||
15 | ../../udevil-0.4.4/src/udevil.c:4798:6: note: 'command_monitor_finalize' declared here | ||
16 | 4798 | void command_monitor_finalize() | ||
17 | | ^~~~~~~~~~~~~~~~~~~~~~~~ | ||
18 | /home/worker/nano-ai/build-nano-ai/BUILD/work/qcs8550_aihub-webos-linux/udevil/0.4.4/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here | ||
19 | 72 | typedef void (*__sighandler_t) (int); | ||
20 | | ^~~~~~~~~~~~~~ | ||
21 | ... | ||
22 | ../../udevil-0.4.4/src/udevil.c: In function 'main': | ||
23 | ../../udevil-0.4.4/src/udevil.c:5035:22: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] | ||
24 | 5035 | signal( SIGTERM, command_interrupt ); | ||
25 | | ^~~~~~~~~~~~~~~~~ | ||
26 | | | | ||
27 | | void (*)(void) | ||
28 | /home/worker/nano-ai/build-nano-ai/BUILD/work/qcs8550_aihub-webos-linux/udevil/0.4.4/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' | ||
29 | 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ||
30 | | ~~~~~~~~~~~~~~~^~~~~~~~~ | ||
31 | ../../udevil-0.4.4/src/udevil.c:4916:6: note: 'command_interrupt' declared here | ||
32 | 4916 | void command_interrupt() | ||
33 | | ^~~~~~~~~~~~~~~~~ | ||
34 | /home/worker/nano-ai/build-nano-ai/BUILD/work/qcs8550_aihub-webos-linux/udevil/0.4.4/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here | ||
35 | 72 | typedef void (*__sighandler_t) (int); | ||
36 | | ^~~~~~~~~~~~~~ | ||
37 | ../../udevil-0.4.4/src/udevil.c:5036:22: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] | ||
38 | 5036 | signal( SIGINT, command_interrupt ); | ||
39 | | ^~~~~~~~~~~~~~~~~ | ||
40 | | | | ||
41 | | void (*)(void) | ||
42 | |||
43 | Signed-off-by: Nguyen Dat Tho <tho3.nguyen@lge.com> | ||
44 | |||
45 | Upstream-Status: Inactive-Upstream [lastrelease: 10years ago] | ||
46 | --- | ||
47 | diff --git a/src/udevil.c b/src/udevil.c | ||
48 | index bab80e9..da629d9 100644 | ||
49 | --- a/src/udevil.c | ||
50 | +++ b/src/udevil.c | ||
51 | @@ -4795,7 +4795,7 @@ static int command_info( CommandData* data ) | ||
52 | return ret; | ||
53 | } | ||
54 | |||
55 | -void command_monitor_finalize() | ||
56 | +void command_monitor_finalize(int) | ||
57 | { | ||
58 | //if (signal == SIGINT || signal == SIGTERM) | ||
59 | //printf( "\nudevil: SIGINT || SIGTERM\n"); | ||
60 | @@ -4913,7 +4913,7 @@ finish_: | ||
61 | return 1; | ||
62 | } | ||
63 | |||
64 | -void command_interrupt() | ||
65 | +void command_interrupt(int) | ||
66 | { | ||
67 | if ( udev ) | ||
68 | { | ||
diff --git a/meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb b/meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb index 20d6036686..c745485a64 100644 --- a/meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb +++ b/meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb | |||
@@ -16,6 +16,7 @@ inherit autotools pkgconfig systemd | |||
16 | SRC_URI = "https://github.com/IgnorantGuru/udevil/raw/pkg/${PV}/udevil-${PV}.tar.xz \ | 16 | SRC_URI = "https://github.com/IgnorantGuru/udevil/raw/pkg/${PV}/udevil-${PV}.tar.xz \ |
17 | file://0001-udevil-0.4.3-fix-compile-with-gcc6.patch \ | 17 | file://0001-udevil-0.4.3-fix-compile-with-gcc6.patch \ |
18 | file://0002-etc-Makefile.am-Use-systemd_unitdir-instead-of-libdi.patch \ | 18 | file://0002-etc-Makefile.am-Use-systemd_unitdir-instead-of-libdi.patch \ |
19 | file://Fix-build-with-gcc15.patch \ | ||
19 | " | 20 | " |
20 | 21 | ||
21 | SRC_URI[md5sum] = "dc1c489b603a0500a04dc7e1805ac1d9" | 22 | SRC_URI[md5sum] = "dc1c489b603a0500a04dc7e1805ac1d9" |
diff --git a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_4.13.5.bb b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_6.14.11.bb index 7126684e61..a22e54e24c 100644 --- a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_4.13.5.bb +++ b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_6.14.11.bb | |||
@@ -4,14 +4,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | |||
4 | 4 | ||
5 | BRANCH ?= "dev" | 5 | BRANCH ?= "dev" |
6 | 6 | ||
7 | SRCREV = "18c0a8454ca1cf8969170049f8c628d88627beec" | 7 | SRCREV = "5539a8ad8e1a9b7ea8b62213ed72eb939c5381b7" |
8 | 8 | ||
9 | SRC_URI = "git://github.com/westerndigitalcorporation/ufs-utils.git;protocol=https;branch=${BRANCH} \ | 9 | SRC_URI = "git://github.com/westerndigitalcorporation/ufs-utils.git;protocol=https;branch=${BRANCH} \ |
10 | " | 10 | " |
11 | 11 | ||
12 | UPSTREAM_CHECK_COMMITS = "1" | 12 | UPSTREAM_CHECK_COMMITS = "1" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | 14 | ||
16 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}"" | 15 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" CFLAGS="${CFLAGS}"" |
17 | 16 | ||
diff --git a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.2.0.bb index 9c0394918e..c65344f536 100644 --- a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.12.bb +++ b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.2.0.bb | |||
@@ -15,7 +15,7 @@ SRC_URI = "https://www.kernel.org/pub/linux/utils/fs/xfs/xfsdump/${BP}.tar.xz \ | |||
15 | file://0001-include-libgen.h-for-basename-API-prototype.patch \ | 15 | file://0001-include-libgen.h-for-basename-API-prototype.patch \ |
16 | ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','file://0001-xfsdump-support-usrmerge.patch','',d)} \ | 16 | ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','file://0001-xfsdump-support-usrmerge.patch','',d)} \ |
17 | " | 17 | " |
18 | SRC_URI[sha256sum] = "f39c4c1b306b2dd7ec979c0e94d60fe69083d2ecf9af051cac5ef3bed772c74a" | 18 | SRC_URI[sha256sum] = "2914dbbe1ebc88c7d93ad88e220aa57dabc43d216e11f06221c01edf3cc10732" |
19 | 19 | ||
20 | inherit autotools-brokensep | 20 | inherit autotools-brokensep |
21 | 21 | ||
diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.6.0.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.6.0.bb index 07c5e97dbb..907b875718 100644 --- a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.6.0.bb +++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_6.6.0.bb | |||
@@ -44,9 +44,9 @@ PACKAGECONFIG ??= "blkid" | |||
44 | 44 | ||
45 | PACKAGECONFIG[blkid] = "--enable-blkid=yes,--enable-blkid=no,util-linux" | 45 | PACKAGECONFIG[blkid] = "--enable-blkid=yes,--enable-blkid=no,util-linux" |
46 | 46 | ||
47 | export DEBUG="-DNDEBUG" | 47 | export DEBUG = "-DNDEBUG" |
48 | export BUILD_VERBOSE="1" | 48 | export BUILD_VERBOSE = "1" |
49 | export tagname="CC" | 49 | export tagname = "CC" |
50 | 50 | ||
51 | EXTRA_OEMAKE = "DIST_ROOT='${D}'" | 51 | EXTRA_OEMAKE = "DIST_ROOT='${D}'" |
52 | 52 | ||
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests/0001-bstat-use-uint32_t-instead-of-__uint32_t-to-fix-buil.patch b/meta-filesystems/recipes-utils/xfstests/xfstests/0001-bstat-use-uint32_t-instead-of-__uint32_t-to-fix-buil.patch new file mode 100644 index 0000000000..6ac2dd92b4 --- /dev/null +++ b/meta-filesystems/recipes-utils/xfstests/xfstests/0001-bstat-use-uint32_t-instead-of-__uint32_t-to-fix-buil.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From c3cc5c68a297a98adb9a7046c7563d0678245243 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
3 | Date: Sun, 27 Apr 2025 20:29:09 +0200 | ||
4 | Subject: [PATCH] bstat: use uint32_t instead of __uint32_t to fix build with | ||
5 | musl | ||
6 | |||
7 | * with musl this fails with: | ||
8 | http://errors.yoctoproject.org/Errors/Details/853041/ | ||
9 | |||
10 | bstat.c:65:33: error: unknown type name '__uint32_t'; did you mean 'uint32_t'? | ||
11 | 65 | static inline int xfs_highbit32(__uint32_t v) | ||
12 | | ^~~~~~~~~~ | ||
13 | | uint32_t | ||
14 | |||
15 | Upstream-Status: Pending | ||
16 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
17 | --- | ||
18 | src/bstat.c | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/src/bstat.c b/src/bstat.c | ||
22 | index 9a028a0d..a833af59 100644 | ||
23 | --- a/src/bstat.c | ||
24 | +++ b/src/bstat.c | ||
25 | @@ -62,7 +62,7 @@ static inline int fls(int x) | ||
26 | return r; | ||
27 | } | ||
28 | |||
29 | -static inline int xfs_highbit32(__uint32_t v) | ||
30 | +static inline int xfs_highbit32(uint32_t v) | ||
31 | { | ||
32 | return fls(v) - 1; | ||
33 | } | ||
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests/0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch b/meta-filesystems/recipes-utils/xfstests/xfstests/0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch index e823297343..9fdf69ff46 100644 --- a/meta-filesystems/recipes-utils/xfstests/xfstests/0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch +++ b/meta-filesystems/recipes-utils/xfstests/xfstests/0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 79c4715a46b80653eb98b61731c094c85e969220 Mon Sep 17 00:00:00 2001 | 1 | From 340e708f79b824816aacfa74e330d8acdafc5129 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 14 Aug 2022 13:33:05 -0700 | 3 | Date: Sun, 14 Aug 2022 13:33:05 -0700 |
4 | Subject: [PATCH] Drop detached_mounts_propagation and remove sys/mount.h from | 4 | Subject: [PATCH] Drop detached_mounts_propagation and remove sys/mount.h from |
@@ -17,15 +17,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
18 | 18 | ||
19 | diff --git a/src/Makefile b/src/Makefile | 19 | diff --git a/src/Makefile b/src/Makefile |
20 | index e7442487..970f087a 100644 | 20 | index 6ac72b36..5472ba66 100644 |
21 | --- a/src/Makefile | 21 | --- a/src/Makefile |
22 | +++ b/src/Makefile | 22 | +++ b/src/Makefile |
23 | @@ -33,7 +33,7 @@ LINUX_TARGETS = xfsctl bstat t_mtab getdevicesize preallo_rw_pattern_reader \ | 23 | @@ -34,7 +34,7 @@ LINUX_TARGETS = xfsctl bstat t_mtab getdevicesize preallo_rw_pattern_reader \ |
24 | dio-invalidate-cache stat_test t_encrypted_d_revalidate \ | 24 | dio-invalidate-cache stat_test t_encrypted_d_revalidate \ |
25 | attr_replace_test swapon mkswap t_attr_corruption t_open_tmpfiles \ | 25 | attr_replace_test swapon mkswap t_attr_corruption t_open_tmpfiles \ |
26 | fscrypt-crypt-util bulkstat_null_ocount splice-test chprojid_fail \ | 26 | fscrypt-crypt-util bulkstat_null_ocount splice-test chprojid_fail \ |
27 | - detached_mounts_propagation ext4_resize t_readdir_3 splice2pipe \ | 27 | - detached_mounts_propagation ext4_resize t_readdir_3 splice2pipe \ |
28 | + ext4_resize t_readdir_3 splice2pipe \ | 28 | + ext4_resize t_readdir_3 splice2pipe \ |
29 | uuid_ioctl t_snapshot_deleted_subvolume | 29 | uuid_ioctl t_snapshot_deleted_subvolume fiemap-fault min_dio_alignment |
30 | 30 | ||
31 | EXTRA_EXECS = dmerror fill2attr fill2fs fill2fs_check scaleread.sh \ | 31 | EXTRA_EXECS = dmerror fill2attr fill2fs fill2fs_check scaleread.sh \ |
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb b/meta-filesystems/recipes-utils/xfstests/xfstests_2025.04.27.bb index 9e82b0f749..9e86b77c5e 100644 --- a/meta-filesystems/recipes-utils/xfstests/xfstests_2024.03.03.bb +++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2025.04.27.bb | |||
@@ -2,22 +2,22 @@ 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 = "088e5bd4cb6d7295612430a56ae84ff5c8f54730" | 5 | SRCREV = "92c428db1fe3fa4f7bd2593788bc9b71403d59ae" |
6 | SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914" | 6 | SRCREV_unionmount = "c6ab621ac19f2b96d34cd98f244e611750e2bb23" |
7 | SRCREV_FORMAT = "default_unionmount" | 7 | SRCREV_FORMAT = "default_unionmount" |
8 | 8 | ||
9 | SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=master \ | 9 | SRC_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 \ | 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 \ | 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 \ | 12 | file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \ |
13 | file://0001-include-libgen.h-for-basename-API-prototype.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 \ | 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 \ | ||
15 | " | 16 | " |
16 | 17 | ||
17 | S = "${WORKDIR}/git" | ||
18 | 18 | ||
19 | # brokensep because m4/package_globals.m4 calls ". ./VERSION" (and that's not the only issue) | 19 | # brokensep because m4/package_globals.m4 calls ". ./VERSION" (and that's not the only issue) |
20 | inherit autotools-brokensep useradd | 20 | inherit autotools-brokensep useradd pkgconfig |
21 | 21 | ||
22 | DEPENDS += "xfsprogs acl" | 22 | DEPENDS += "xfsprogs acl" |
23 | RDEPENDS:${PN} += "\ | 23 | RDEPENDS:${PN} += "\ |
@@ -36,6 +36,11 @@ RDEPENDS:${PN} += "\ | |||
36 | xfsprogs \ | 36 | xfsprogs \ |
37 | acl \ | 37 | acl \ |
38 | gawk \ | 38 | gawk \ |
39 | util-linux-mkfs \ | ||
40 | util-linux-mount \ | ||
41 | util-linux-findmnt \ | ||
42 | inetutils-hostname \ | ||
43 | grep \ | ||
39 | " | 44 | " |
40 | 45 | ||
41 | USERADD_PACKAGES = "${PN}" | 46 | USERADD_PACKAGES = "${PN}" |
@@ -65,3 +70,9 @@ do_install() { | |||
65 | } | 70 | } |
66 | 71 | ||
67 | FILES:${PN} += "${prefix}/xfstests" | 72 | FILES:${PN} += "${prefix}/xfstests" |
73 | |||
74 | # This one is reproducible only on 32bit MACHINEs | ||
75 | # http://errors.yoctoproject.org/Errors/Details/766963/ | ||
76 | # lstat64.c:65:14: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types] | ||
77 | # bstat.c:18:19: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] | ||
78 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||