diff options
Diffstat (limited to 'meta-filesystems')
55 files changed, 797 insertions, 280 deletions
diff --git a/meta-filesystems/SECURITY.md b/meta-filesystems/SECURITY.md new file mode 100644 index 0000000000..1530103230 --- /dev/null +++ b/meta-filesystems/SECURITY.md | |||
@@ -0,0 +1,20 @@ | |||
1 | How to Report a Potential Vulnerability? | ||
2 | ======================================== | ||
3 | |||
4 | If you would like to report a public issue (for example, one with a released | ||
5 | CVE number), please report it to the mailing list: | ||
6 | |||
7 | https://lists.openembedded.org/g/openembedded-devel | ||
8 | |||
9 | If you are dealing with a not-yet released or urgent issue, please send a | ||
10 | message to one of the maintainers listed in the README. Include as many | ||
11 | details as possible: | ||
12 | - the layer or software module affected | ||
13 | - the recipe and its version | ||
14 | - any example code, if available | ||
15 | |||
16 | Branches maintained with security fixes | ||
17 | --------------------------------------- | ||
18 | |||
19 | See https://wiki.yoctoproject.org/wiki/Releases for the list of current | ||
20 | releases. We only accept patches for the LTS releases and the master branch. | ||
diff --git a/meta-filesystems/conf/include/non-repro-meta-filesystems.inc b/meta-filesystems/conf/include/non-repro-meta-filesystems.inc deleted file mode 100644 index 4975593277..0000000000 --- a/meta-filesystems/conf/include/non-repro-meta-filesystems.inc +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | # List of known non-reproducible package of the meta-filesystems layer | ||
2 | # Please keep this list sorted | ||
3 | KNOWN_NON_REPRO_META_FILESYSTEMS = " \ | ||
4 | e2tools-ptest \ | ||
5 | xfsprogs-doc \ | ||
6 | zfs \ | ||
7 | zfs-dbg \ | ||
8 | zfs-dev \ | ||
9 | " | ||
diff --git a/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc b/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc index f57bbab930..875a2f139a 100644 --- a/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc +++ b/meta-filesystems/conf/include/ptest-packagelists-meta-filesystems.inc | |||
@@ -8,11 +8,10 @@ | |||
8 | 8 | ||
9 | PTESTS_FAST_META_FILESYSTEMS = "\ | 9 | PTESTS_FAST_META_FILESYSTEMS = "\ |
10 | e2tools \ | 10 | e2tools \ |
11 | fuse3 \ | ||
12 | " | 11 | " |
13 | 12 | ||
14 | PTESTS_SLOW_META_FILESYSTEMS = "\ | 13 | PTESTS_SLOW_META_FILESYSTEMS = "\ |
14 | sshfs-fuse \ | ||
15 | " | 15 | " |
16 | PTESTS_PROBLEMS_META_FILESYSTEMS = "\ | 16 | PTESTS_PROBLEMS_META_FILESYSTEMS = "\ |
17 | sshfs-fuse \ | ||
18 | " | 17 | " |
diff --git a/meta-filesystems/conf/layer.conf b/meta-filesystems/conf/layer.conf index 52ca5a4c0b..4d147b7139 100644 --- a/meta-filesystems/conf/layer.conf +++ b/meta-filesystems/conf/layer.conf | |||
@@ -15,4 +15,15 @@ LAYERVERSION_filesystems-layer = "1" | |||
15 | 15 | ||
16 | LAYERDEPENDS_filesystems-layer = "core openembedded-layer networking-layer" | 16 | LAYERDEPENDS_filesystems-layer = "core openembedded-layer networking-layer" |
17 | 17 | ||
18 | LAYERSERIES_COMPAT_filesystems-layer = "styhead" | 18 | LAYERSERIES_COMPAT_filesystems-layer = "walnascar whinlatter" |
19 | |||
20 | BBFILES_DYNAMIC += " \ | ||
21 | meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ | ||
22 | " | ||
23 | |||
24 | # List of known non-reproducible package of the meta-filesystems layer | ||
25 | # Please keep this list sorted | ||
26 | OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES += " \ | ||
27 | e2tools-ptest \ | ||
28 | xfsprogs-doc \ | ||
29 | " | ||
diff --git a/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/gpiod-sysfs-proxy.init.in b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/gpiod-sysfs-proxy.init.in new file mode 100644 index 0000000000..a9cf5e4075 --- /dev/null +++ b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/gpiod-sysfs-proxy.init.in | |||
@@ -0,0 +1,84 @@ | |||
1 | #! /bin/sh | ||
2 | ### BEGIN INIT INFO | ||
3 | # Provides: gpiod-sysfs-proxy | ||
4 | # Required-Start: $remote_fs $syslog | ||
5 | # Required-Stop: $remote_fs $syslog | ||
6 | # Default-Start: 2 3 4 5 | ||
7 | # Default-Stop: 1 | ||
8 | # Short-Description: User-space, libgpiod-based compatibility layer for linux GPIO sysfs interface. | ||
9 | ### END INIT INFO | ||
10 | # | ||
11 | # -*- coding: utf-8 -*- | ||
12 | # Debian init.d script for gpiod-sysfs-proxy | ||
13 | # Copyright (c) 2024 Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | ||
14 | |||
15 | # set -e | ||
16 | |||
17 | # Source function library. | ||
18 | . /etc/init.d/functions | ||
19 | |||
20 | PROG="/usr/bin/gpiod-sysfs-proxy" | ||
21 | NAME="gpiod-sysfs-proxy" | ||
22 | DESC="/sys/class/gpio compatibility layer" | ||
23 | MOUNTPOINT="@mountpoint@" | ||
24 | |||
25 | test -x $PROG || exit 0 | ||
26 | |||
27 | do_start() | ||
28 | { | ||
29 | echo -n "Starting $DESC: " | ||
30 | |||
31 | if [ "$MOUNTPOINT" = "/sys/class/gpio" ] && [ ! -e /sys/class/gpio ]; then | ||
32 | mkdir -p /run/gpio/sys /run/gpio/class/gpio /run/gpio/work | ||
33 | mount -t sysfs sysfs /run/gpio/sys -o nosuid,nodev,noexec | ||
34 | # Bail out if overlayfs is not available | ||
35 | set -e | ||
36 | mount -t overlay overlay /sys/class \ | ||
37 | -o upperdir=/run/gpio/class,lowerdir=/run/gpio/sys/class,workdir=/run/gpio/work,nosuid,nodev,noexec,relatime,ro | ||
38 | set +e | ||
39 | else | ||
40 | mkdir -p $MOUNTPOINT | ||
41 | fi | ||
42 | |||
43 | $PROG $MOUNTPOINT -o nonempty -o allow_other -o default_permissions -o entry_timeout=0 -f | logger -i $NAME & | ||
44 | echo "done" | ||
45 | } | ||
46 | |||
47 | do_stop() | ||
48 | { | ||
49 | echo -n "Stopping $DESC: " | ||
50 | |||
51 | umount $MOUNTPOINT | ||
52 | |||
53 | mountpoint -q /sys/class | ||
54 | if [ "$?" = "0" ]; then | ||
55 | umount /sys/class | ||
56 | umount /run/gpio/sys | ||
57 | rm -rf /run/gpio | ||
58 | fi | ||
59 | echo "done" | ||
60 | } | ||
61 | |||
62 | case "$1" in | ||
63 | start) | ||
64 | do_start | ||
65 | ;; | ||
66 | stop) | ||
67 | do_stop | ||
68 | ;; | ||
69 | status) | ||
70 | status $PROG | ||
71 | exit $? | ||
72 | ;; | ||
73 | restart) | ||
74 | do_stop | ||
75 | sleep 1 | ||
76 | do_start | ||
77 | ;; | ||
78 | *) | ||
79 | echo "Usage: /etc/init.d/$NAME {start|stop|status|restart}" >&2 | ||
80 | exit 1 | ||
81 | ;; | ||
82 | esac | ||
83 | |||
84 | exit 0 | ||
diff --git a/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/gpiod-sysfs-proxy.service.in b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/gpiod-sysfs-proxy.service.in new file mode 100644 index 0000000000..313523268c --- /dev/null +++ b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/gpiod-sysfs-proxy.service.in | |||
@@ -0,0 +1,15 @@ | |||
1 | # SPDX-License-Identifier: CC0-1.0 | ||
2 | # SPDX-FileCopyrightText: 2024 Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | ||
3 | |||
4 | [Unit] | ||
5 | Description=User-space, libgpiod-based compatibility layer for linux GPIO sysfs interface | ||
6 | |||
7 | [Service] | ||
8 | RuntimeDirectory=gpio | ||
9 | Type=simple | ||
10 | ExecStart=/usr/bin/gpiod-sysfs-proxy @mountpoint@ -f -o nonempty -o allow_other -o default_permissions -o entry_timeout=0 | ||
11 | ExecStop=/bin/umount @mountpoint@ | ||
12 | Restart=always | ||
13 | |||
14 | [Install] | ||
15 | WantedBy=multi-user.target | ||
diff --git a/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/run-gpio-sys.mount b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/run-gpio-sys.mount new file mode 100644 index 0000000000..a924cb9b64 --- /dev/null +++ b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/run-gpio-sys.mount | |||
@@ -0,0 +1,13 @@ | |||
1 | # SPDX-License-Identifier: CC0-1.0 | ||
2 | # SPDX-FileCopyrightText: 2024 Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | ||
3 | |||
4 | [Unit] | ||
5 | Description=Remount of sysfs for gpiod-sysfs-proxy | ||
6 | ConditionPathExists=!/sys/class/gpio | ||
7 | |||
8 | [Mount] | ||
9 | DirectoryMode=0700 | ||
10 | What=sysfs | ||
11 | Where=/run/gpio/sys | ||
12 | Type=sysfs | ||
13 | Options=nosuid,nodev,noexec | ||
diff --git a/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/run-ptest.in b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/run-ptest.in new file mode 100644 index 0000000000..aab3a5ce3e --- /dev/null +++ b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/run-ptest.in | |||
@@ -0,0 +1,21 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | ptestdir=$(dirname "$(readlink -f "$0")") | ||
4 | testbin="gpio-sysfs-compat-tests" | ||
5 | |||
6 | modprobe gpio-sim | ||
7 | modprobe configfs | ||
8 | |||
9 | mountpoint -q /sys/kernel/config | ||
10 | if [ "$?" -ne "0" ]; then | ||
11 | mount -t configfs configfs /sys/kernel/config | ||
12 | fi | ||
13 | |||
14 | cd $ptestdir/tests | ||
15 | |||
16 | ./$testbin -v --gpio-class @mountpoint@ --chown-user gpio-test > ./$testbin.out 2>&1 | ||
17 | if [ $? -ne 0 ]; then | ||
18 | echo "FAIL: $testbin" | ||
19 | else | ||
20 | echo "PASS: $testbin" | ||
21 | fi | ||
diff --git a/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/sys-class.mount b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/sys-class.mount new file mode 100644 index 0000000000..e3e3ce8e74 --- /dev/null +++ b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy/sys-class.mount | |||
@@ -0,0 +1,16 @@ | |||
1 | # SPDX-License-Identifier: CC0-1.0 | ||
2 | # SPDX-FileCopyrightText: 2024 Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | ||
3 | |||
4 | [Unit] | ||
5 | Description=Overlay on top of /sys/class adding the gpio class directory | ||
6 | Before=gpiod-sysfs-proxy.service | ||
7 | After=run-gpio-sys.mount | ||
8 | ConditionPathExists=!/sys/class/gpio | ||
9 | |||
10 | [Mount] | ||
11 | RuntimeDirectory=gpio/class/gpio | ||
12 | DirectoryMode=0755 | ||
13 | What=overlay | ||
14 | Where=/sys/class | ||
15 | Type=overlay | ||
16 | Options=upperdir=/run/gpio/class,lowerdir=/run/gpio/sys/class,workdir=/run/gpio/work,ro,nosuid,nodev,noexec,relatime | ||
diff --git a/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy_0.1.2.bb b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy_0.1.2.bb new file mode 100644 index 0000000000..3e68a52b09 --- /dev/null +++ b/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy_0.1.2.bb | |||
@@ -0,0 +1,85 @@ | |||
1 | SUMMARY = "User-space, libgpiod-based compatibility layer for linux GPIO sysfs interface." | ||
2 | |||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=0dcf8b702b5c96178978c7223f64a73b" | ||
5 | |||
6 | inherit systemd update-rc.d ptest pypi python_pep517 python_setuptools_build_meta useradd | ||
7 | |||
8 | PYPI_PACKAGE = "gpiod_sysfs_proxy" | ||
9 | |||
10 | SRC_URI += " \ | ||
11 | file://gpiod-sysfs-proxy.service.in \ | ||
12 | file://run-gpio-sys.mount \ | ||
13 | file://sys-class.mount \ | ||
14 | file://gpiod-sysfs-proxy.init.in \ | ||
15 | file://run-ptest.in \ | ||
16 | " | ||
17 | |||
18 | SRC_URI[sha256sum] = "4bdd4b8a7042f63a40507ae0f16b360011e67cbb2f0276289636487a54849530" | ||
19 | |||
20 | # For full backward compatibility with the kernel sysfs interface, this option | ||
21 | # must be selected. However, we don't make it the default as - with kernel sysfs | ||
22 | # disabled - it plays a silly game with /sys/class, where it mounts a read-only | ||
23 | # overlay containing the missing /sys/class/gpio directory. This is a rather | ||
24 | # non-standard behavior so make sure the user actually wants it. | ||
25 | PACKAGECONFIG[sys-class-mount] = "" | ||
26 | |||
27 | export MOUNTPOINT = "${@bb.utils.contains('PACKAGECONFIG', 'sys-class-mount', '/sys/class/gpio', '/run/gpio', d)}" | ||
28 | |||
29 | do_install:append() { | ||
30 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
31 | install -d ${D}${systemd_system_unitdir} | ||
32 | install -m 0644 ${UNPACKDIR}/gpiod-sysfs-proxy.service.in ${D}${systemd_system_unitdir}/gpiod-sysfs-proxy.service | ||
33 | |||
34 | if ${@bb.utils.contains('PACKAGECONFIG', 'sys-class-mount', 'true', 'false', d)}; then | ||
35 | install -d ${D}${systemd_system_unitdir}/sysinit.target.wants/ | ||
36 | |||
37 | install -m 0644 ${UNPACKDIR}/run-gpio-sys.mount ${D}${systemd_system_unitdir}/run-gpio-sys.mount | ||
38 | install -m 0644 ${UNPACKDIR}/sys-class.mount ${D}${systemd_system_unitdir}/sys-class.mount | ||
39 | |||
40 | ln -sf ../run-gpio-sys.mount ${D}${systemd_system_unitdir}/sysinit.target.wants/run-gpio-sys.mount | ||
41 | ln -sf ../sys-class.mount ${D}${systemd_system_unitdir}/sysinit.target.wants/sys-class.mount | ||
42 | fi | ||
43 | |||
44 | sed -i "s:@mountpoint@:$MOUNTPOINT:g" ${D}${systemd_system_unitdir}/gpiod-sysfs-proxy.service | ||
45 | elif ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | ||
46 | install -d ${D}${sysconfdir}/init.d | ||
47 | install -m 0755 ${UNPACKDIR}/gpiod-sysfs-proxy.init.in ${D}${sysconfdir}/init.d/gpiod-sysfs-proxy | ||
48 | sed -i "s:@mountpoint@:$MOUNTPOINT:g" ${D}${sysconfdir}/init.d/gpiod-sysfs-proxy | ||
49 | fi | ||
50 | } | ||
51 | |||
52 | SYSTEMD_SERVICE:${PN} = "gpiod-sysfs-proxy.service" | ||
53 | SYSTEMD_AUTO_ENABLE = "enable" | ||
54 | |||
55 | INITSCRIPT_NAME = "gpiod-sysfs-proxy" | ||
56 | INITSCRIPT_PARAMS = "start 20 2 3 4 5 . stop 20 0 1 6 ." | ||
57 | |||
58 | FILES:${PN} += "/usr/lib/systemd/system" | ||
59 | |||
60 | RDEPENDS:${PN} += " \ | ||
61 | python3-fuse \ | ||
62 | python3-gpiod \ | ||
63 | python3-pyudev \ | ||
64 | " | ||
65 | |||
66 | python __anonymous() { | ||
67 | if d.getVar("PTEST_ENABLED") == "1": | ||
68 | d.appendVar("SRC_URI", "git://github.com/brgl/gpio-sysfs-compat-tests;protocol=https;branch=main;destsuffix=tests;name=tests") | ||
69 | d.setVar("SRCREV_tests", "a3c9daa4650dd1e8d7fd8972db68d9c2c204263d") | ||
70 | } | ||
71 | |||
72 | do_install_ptest() { | ||
73 | install -d ${D}${PTEST_PATH}/tests/ | ||
74 | install -m 0755 ${UNPACKDIR}/run-ptest.in ${D}${PTEST_PATH}/run-ptest | ||
75 | sed -i "s:@mountpoint@:$MOUNTPOINT:g" ${D}${PTEST_PATH}/run-ptest | ||
76 | install -m 0755 ${UNPACKDIR}/tests/gpio-sysfs-compat-tests ${D}${PTEST_PATH}/tests/gpio-sysfs-compat-tests | ||
77 | } | ||
78 | |||
79 | # Test user is created for verifying chown() and chmod() operations. | ||
80 | USERADD_PACKAGES = "${PN}-ptest" | ||
81 | GROUPADD_PARAM:${PN}-ptest = "--system gpio-test" | ||
82 | USERADD_PARAM:${PN}-ptest = "--system -M -s /bin/nologin -g gpio-test gpio-test" | ||
83 | |||
84 | RDEPENDS:${PN}-ptest += "kmod" | ||
85 | RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim kernel-module-configfs" | ||
diff --git a/meta-filesystems/recipes-filesystems/burnia/libburn/0001-Bug-fix-Faulty-signal-handler-prototype-spoiled-comp.patch b/meta-filesystems/recipes-filesystems/burnia/libburn/0001-Bug-fix-Faulty-signal-handler-prototype-spoiled-comp.patch new file mode 100644 index 0000000000..6061352cb7 --- /dev/null +++ b/meta-filesystems/recipes-filesystems/burnia/libburn/0001-Bug-fix-Faulty-signal-handler-prototype-spoiled-comp.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From d537f9dd35282df834a311ead5f113af67d223b3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Thomas Schmitt <scdbackup@gmx.net> | ||
3 | Date: Tue, 26 Nov 2024 23:02:03 +0100 | ||
4 | Subject: [PATCH] Bug fix: Faulty signal handler prototype spoiled compilation | ||
5 | under C23 | ||
6 | |||
7 | Upstream-Status: Backport [https://dev.lovelyhq.com/libburnia/libburn/commit/d537f9dd35282df834a311ead5f113af67d223b3] | ||
8 | --- | ||
9 | test/poll.c | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/test/poll.c b/test/poll.c | ||
13 | index 660f384..cd5ff90 100644 | ||
14 | --- a/test/poll.c | ||
15 | +++ b/test/poll.c | ||
16 | @@ -14,7 +14,7 @@ static struct burn_drive_info *drives; | ||
17 | static unsigned int n_drives; | ||
18 | int NEXT; | ||
19 | |||
20 | -static void catch_int () | ||
21 | +static void catch_int (int signum) | ||
22 | { | ||
23 | NEXT = 1; | ||
24 | } | ||
25 | -- | ||
26 | 2.34.1 | ||
27 | |||
diff --git a/meta-filesystems/recipes-filesystems/burnia/libburn_1.5.6.bb b/meta-filesystems/recipes-filesystems/burnia/libburn_1.5.6.bb index e0f6664ab3..e84a60a543 100644 --- a/meta-filesystems/recipes-filesystems/burnia/libburn_1.5.6.bb +++ b/meta-filesystems/recipes-filesystems/burnia/libburn_1.5.6.bb | |||
@@ -5,7 +5,9 @@ LICENSE = "GPL-2.0-or-later" | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ |
6 | file://COPYRIGHT;md5=a91b9b862895b64e68e5b321873c9111" | 6 | file://COPYRIGHT;md5=a91b9b862895b64e68e5b321873c9111" |
7 | 7 | ||
8 | SRC_URI = "http://files.libburnia-project.org/releases/${BP}.tar.gz" | 8 | SRC_URI = "http://files.libburnia-project.org/releases/${BP}.tar.gz \ |
9 | file://0001-Bug-fix-Faulty-signal-handler-prototype-spoiled-comp.patch" | ||
10 | |||
9 | SRC_URI[sha256sum] = "7295491b4be5eeac5e7a3fb2067e236e2955ffdc6bbd45f546466edee321644b" | 11 | SRC_URI[sha256sum] = "7295491b4be5eeac5e7a3fb2067e236e2955ffdc6bbd45f546466edee321644b" |
10 | 12 | ||
11 | inherit autotools pkgconfig lib_package | 13 | inherit autotools pkgconfig lib_package |
diff --git a/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb b/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb index 5dc3ea6632..2370633551 100644 --- a/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb +++ b/meta-filesystems/recipes-filesystems/httpfs2-fuse/httpfs2_0.1.5.bb | |||
@@ -11,7 +11,7 @@ RDEPENDS:${PN} += "fuse" | |||
11 | SRC_URI += "${SOURCEFORGE_MIRROR}/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz" | 11 | SRC_URI += "${SOURCEFORGE_MIRROR}/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz" |
12 | SRC_URI[sha256sum] = "01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1" | 12 | SRC_URI[sha256sum] = "01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1" |
13 | 13 | ||
14 | S = "${WORKDIR}/httpfs2-${PV}" | 14 | S = "${UNPACKDIR}/httpfs2-${PV}" |
15 | 15 | ||
16 | do_compile() { | 16 | do_compile() { |
17 | oe_runmake -C ${S} httpfs2 | 17 | oe_runmake -C ${S} httpfs2 |
diff --git a/meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.4.bb b/meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.4.bb index c9702eb93e..5fbeab53d8 100644 --- a/meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.4.bb +++ b/meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.4.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | SUMMARY = "A fuse filesystem to access the contents of an iPhone or iPod Touch" | 1 | SUMMARY = "A fuse filesystem to access the contents of an iPhone or iPod Touch" |
2 | LICENSE = "LGPL-2.1-only" | 2 | LICENSE = "LGPL-2.1-only" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=6ab17b41640564434dda85c06b7124f7" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=6ab17b41640564434dda85c06b7124f7" |
4 | HOMEPAGE ="http://www.libimobiledevice.org/" | 4 | HOMEPAGE = "http://www.libimobiledevice.org/" |
5 | 5 | ||
6 | DEPENDS = "fuse libimobiledevice" | 6 | DEPENDS = "fuse libimobiledevice" |
7 | 7 | ||
diff --git a/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb b/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb index 7d0a83609e..06051d8013 100644 --- a/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb +++ b/meta-filesystems/recipes-filesystems/logfsprogs/logfsprogs_git.bb | |||
@@ -18,7 +18,6 @@ SRC_URI = "git://github.com/prasad-joshi/logfsprogs.git;branch=master;protocol=h | |||
18 | " | 18 | " |
19 | SRCREV = "45b72c81ce3c6fa17ca19bafc207ea93e76312f4" | 19 | SRCREV = "45b72c81ce3c6fa17ca19bafc207ea93e76312f4" |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | ||
22 | 21 | ||
23 | EXTRA_OEMAKE = "CC="${CC}" LD="${LD}" AR="${AR}"" | 22 | EXTRA_OEMAKE = "CC="${CC}" LD="${LD}" AR="${AR}"" |
24 | 23 | ||
diff --git a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/files/0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/files/0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch new file mode 100644 index 0000000000..3160f56880 --- /dev/null +++ b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/files/0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 7b6210c5be46e5120b42c09f910e8f104bf3edf1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Erik Larsson <erik@tuxera.com> | ||
3 | Date: Tue, 13 Jun 2023 17:47:15 +0300 | ||
4 | Subject: [PATCH] unistr.c: Fix use-after-free in 'ntfs_uppercase_mbs'. | ||
5 | |||
6 | If 'utf8_to_unicode' throws an error due to an invalid UTF-8 sequence, | ||
7 | then 'n' will be less than 0 and the loop will terminate without storing | ||
8 | anything in '*t'. After the loop the uppercase string's allocation is | ||
9 | freed, however after it is freed it is unconditionally accessed through | ||
10 | '*t', which points into the freed allocation, for the purpose of NULL- | ||
11 | terminating the string. This leads to a use-after-free. | ||
12 | Fixed by only NULL-terminating the string when no error has been thrown. | ||
13 | |||
14 | Thanks for Jeffrey Bencteux for reporting this issue: | ||
15 | https://github.com/tuxera/ntfs-3g/issues/84 | ||
16 | |||
17 | Upstream-Status: Backport [https://github.com/tuxera/ntfs-3g/commit/75dcdc2cf37478fad6c0e3427403d198b554951d] | ||
18 | CVE: CVE-2023-52890 | ||
19 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
20 | |||
21 | --- | ||
22 | libntfs-3g/unistr.c | 3 ++- | ||
23 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
24 | |||
25 | diff --git a/libntfs-3g/unistr.c b/libntfs-3g/unistr.c | ||
26 | index 5854b3b..db8ddf4 100644 | ||
27 | --- a/libntfs-3g/unistr.c | ||
28 | +++ b/libntfs-3g/unistr.c | ||
29 | @@ -1189,8 +1189,9 @@ char *ntfs_uppercase_mbs(const char *low, | ||
30 | free(upp); | ||
31 | upp = (char*)NULL; | ||
32 | errno = EILSEQ; | ||
33 | + } else { | ||
34 | + *t = 0; | ||
35 | } | ||
36 | - *t = 0; | ||
37 | } | ||
38 | return (upp); | ||
39 | } | ||
40 | -- | ||
41 | 2.34.1 | ||
42 | |||
diff --git a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb index 37a8106bb0..4c7fff8ea9 100644 --- a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb +++ b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2022.10.3.bb | |||
@@ -8,8 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | |||
8 | 8 | ||
9 | SRC_URI = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${PV}.tgz \ | 9 | SRC_URI = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${PV}.tgz \ |
10 | file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \ | 10 | file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \ |
11 | file://0001-unistr.c-Fix-use-after-free-in-ntfs_uppercase_mbs.patch \ | ||
11 | " | 12 | " |
12 | S = "${WORKDIR}/ntfs-3g_ntfsprogs-${PV}" | 13 | S = "${UNPACKDIR}/ntfs-3g_ntfsprogs-${PV}" |
13 | SRC_URI[sha256sum] = "f20e36ee68074b845e3629e6bced4706ad053804cbaf062fbae60738f854170c" | 14 | SRC_URI[sha256sum] = "f20e36ee68074b845e3629e6bced4706ad053804cbaf062fbae60738f854170c" |
14 | 15 | ||
15 | UPSTREAM_CHECK_URI = "https://www.tuxera.com/community/open-source-ntfs-3g/" | 16 | UPSTREAM_CHECK_URI = "https://www.tuxera.com/community/open-source-ntfs-3g/" |
diff --git a/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p3.bb b/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p3.bb index 7768a734d6..890c8aecc0 100644 --- a/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p3.bb +++ b/meta-filesystems/recipes-filesystems/owfs/owfs_3.2p3.bb | |||
@@ -17,7 +17,6 @@ SRC_URI = "git://github.com/owfs/owfs;branch=master;protocol=https \ | |||
17 | file://owserver \ | 17 | file://owserver \ |
18 | " | 18 | " |
19 | 19 | ||
20 | S = "${WORKDIR}/git" | ||
21 | 20 | ||
22 | inherit autotools-brokensep update-rc.d pkgconfig systemd | 21 | inherit autotools-brokensep update-rc.d pkgconfig systemd |
23 | 22 | ||
diff --git a/meta-filesystems/recipes-filesystems/simple-mtpfs/simple-mtpfs_0.4.0.bb b/meta-filesystems/recipes-filesystems/simple-mtpfs/simple-mtpfs_0.4.0.bb index b8399265cd..05a1004b65 100644 --- a/meta-filesystems/recipes-filesystems/simple-mtpfs/simple-mtpfs_0.4.0.bb +++ b/meta-filesystems/recipes-filesystems/simple-mtpfs/simple-mtpfs_0.4.0.bb | |||
@@ -11,4 +11,3 @@ inherit autotools pkgconfig | |||
11 | SRC_URI = "git://github.com/phatina/simple-mtpfs.git;protocol=https;branch=master" | 11 | SRC_URI = "git://github.com/phatina/simple-mtpfs.git;protocol=https;branch=master" |
12 | SRCREV = "19e7bb9b608b0c0dce2ee6f56fac75901bc69529" | 12 | SRCREV = "19e7bb9b608b0c0dce2ee6f56fac75901bc69529" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
diff --git a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb index 2d9eab1dd5..97c7ad396e 100644 --- a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb +++ b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb | |||
@@ -6,7 +6,7 @@ DESCRIPTION = "SMBNetFS is a Linux/FreeBSD filesystem that allow you to use \ | |||
6 | 6 | ||
7 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" |
9 | HOMEPAGE ="http://sourceforge.net/projects/smbnetfs" | 9 | HOMEPAGE = "http://sourceforge.net/projects/smbnetfs" |
10 | 10 | ||
11 | DEPENDS = "fuse samba" | 11 | DEPENDS = "fuse samba" |
12 | DEPENDS:append:libc-musl = " libexecinfo" | 12 | DEPENDS:append:libc-musl = " libexecinfo" |
@@ -27,6 +27,5 @@ SRC_URI = "git://smbnetfs.git.sourceforge.net/gitroot/smbnetfs/smbnetfs;branch=m | |||
27 | PACKAGECONFIG ??= "" | 27 | PACKAGECONFIG ??= "" |
28 | PACKAGECONFIG[libsecret] = "--with-libsecret=yes,--with-libsecret=no,libsecret" | 28 | PACKAGECONFIG[libsecret] = "--with-libsecret=yes,--with-libsecret=no,libsecret" |
29 | 29 | ||
30 | S = "${WORKDIR}/git" | ||
31 | 30 | ||
32 | LDFLAGS:append:libc-musl = " -lexecinfo" | 31 | LDFLAGS:append:libc-musl = " -lexecinfo" |
diff --git a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest index b63c4de0d9..5aab54d5b5 100644 --- a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest +++ b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest | |||
@@ -1,3 +1,11 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | mkdir -p ~/.ssh | ||
3 | cat > ~/.ssh/config << EOF | ||
4 | Host * | ||
5 | CheckHostIP no | ||
6 | StrictHostKeyChecking no | ||
7 | UserKnownHostsFile=/dev/null | ||
8 | EOF | ||
9 | pytest --automake | ||
2 | 10 | ||
3 | pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' | 11 | rm -rf ~/.ssh/config |
diff --git a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb index 5a926dac0c..c3a00566ab 100644 --- a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb +++ b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb | |||
@@ -10,16 +10,17 @@ SRC_URI = "git://github.com/libfuse/sshfs;branch=master;protocol=https \ | |||
10 | file://a1d58ae1be99571a88b8439b027abe6349b74658.patch \ | 10 | file://a1d58ae1be99571a88b8439b027abe6349b74658.patch \ |
11 | " | 11 | " |
12 | SRCREV = "c91eb9a9a992f1a36c49a8e6f1146e45b5e1c8e7" | 12 | SRCREV = "c91eb9a9a992f1a36c49a8e6f1146e45b5e1c8e7" |
13 | S = "${WORKDIR}/git" | ||
14 | 13 | ||
15 | inherit meson pkgconfig ptest | 14 | inherit meson pkgconfig ptest |
16 | 15 | ||
17 | SRC_URI += " \ | 16 | SRC_URI += " \ |
18 | file://run-ptest \ | 17 | file://run-ptest \ |
19 | " | 18 | " |
20 | 19 | #python3-compile for filecmp module | |
21 | RDEPENDS:${PN}-ptest += " \ | 20 | RDEPENDS:${PN}-ptest += " \ |
21 | python3-compile \ | ||
22 | python3-pytest \ | 22 | python3-pytest \ |
23 | python3-unittest-automake-output \ | ||
23 | bash \ | 24 | bash \ |
24 | fuse \ | 25 | fuse \ |
25 | " | 26 | " |
@@ -27,4 +28,5 @@ RDEPENDS:${PN}-ptest += " \ | |||
27 | do_install_ptest() { | 28 | do_install_ptest() { |
28 | install -d ${D}${PTEST_PATH}/test | 29 | install -d ${D}${PTEST_PATH}/test |
29 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | 30 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ |
31 | ln -sf ${bindir}/sshfs ${D}${PTEST_PATH}/sshfs | ||
30 | } | 32 | } |
diff --git a/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_3.4.bb b/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_3.4.bb index e8fda05365..fc474e3238 100644 --- a/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_3.4.bb +++ b/meta-filesystems/recipes-filesystems/unionfs-fuse/unionfs-fuse_3.4.bb | |||
@@ -14,6 +14,5 @@ SRCREV = "773f1853b043eeb64b7459f903a2c65bd096f9d9" | |||
14 | DEPENDS = "fuse3" | 14 | DEPENDS = "fuse3" |
15 | RDEPENDS:${PN} = "bash" | 15 | RDEPENDS:${PN} = "bash" |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | ||
18 | 17 | ||
19 | inherit cmake pkgconfig | 18 | inherit cmake pkgconfig |
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/makefile-add-ldflags.patch b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-Makefile-add-LDFLAGS.patch index bb21899eb3..ac38115952 100644 --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/makefile-add-ldflags.patch +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-Makefile-add-LDFLAGS.patch | |||
@@ -1,12 +1,20 @@ | |||
1 | From 8393f9d64b4cead722ee1a7674da1c41b33cfdcc Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Fri, 20 Jun 2025 15:08:19 +0800 | ||
4 | Subject: [PATCH] Makefile: add LDFLAGS | ||
5 | |||
1 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
2 | 7 | ||
3 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | 8 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> |
9 | --- | ||
10 | utils/Makefile | 4 ++-- | ||
11 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
4 | 12 | ||
5 | diff --git a/utils/Makefile b/utils/Makefile | 13 | diff --git a/utils/Makefile b/utils/Makefile |
6 | index 710ebbf..6259893 100644 | 14 | index a00fa13..13e91f7 100644 |
7 | --- a/utils/Makefile | 15 | --- a/utils/Makefile |
8 | +++ b/utils/Makefile | 16 | +++ b/utils/Makefile |
9 | @@ -57,10 +57,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJS) : %.o: %.c | 17 | @@ -56,10 +56,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJS) : %.o: %.c |
10 | $(CC) -c $(CFLAGS) $< -o $@ | 18 | $(CC) -c $(CFLAGS) $< -o $@ |
11 | 19 | ||
12 | mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS) | 20 | mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS) |
@@ -19,3 +27,6 @@ index 710ebbf..6259893 100644 | |||
19 | 27 | ||
20 | 28 | ||
21 | clean: | 29 | clean: |
30 | -- | ||
31 | 2.34.1 | ||
32 | |||
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-define-loff_t-if-not-already-defined.patch b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0002-define-loff_t-if-not-already-defined.patch index 6cedc3cb4e..24d1eaa596 100644 --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-define-loff_t-if-not-already-defined.patch +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0002-define-loff_t-if-not-already-defined.patch | |||
@@ -1,22 +1,22 @@ | |||
1 | From 848717da4a28d33f8aa8f889377e61e6b1b8ae67 Mon Sep 17 00:00:00 2001 | 1 | From 72f923440fef3b875e5570094e4cf398a201521f 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: Thu, 13 Jul 2017 18:29:52 -0700 | 3 | Date: Thu, 13 Jul 2017 18:29:52 -0700 |
4 | Subject: [PATCH] define loff_t if not already defined | 4 | Subject: [PATCH] define loff_t if not already defined |
5 | 5 | ||
6 | Helps to build with musl | 6 | Helps to build with musl |
7 | 7 | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | Upstream-Status: Pending | 8 | Upstream-Status: Pending |
11 | 9 | ||
12 | yaffs_guts.h | 4 ++++ | 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
11 | --- | ||
12 | core/yaffs_guts.h | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | 13 | 1 file changed, 4 insertions(+) |
14 | 14 | ||
15 | diff --git a/yaffs_guts.h b/yaffs_guts.h | 15 | diff --git a/core/yaffs_guts.h b/core/yaffs_guts.h |
16 | index 6bcf12d..4af17ce 100644 | 16 | index 74ded0b..4bd2646 100644 |
17 | --- a/yaffs_guts.h | 17 | --- a/core/yaffs_guts.h |
18 | +++ b/yaffs_guts.h | 18 | +++ b/core/yaffs_guts.h |
19 | @@ -18,6 +18,10 @@ | 19 | @@ -17,6 +17,10 @@ |
20 | 20 | ||
21 | #include "yportenv.h" | 21 | #include "yportenv.h" |
22 | 22 | ||
@@ -28,5 +28,5 @@ index 6bcf12d..4af17ce 100644 | |||
28 | #define YAFFS_FAIL 0 | 28 | #define YAFFS_FAIL 0 |
29 | 29 | ||
30 | -- | 30 | -- |
31 | 2.13.2 | 31 | 2.34.1 |
32 | 32 | ||
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0003-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch index 98c27d2654..5b67ceddff 100644 --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0003-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 05cc2b958090f96d6fa128da43aa69669625e529 Mon Sep 17 00:00:00 2001 | 1 | From 75fe0fbe254f63fe58d22f2d6090e9a8b3a6fe41 Mon Sep 17 00:00:00 2001 |
2 | From: Robert Yang <liezhi.yang@windriver.com> | 2 | From: Robert Yang <liezhi.yang@windriver.com> |
3 | Date: Tue, 5 Mar 2024 12:03:23 +0000 | 3 | Date: Tue, 5 Mar 2024 12:03:23 +0000 |
4 | Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined | 4 | Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined |
@@ -11,14 +11,14 @@ Upstream-Status: Pending | |||
11 | 11 | ||
12 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | 12 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
13 | --- | 13 | --- |
14 | yaffs_guts.h | 4 ++++ | 14 | core/yaffs_guts.h | 4 ++++ |
15 | 1 file changed, 4 insertions(+) | 15 | 1 file changed, 4 insertions(+) |
16 | 16 | ||
17 | diff --git a/yaffs_guts.h b/yaffs_guts.h | 17 | diff --git a/core/yaffs_guts.h b/core/yaffs_guts.h |
18 | index 74ded0b..598271b 100644 | 18 | index 4bd2646..507bf16 100644 |
19 | --- a/yaffs_guts.h | 19 | --- a/core/yaffs_guts.h |
20 | +++ b/yaffs_guts.h | 20 | +++ b/core/yaffs_guts.h |
21 | @@ -487,6 +487,10 @@ struct yaffs_obj { | 21 | @@ -491,6 +491,10 @@ struct yaffs_obj { |
22 | 22 | ||
23 | YCHAR short_name[YAFFS_SHORT_NAME_LENGTH + 1]; | 23 | YCHAR short_name[YAFFS_SHORT_NAME_LENGTH + 1]; |
24 | 24 | ||
@@ -30,5 +30,5 @@ index 74ded0b..598271b 100644 | |||
30 | //these are always 64 bits | 30 | //these are always 64 bits |
31 | u32 win_ctime[2]; | 31 | u32 win_ctime[2]; |
32 | -- | 32 | -- |
33 | 2.35.5 | 33 | 2.34.1 |
34 | 34 | ||
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0004-utils-Makefile-fix-symbolic-links.patch b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0004-utils-Makefile-fix-symbolic-links.patch new file mode 100644 index 0000000000..987652afce --- /dev/null +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0004-utils-Makefile-fix-symbolic-links.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 8349d121e3595ac4d935169150984260f8b697b9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Fri, 20 Jun 2025 15:20:05 +0800 | ||
4 | Subject: [PATCH] utils/Makefile: fix symbolic links | ||
5 | |||
6 | Create correct symlinks to fix the following error: | ||
7 | |||
8 | mkyaffsimage.c:29:10: fatal error: yaffs_ecc.h: No such file or directory | ||
9 | 29 | #include "yaffs_ecc.h" | ||
10 | | ^~~~~~~~~~~~~ | ||
11 | |||
12 | Upstream-Status: Submitted [https://github.com/Aleph-One-Ltd/yaffs2/pull/13] | ||
13 | |||
14 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
15 | --- | ||
16 | utils/Makefile | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/utils/Makefile b/utils/Makefile | ||
20 | index a00fa13..22c2fdb 100644 | ||
21 | --- a/utils/Makefile | ||
22 | +++ b/utils/Makefile | ||
23 | @@ -45,7 +45,7 @@ ALL_LINKS = $(BASE_LINKS) $(DIRECT_LINKS) | ||
24 | all: mkyaffsimage mkyaffs2image | ||
25 | |||
26 | $(BASE_LINKS): | ||
27 | - ln -s ../$@ $@ | ||
28 | + ln -s ../core/$@ $@ | ||
29 | |||
30 | $(DIRECT_LINKS): | ||
31 | ln -s ../direct/$@ $@ | ||
32 | -- | ||
33 | 2.34.1 | ||
34 | |||
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb index ca5e3302b3..d30309a95a 100644 --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb | |||
@@ -14,18 +14,17 @@ PV = "20221209" | |||
14 | 14 | ||
15 | DEPENDS = "mtd-utils" | 15 | DEPENDS = "mtd-utils" |
16 | 16 | ||
17 | # Source is the HEAD of master branch at the time of writing this recipe | 17 | SRC_URI = "git://github.com/Aleph-One-Ltd/yaffs2;protocol=https;branch=master \ |
18 | SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \ | 18 | file://0001-Makefile-add-LDFLAGS.patch \ |
19 | file://makefile-add-ldflags.patch \ | 19 | file://0002-define-loff_t-if-not-already-defined.patch \ |
20 | file://0001-define-loff_t-if-not-already-defined.patch \ | 20 | file://0003-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch \ |
21 | file://0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch \ | 21 | file://0004-utils-Makefile-fix-symbolic-links.patch \ |
22 | " | 22 | " |
23 | 23 | ||
24 | SRCREV = "613a901a229e8a701c18f003dd0aee18453e0670" | 24 | SRCREV = "68030683543cccb4d942e3fedbcad1dc267e261c" |
25 | 25 | ||
26 | UPSTREAM_CHECK_COMMITS = "1" | 26 | UPSTREAM_CHECK_COMMITS = "1" |
27 | 27 | ||
28 | S = "${WORKDIR}/git" | ||
29 | 28 | ||
30 | CFLAGS:append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES" | 29 | CFLAGS:append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES" |
31 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | 30 | EXTRA_OEMAKE = "-e MAKEFLAGS=" |
diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.2.bb b/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb index d3ea6797e7..cf56cca84c 100644 --- a/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.2.bb +++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb | |||
@@ -2,16 +2,15 @@ SUMMARY = "OpenZFS on Linux and FreeBSD" | |||
2 | DESCRIPTION = "OpenZFS on Linux and FreeBSD" | 2 | DESCRIPTION = "OpenZFS on Linux and FreeBSD" |
3 | LICENSE = "CDDL-1.0" | 3 | LICENSE = "CDDL-1.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa" |
5 | HOMEPAGE ="https://github.com/openzfs/zfs" | 5 | HOMEPAGE = "https://github.com/openzfs/zfs" |
6 | 6 | ||
7 | SRCREV = "494aaaed89cb9fe9f2da3b6c6f465a4bc9f6a7e1" | 7 | SRCREV = "33174af15112ed5c53299da2d28e763b0163f428" |
8 | SRC_URI = "git://github.com/openzfs/zfs;protocol=https;branch=zfs-2.2-release \ | 8 | SRC_URI = "git://github.com/openzfs/zfs;protocol=https;branch=zfs-2.2-release \ |
9 | file://0001-Define-strndupa-if-it-does-not-exist.patch \ | 9 | file://0001-Define-strndupa-if-it-does-not-exist.patch \ |
10 | file://aaf28a4630af60496c9d33db1d06a7d7d8983422.patch \ | 10 | file://aaf28a4630af60496c9d33db1d06a7d7d8983422.patch \ |
11 | file://0001-fs-tests-cmd-readmmap-Replace-uint_t-with-uint32_t.patch \ | 11 | file://0001-fs-tests-cmd-readmmap-Replace-uint_t-with-uint32_t.patch \ |
12 | " | 12 | " |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | ||
15 | 14 | ||
16 | # Using both 'module' and 'autotools' classes seems a bit odd, they both | 15 | # Using both 'module' and 'autotools' classes seems a bit odd, they both |
17 | # define a do_compile function. | 16 | # define a do_compile function. |
@@ -20,9 +19,11 @@ inherit module-base pkgconfig autotools bash-completion | |||
20 | 19 | ||
21 | DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl" | 20 | DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl" |
22 | 21 | ||
23 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit', d)}" | 22 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit', d)} \ |
23 | ${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ | ||
24 | " | ||
24 | 25 | ||
25 | PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${libdir}/security, --disable-pam" | 26 | PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${base_libdir}/security, --disable-pam" |
26 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd," | 27 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd," |
27 | PACKAGECONFIG[sysvinit] = "--enable-sysvinit,--disable-sysvinit," | 28 | PACKAGECONFIG[sysvinit] = "--enable-sysvinit,--disable-sysvinit," |
28 | 29 | ||
@@ -35,9 +36,15 @@ EXTRA_OECONF:append = " \ | |||
35 | --with-systemdgeneratordir=${nonarch_base_libdir}/systemd/system-generators \ | 36 | --with-systemdgeneratordir=${nonarch_base_libdir}/systemd/system-generators \ |
36 | --with-systemdpresetdir=${nonarch_base_libdir}/systemd/system-preset \ | 37 | --with-systemdpresetdir=${nonarch_base_libdir}/systemd/system-preset \ |
37 | --with-systemdmodulesloaddir=${sysconfdir}/module-load.d \ | 38 | --with-systemdmodulesloaddir=${sysconfdir}/module-load.d \ |
38 | --without-dracutdir \ | 39 | --without-dracutdir --enable-linux-builtin \ |
39 | " | 40 | " |
40 | 41 | ||
42 | # Reproducibility: Force target distribution ("vendor") to Debian to match | ||
43 | # default values for things like: NFS server service name, bash completion | ||
44 | # path, configuration files, ... | ||
45 | # The Debian values do match the OpenEmbedded ones. | ||
46 | EXTRA_OECONF:append = " --with-vendor=debian" | ||
47 | |||
41 | EXTRA_OEMAKE:append = " \ | 48 | EXTRA_OEMAKE:append = " \ |
42 | INSTALL_MOD_PATH=${D}${root_prefix} \ | 49 | INSTALL_MOD_PATH=${D}${root_prefix} \ |
43 | " | 50 | " |
@@ -63,6 +70,8 @@ FILES:${PN} += "\ | |||
63 | ${bindir} \ | 70 | ${bindir} \ |
64 | ${libexecdir}/${BPN} \ | 71 | ${libexecdir}/${BPN} \ |
65 | ${libdir} \ | 72 | ${libdir} \ |
73 | ${datadir}/pam-configs \ | ||
74 | ${base_libdir}/security \ | ||
66 | " | 75 | " |
67 | 76 | ||
68 | FILES:${PN}-dev += "\ | 77 | FILES:${PN}-dev += "\ |
diff --git a/meta-filesystems/recipes-support/fuse/files/gold-unversioned-symbol.patch b/meta-filesystems/recipes-support/fuse/files/gold-unversioned-symbol.patch deleted file mode 100644 index d47f692c0e..0000000000 --- a/meta-filesystems/recipes-support/fuse/files/gold-unversioned-symbol.patch +++ /dev/null | |||
@@ -1,92 +0,0 @@ | |||
1 | fuse: Fix linking issues with gold linker | ||
2 | |||
3 | fuse has problems when linking with gold since it uses version | ||
4 | scripts in a way thats so perticular to bfd ld | ||
5 | |||
6 | /home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstro | ||
7 | error: symbol __fuse_exited has undefined version | ||
8 | | collect2: ld returned 1 exit status | ||
9 | | make[1]: *** [libfuse.la] Error 1 | ||
10 | | make[1]: *** Waiting for unfinished jobs.... | ||
11 | |||
12 | For more details | ||
13 | |||
14 | http://blog.flameeyes.eu/2011/06/01/gold-readiness-obstacle-2-base-versioning | ||
15 | http://sources.redhat.com/bugzilla/show_bug.cgi?id=10861 | ||
16 | http://comments.gmane.org/gmane.comp.file-systems.fuse.devel/9524 | ||
17 | http://www.airs.com/blog/archives/300 | ||
18 | |||
19 | Upstream-Status: Pending | ||
20 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
21 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
22 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
23 | --- | ||
24 | lib/fuse.c | 10 +++++----- | ||
25 | lib/fuse_mt.c | 2 +- | ||
26 | lib/fuse_versionscript | 3 +++ | ||
27 | lib/helper.c | 6 +++--- | ||
28 | 4 files changed, 12 insertions(+), 9 deletions(-) | ||
29 | |||
30 | diff --git a/lib/fuse.c b/lib/fuse.c | ||
31 | index 067d0dc..6d27711 100644 | ||
32 | --- a/lib/fuse.c | ||
33 | +++ b/lib/fuse.c | ||
34 | @@ -4873,11 +4873,11 @@ struct fuse *fuse_new_compat1(int fd, int flags, | ||
35 | 11); | ||
36 | } | ||
37 | |||
38 | -FUSE_SYMVER(".symver fuse_exited,__fuse_exited@"); | ||
39 | -FUSE_SYMVER(".symver fuse_process_cmd,__fuse_process_cmd@"); | ||
40 | -FUSE_SYMVER(".symver fuse_read_cmd,__fuse_read_cmd@"); | ||
41 | -FUSE_SYMVER(".symver fuse_set_getcontext_func,__fuse_set_getcontext_func@"); | ||
42 | -FUSE_SYMVER(".symver fuse_new_compat2,fuse_new@"); | ||
43 | +FUSE_SYMVER(".symver fuse_exited,__fuse_exited@FUSE_UNVERSIONED"); | ||
44 | +FUSE_SYMVER(".symver fuse_process_cmd,__fuse_process_cmd@FUSE_UNVERSIONED"); | ||
45 | +FUSE_SYMVER(".symver fuse_read_cmd,__fuse_read_cmd@FUSE_UNVERSIONED"); | ||
46 | +FUSE_SYMVER(".symver fuse_set_getcontext_func,__fuse_set_getcontext_func@FUSE_UNVERSIONED"); | ||
47 | +FUSE_SYMVER(".symver fuse_new_compat2,fuse_new@FUSE_UNVERSIONED"); | ||
48 | FUSE_SYMVER(".symver fuse_new_compat22,fuse_new@FUSE_2.2"); | ||
49 | |||
50 | #endif /* __FreeBSD__ || __NetBSD__ */ | ||
51 | diff --git a/lib/fuse_mt.c b/lib/fuse_mt.c | ||
52 | index f6dbe71..fd5ac23 100644 | ||
53 | --- a/lib/fuse_mt.c | ||
54 | +++ b/lib/fuse_mt.c | ||
55 | @@ -119,4 +119,4 @@ int fuse_loop_mt(struct fuse *f) | ||
56 | return res; | ||
57 | } | ||
58 | |||
59 | -FUSE_SYMVER(".symver fuse_loop_mt_proc,__fuse_loop_mt@"); | ||
60 | +FUSE_SYMVER(".symver fuse_loop_mt_proc,__fuse_loop_mt@FUSE_UNVERSIONED"); | ||
61 | diff --git a/lib/fuse_versionscript b/lib/fuse_versionscript | ||
62 | index 8d91887..de16ab2 100644 | ||
63 | --- a/lib/fuse_versionscript | ||
64 | +++ b/lib/fuse_versionscript | ||
65 | @@ -1,3 +1,6 @@ | ||
66 | +FUSE_UNVERSIONED { | ||
67 | +}; | ||
68 | + | ||
69 | FUSE_2.2 { | ||
70 | global: | ||
71 | fuse_destroy; | ||
72 | diff --git a/lib/helper.c b/lib/helper.c | ||
73 | index b644012..c5349bf 100644 | ||
74 | --- a/lib/helper.c | ||
75 | +++ b/lib/helper.c | ||
76 | @@ -436,10 +436,10 @@ int fuse_mount_compat1(const char *mountpoint, const char *args[]) | ||
77 | return fuse_mount_compat22(mountpoint, NULL); | ||
78 | } | ||
79 | |||
80 | -FUSE_SYMVER(".symver fuse_setup_compat2,__fuse_setup@"); | ||
81 | +FUSE_SYMVER(".symver fuse_setup_compat2,__fuse_setup@FUSE_UNVERSIONED"); | ||
82 | FUSE_SYMVER(".symver fuse_setup_compat22,fuse_setup@FUSE_2.2"); | ||
83 | -FUSE_SYMVER(".symver fuse_teardown,__fuse_teardown@"); | ||
84 | -FUSE_SYMVER(".symver fuse_main_compat2,fuse_main@"); | ||
85 | +FUSE_SYMVER(".symver fuse_teardown,__fuse_teardown@FUSE_UNVERSIONED"); | ||
86 | +FUSE_SYMVER(".symver fuse_main_compat2,fuse_main@FUSE_UNVERSIONED"); | ||
87 | FUSE_SYMVER(".symver fuse_main_real_compat22,fuse_main_real@FUSE_2.2"); | ||
88 | |||
89 | #endif /* __FreeBSD__ || __NetBSD__ */ | ||
90 | -- | ||
91 | 1.8.1.2 | ||
92 | |||
diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb b/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb index 6f613e9cd1..094ed8c8ad 100644 --- a/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb +++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb | |||
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | |||
11 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | 11 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" |
12 | 12 | ||
13 | SRC_URI = "https://github.com/libfuse/libfuse/releases/download/${BP}/${BP}.tar.gz \ | 13 | SRC_URI = "https://github.com/libfuse/libfuse/releases/download/${BP}/${BP}.tar.gz \ |
14 | file://gold-unversioned-symbol.patch \ | ||
15 | file://aarch64.patch \ | 14 | file://aarch64.patch \ |
16 | file://0001-fuse-fix-the-return-value-of-help-option.patch \ | 15 | file://0001-fuse-fix-the-return-value-of-help-option.patch \ |
17 | file://fuse2-0007-util-ulockmgr_server.c-conditionally-define-closefro.patch \ | 16 | file://fuse2-0007-util-ulockmgr_server.c-conditionally-define-closefro.patch \ |
@@ -23,7 +22,7 @@ SRC_URI[sha256sum] = "d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7 | |||
23 | UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases" | 22 | UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases" |
24 | UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>2(\.\d+)+).tar.gz" | 23 | UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>2(\.\d+)+).tar.gz" |
25 | 24 | ||
26 | CVE_PRODUCT = "fuse_project:fuse" | 25 | CVE_PRODUCT = "fuse_project:fuse fuse:fuse" |
27 | 26 | ||
28 | inherit autotools pkgconfig update-rc.d systemd | 27 | inherit autotools pkgconfig update-rc.d systemd |
29 | 28 | ||
diff --git a/meta-filesystems/recipes-support/python3-fuse/python3-fuse_1.0.9.bb b/meta-filesystems/recipes-support/python3-fuse/python3-fuse_1.0.9.bb new file mode 100644 index 0000000000..95351cc314 --- /dev/null +++ b/meta-filesystems/recipes-support/python3-fuse/python3-fuse_1.0.9.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | SUMMARY = "Python bindings for libfuse2." | ||
2 | |||
3 | LICENSE = "LGPL-2.1-only" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad" | ||
5 | |||
6 | inherit setuptools3 pypi pkgconfig | ||
7 | |||
8 | SRC_URI[sha256sum] = "9ed59577c36ab218d700aa2839f021f12c252b357186057572b98e19bc2a8589" | ||
9 | |||
10 | DEPENDS = "fuse python3-setuptools-native" | ||
11 | |||
12 | PYPI_PACKAGE = "fuse_python" | ||
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" | ||