Commit Graph

58 Commits

Author SHA1 Message Date
Changqing Li 9cc21a15e8 fuse3: remove sysv init script and install fuse kernel module explictly
For systemd, there is not a fuse.service since systemd provides
sys-fs-fuse-connections.mount to mount the fuse control filesystem, so
instead, only fuse3.conf is added to modules-load.d to load the required
fuse kernel module.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2024-06-02 14:57:06 -04:00
Fathi Boudra c08d534f91 composefs: add a new recipe
Tools to handle creating and mounting composefs images

Flexible mechanism to support read-only mountable filesystem trees,
stacking on top of Linux filesystem.

It will allow to enable filesystem integrity by leveraging the stack:
ostree -> composefs -> fs-verity

For reference:
https://github.com/containers/composefs?tab=readme-ov-file#filesystem-integrity
https://ostreedev.github.io/ostree/composefs/#using-composefs-with-ostree

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-14 08:38:39 -07:00
Khem Raj 8b6e7d4297 fuse3: Make kmod as a recommendation instead of rdep for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-01 16:37:56 -08:00
Martin Jansa 63266a461f fuse3: use 4 spaces for indentation
* instead of mix of 8, 9 and 4 spaces

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-01 16:37:56 -08:00
Khem Raj c2056112d4 python3-looseversion: Add recipe
Needed by fuse3 ptests

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-22 12:59:38 -08:00
Khem Raj dc70a139ad fuse3: Add missing runtime deps for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-22 12:59:38 -08:00
Tim Orling 3304673a5c meta-filesystems: drop ${PYTHON_PN}
python 2 is long unsupported, so we no longer need this variable

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19 23:22:25 -08:00
alperak 59c4f115ad fuse3: upgrade 3.15.1 -> 3.16.2
Changelog:

- Various minor bugfixes and improvements.
- Readdir kernel cache can be enabled from high-level API.

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-12 12:18:47 -08:00
Markus Volk c85d1218e3 fuse3: update 3.14.1 -> 3.15.1
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-02 22:58:20 -07:00
Martin Jansa be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Markus Volk f6664bbc45 fuse3: update 3.12.0 -> 3.14.1
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-15 22:51:10 -07:00
wangmy 0d29eaf951 fuse3: upgrade 3.11.0 -> 3.12.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-13 09:55:02 -07:00
Changqing Li 4785cc2cd3 fuse3: support ptest
fuse3 test is designed to run under source dir, there are
many places like "progname = pjoin(basename, 'example', 'ioctl')"
in the testcases, which will try to find compiled program. As
our S != B, and the don't run test under source dir. Test will fail
with following errors:
No such file or directory: '/usr/lib64/fuse3/ptest/test/../example/printcap'

Fix by install needed programs for the test

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-12 01:24:27 -07:00
wangmy e5dbca1451 fuse3: upgrade 3.10.5 -> 3.11.0
Changelog:
=========
    Add support for flag FOPEN_NOFLUSH for avoiding flush on close.
    Fixed returning an error condition to ioctl(2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-09 08:59:46 -07:00
Khem Raj a32fc41775 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
zhengruoqin fa667d2009 fuse3: upgrade 3.10.4 -> 3.10.5
Various improvements to make unit tests more robust.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-08 21:29:52 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj 37afc556c2 fuse: Define closefrom if not available
Fixes build with glibc 2.34+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03 08:53:03 -07:00
zangrc 74a31b6125 fuse3: upgrade 3.10.3 -> 3.10.4
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18 08:42:25 -07:00
zangrc dff2f7f4e0 fuse3: upgrade 3.10.2 -> 3.10.3
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-15 20:01:48 -07:00
zangrc 8df1a9aa65 fuse3: upgrade 3.10.1 -> 3.10.2
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-21 23:44:22 -08:00
Mikko Rapeli 3bf13d697b fuse: set CVE_PRODUCT to "fuse_project:fuse"
Other products like "RedHat:fuse" introduce false CVE findings like:

https://nvd.nist.gov/vuln/detail/CVE-2018-10906
https://nvd.nist.gov/vuln/detail/CVE-2019-14860
https://nvd.nist.gov/vuln/detail/CVE-2020-25689

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-17 11:47:41 -08:00
zangrc 5fba32bddf fuse3: upgrade 3.10.0 -> 3.10.1
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-18 08:23:14 -08:00
Khem Raj ac2b49017d fuse3: Upgrade to 3.10.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-09 00:00:05 -08:00
Zang Ruochen e17cf136a5 fuse3: upgrade 3.9.2 -> 3.9.3
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-08 11:53:53 -07:00
Zang Ruochen c7beb2bb43 fuse3: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-06 07:28:04 -07:00
Pierre-Jean Texier b6979461fd fuse3: upgrade 3.9.1 -> 3.9.2
See changelog https://github.com/libfuse/libfuse/releases/tag/fuse-3.9.2

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-14 22:31:24 -07:00
Konrad Weihmann 0c0fb11a13 physfs: fix typo for HOMEPAGE
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-31 22:42:25 -07:00
Zang Ruochen 525f1c4ade fuse3: upgrade 3.9.0 -> 3.9.1
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-26 20:36:03 -07:00
Wang Mingyu a0ae09137d fuse3: upgrade 3.8.0 -> 3.9.0
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-18 15:47:20 -08:00
Zang Ruochen dcc3aa1d5e fuse3: upgrade 3.7.0 -> 3.8.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:15:17 -08:00
Zheng Ruoqin 1443826671 fuse3: upgrade 3.6.2 -> 3.7.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-26 02:41:33 -07:00
Robert Yang 69f234b65e fuse: Fix installed-vs-shipped for nativesdk
There are two problems:
* The /dev is installed to '${D}/dev', not '${D}${base_prefix}'
* The /etc is installed ${D}, but should be ${D}${sysconfdir}

It works for target is because target's base_prefix is NULL, but it isn't work
for native or nativesdk.

Fixed:
$ bitbake nativesdk-fuse
ERROR: nativesdk-fuse-2.9.9-r0 do_package: QA Issue: nativesdk-fuse: Files/directories were installed but not shipped in any package:
  /dev
  /etc
  /etc/init.d
  /etc/udev
  /etc/init.d/fuse
  /etc/udev/rules.d
  /etc/udev/rules.d/99-fuse.rules

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-25 09:48:19 -07:00
Stefan Agner b5767f5928 fuse3: add libfuse3 recipe
Add recipe for libfuse version 3 series. Follow the scheme other
distributions use and create a new recipe with 3 in its name.
To avoid conflict with the fuse (2) recipe this recipe does not
provide init scripts/configuration files which automatically load
the fuse kernel driver.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-10 18:35:34 -07:00
Yi Zhao d5880159ce fuse: upgrade 2.9.8 -> 2.9.9
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:46:50 -07:00
Andreas Müller 35e0ade330 physfs: Fix license checksum
Copyright year was changed

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-22 09:33:00 -07:00
Andreas Müller 74bab845c6 physfs: upgrade 3.0.1 -> 3.0.2
Announcement [1] says:

This is a collection of small fixes to 3.0.1. All 3.0 users should
definitely upgrade right away.

[1] https://icculus.org/pipermail/physfs/2019-March/001280.html

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-21 05:57:14 -07:00
Andreas Müller f75c5e0481 physfs: Fix multilib install
| ERROR: physfs-1_3.0.1-r0 do_package: QA Issue: physfs: Files/directories were installed but not shipped in any package:
|   /usr/lib/libphysfs.so
|   /usr/lib/libphysfs.so.1
|   /usr/lib/libphysfs.a
|   /usr/lib/libphysfs.so.3.0.1
|   /usr/lib/pkgconfig
|   /usr/lib/pkgconfig/physfs.pc
| Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-08 15:17:32 -08:00
Hongxu Jia ed779d3f1b fuse: split one dpg package only
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Yi Zhao c53786a254 fuse: upgrade 2.9.7 -> 2.9.8
Security fixes:

CVE-2018-10906
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10906

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Yi Zhao 54309afab1 fuse: add UPSTREAM_CHECK_URI
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-30 12:40:17 -07:00
Khem Raj a0d4053fc3 physfs: Update to 3.0.1
License-Update: copyright years updated along with a note removal about LZMA SDK and LGPL
see
https://hg.icculus.org/icculus/physfs/rev/5b31ba402270
https://hg.icculus.org/icculus/physfs/rev/8f14bdf15b2a

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:22:20 -07:00
Alex Stewart a246dd26a5 fuse: Correct runlevels and startup order
:**/fuse*.bb
* Assert INITSCRIPT_PARAMS to install the fuse initscript according to
  its LSB header instead of defaults. Script now starts only during
  runlevel 'S'.
* Also set priority to 03 such that fuse is loaded before udev. This
  enables systems which utilize udev to mount exfat and other
  fuse-provided filesystems as a part of the boot process.

Natinst-CAR-ID: 630632

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:33 +02:00
Ismo Puustinen d3dd8bc372 fuse: fix fetcher error.
The recent fuse recipe update broke fetching the sources when building
fuse-native (it tried to fetch non-existent package
fuse-native-2.9.7.tar.gz).

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-14 14:51:17 +02:00
Krisztian Litkey 5ab7b440bc fuse: let overriding base_sbindir have the proper effect.
Set MOUNT_FUSE_PATH explicitly to ${base_sbindir} before configure.
Making this explicit will let people override base_sbindir with the
desired effect (for instance when building a distro with merged /
and /usr).

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2017-06-14 14:51:15 +02:00
Kyle Russell 90a65b7d31 fuse: update 2.9.4 to 2.9.7
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-12 06:56:24 +02:00
mike.looijmans@topic.nl 0d0709cf06 fuse: Remove unneeded RDEPENDS on util-linux-mount
Fuse claimed to need util-linux-mount at runtime, which isn't true. This
drags util-linux-mount into any image that uses fuse.

Encountered no problems with busybox's mount command and fuse (and never
had). Fuse doesn't call the "mount" program anywhere, so the dependency
doesn't make sense anyway.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-04 12:39:51 +01:00
Patrick Ohly f732d17969 fuse: support native compilation
This is required for swtpm-native (from meta-security) and
simulating a virtual TPM in qemu. Right now, accessing
swtpm only works via CUSE and thus needs fuse.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:32 +01:00
Andreas Müller c3dad0ba49 Revert "physfs: move to sources found at github/supertux"
This reverts commit 3bbec2b792.

The commit was intended to make supertux in meta-games happy. Now I found out
that:

* other packets e.g meta-retro d1x-rebirth segfault with supertux version of physfs
* supertux can be configured to use it's own physfs as static library

To avoid package version counting backwards PE = 1 was added. The patch
required for supertux was already applied in meta-games.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-22 13:38:14 +01:00
Andreas Müller 3bbec2b792 physfs: move to sources found at github/supertux
* It seems that physfs is still maintained there and has the functionality
  required by latest supertux.
* License changed Copyright year causing checksum change.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-03 19:19:57 +02:00