Commit Graph

422 Commits

Author SHA1 Message Date
Nguyen Dat Tho
39dfe8a24b
f2fs-tools: Fix build with gcc-15
Backport patch to fix error: https://errors.yoctoproject.org/Errors/Details/850170/

Signed-off-by: Nguyen Dat Tho <tho3.nguyen@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-04 19:18:48 -07:00
Nguyen Dat Tho
eaf94b092d
udevil: Fix build with gcc-15
Fix error related to "error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]".
Details in https://errors.yoctoproject.org/Errors/Details/850171/

Signed-off-by: Nguyen Dat Tho <tho3.nguyen@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-04 19:18:46 -07:00
Martin Jansa
31519530f3
gpiod-sysfs-proxy, smbnetfs, zfs: add whitespace around assignments
With:
https://lists.openembedded.org/g/bitbake-devel/message/17508
there are WARNINGs like:

WARNING: meta-oe/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb: meta-oe/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb:9 has a lack of whitespace around the assignment: 'HOMEPAGE ="http://sourceforge.net/projects/smbnetfs"'
WARNING: meta-oe/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb: meta-oe/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb:5 has a lack of whitespace around the assignment: 'HOMEPAGE ="https://github.com/openzfs/zfs"'
WARNING: meta-oe/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy_0.1.2.bb: meta-oe/meta-filesystems/dynamic-layers/meta-python/recipes-support/gpiod-sysfs-proxy/gpiod-sysfs-proxy_0.1.2.bb:27 has a lack of whitespace around the assignment: 'export MOUNTPOINT="${@bb.utils.contains('PACKAGECONFIG', 'sys-class-mount', '/sys/class/gpio', '/run/gpio', d)}"'

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-02 09:49:30 -07:00
Nguyen Dat Tho
54c5800031
libburn: Fix build with gcc-15
Backport patch to fix the following error:
../libburn-1.5.6/test/poll.c: In function 'main':
../libburn-1.5.6/test/poll.c:67:27: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
   67 |         newact.sa_handler = catch_int;
      |                           ^
../libburn-1.5.6/test/poll.c:17:13: note: 'catch_int' declared here
   17 | static void catch_int ()
      |             ^~~~~~~~~
In file included from ../libburn-1.5.6/test/poll.c:9:
/home/worker/nano-ai/build-nano-ai/BUILD/work/qcs8550_aihub-webos-linux/libburn/1.5.6/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
make: *** [Makefile:1024: test/poll-poll.o] Error 1

Signed-off-by: Nguyen Dat Tho <tho3.nguyen@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 14:42:08 -07:00
Khem Raj
f4a96810ba
Drop styhead from LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-31 07:41:47 -07:00
Yi Zhao
8a29c46188
recipes: drop ld-is-gold support
The gold linker support has been dropped in oe-core[1]. Remove related
special cases and patches in recipes.

[1] https://git.openembedded.org/openembedded-core/commit/?id=a4addb9ab63011e7c604fc5daff95559e7d214e7

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-23 17:36:08 -08:00
Alex Kiernan
54030f5611
gpiod-sysfs-proxy: Fix deprecation warning
Replace `\/` sequences to fix:

  gpiod-sysfs-proxy_0.1.2.bb: Var <MOUNTPOINT>:1: DeprecationWarning: invalid escape sequence \/

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-16 08:10:20 -08:00
Richard Purdie
bd6a1bb278
recipes: Fix variable assignment whitespace
Recipes are much more readable with whitespace around the assignment operators.
Fix various assignments in meta-openembedded recipes to show this is definitely
the preferred formatting.

This fixes recipes with larger numbers of issues but there are just under 100
other references left to fix.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:03 -08:00
Gyorgy Sarvari
86980f2df2
fatresize: set correct LICENSE
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-31 10:34:02 -08:00
Yi Zhao
e2140c416c
zfs: enable packageconfig pam for pam distro feature
Enable pam packageconfig if pam is in DISTRO_FEATURES. Also set pam
module path to ${base_libdir}/security as this is the default path in
libpam.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-06 07:22:29 -08:00
Bartosz Golaszewski
0c59f9fc36
gpiod-sysfs-proxy: update v0.1.1 -> v0.1.2
Small bugfix release addressing some corner-cases spotted in testing.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-19 09:41:28 -08:00
Bartosz Golaszewski
ae88d2ff59
gpiod-sysfs-proxy: new recipe
Many users are reluctant to use libgpiod instead of the deprecated
/sys/class/gpio interface. The gpiod-sysfs-proxy project aims at making
the transition easier by implementing a compatibility layer in
user-space using FUSE and python3-gpiod. This way we can eat the cookie
by disabling the sysfs ABI and have the users have it too by sticking to
their existing scripts.

The project itself is a very simple setuptools-based python package but
the recipe is quite complex due to comprehensive distro integration.

By default we use /run/gpio as mountpoint. For full backward
compatibility with the kernel interface, the user must explicitly add
the 'sys-class-mount' switch to PACKAGECONFIG. We do this because,
depending on whether CONFIG_GPIO_SYSFS Kconfig option is enabled,
/sys/class/gpio will either be non-empty or not exist at all. In the
latter case, we need to somehow create the /sys/class/gpio and, since
user-space is not allowed to mkdir() inside sysfs, we use overlayfs for
that. As this is rather non-standard, we want the user to be aware of
this.

We support both systemd and sys V init managers.

We also provide a ptest package which uses an external
gpio-sysfs-compat-tests script.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-10 13:43:54 -08:00
Bartosz Golaszewski
f3d301643e
xfstests: add missing run-time dependencies
The test program passes command-line arguments to hostname, grep and
mount that are not present in busybox' variants, so we need to pull in
the real things. The recipe also misses mkfs and findmnt programs so add
those to RDEPENDS as well.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-06 20:55:56 -08:00
Wang Mingyu
3d1ce4208d
exfatprogs: upgrade 1.2.5 -> 1.2.6
CHANGES :
 * exfatprogs: replace obsolete autoconf and libtool
   macros.
 * mkfs.exfat: prefer the physical block size over
   the logical block size for the exFAT sector size.
 * mkfs.exfat: add notes about the format of the volume
   GUID to the man page.
 * mkfs.exfat: fix an incorrect calculation of the number
   of used clusters.

BUG FIXES :
 * exfatlabel: fix an user input error when setting
   a volume serial or label.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-03 09:44:32 -08:00
Khem Raj
f1e8d8a510
meta: Add SECURITY.md file to all layers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-23 09:00:14 -08:00
Hongxu Jia
c452799c4d
ntfs-3g-ntfsprogs: fix CVE-2023-52890
Backport fix from upstream

  75dcdc2cf3

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-21 21:42:38 -08:00
Bartosz Golaszewski
732acb61a1
python3-fuse: new recipe
Add a recipe for fuse-python - the official python3 bindings for
libfuse2.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-20 09:32:08 -08:00
Yoann Congal
4990a36eb4
zfs: fix host-related reproducibility
The zfs package content varies depending the host distro.
To fix this, force target distribution ("vendor") to Debian to match
default values for things like: NFS server service name, bash completion
path, configuration files, ...
The Debian values do match the OpenEmbedded ones.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-31 12:04:02 -07:00
Khem Raj
e6b228a6b2
sshfs-fuse: Do not prompt for known_hosts during ptests
ptest runs are non-interactive, therefore ignore
adding to known_hosts on localhost

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-05 09:37:23 -07:00
Khem Raj
44fb41b449
sshfs-fuse: Add rdep on python3-compile for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-05 08:57:07 -07:00
Khem Raj
d3e8d7804a
ptest-packagelists-meta-filesystems: Move fuse3 to meta-oe ptests
Move sshfs-fuse out of problematic ptests into slow ones

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-04 14:46:02 -07:00
Khem Raj
8cda256948
sshfs-fuse: Fix ptests
Symlink to sshfs parallel to test dir is needed
during test runs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-04 00:49:23 -07:00
Khem Raj
d909e0d1e3
layer.conf: Update to walnascar (5.2) layer/release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-01 09:23:12 -07:00
Yi Zhao
0a2b230d5c
e2tools: upgrade 0.1.0 -> 0.1.2
ChangeLog:
https://github.com/e2tools/e2tools/releases/tag/v0.1.2

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-29 10:01:08 -07:00
s-tokumoto
a223dd3557 fuse: Add "fuse:fuse" to CVE_PRODUCT
Since there are vulnerabilities that cannot be detected by the existing
CVE_PRODUCT, add "fuse:fuse" to CVE_PRODUCT.

https://nvd.nist.gov/vuln/detail/CVE-2010-0789
https://nvd.nist.gov/vuln/detail/CVE-2005-1858

Signed-off-by: Shunsuke Tokumoto <s-tokumoto@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-26 06:58:28 -07:00
Yoann Congal
822fb79579
non-repro-meta-filesystems: update known reproducible packages
Re-include packages that are seen reproducible in the last 3 AB runs:
https://autobuilder.yoctoproject.org/typhoon/#/builders/155/builds/41/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/155/builds/42/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/155/builds/43/steps/12/logs/stdio

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-15 17:54:16 -07:00
Wang Mingyu
2b071a777b
xfsdump: upgrade 3.1.12 -> 3.2.0
Changelog:
===========
- don't use O_DIRECT on the RT device
- Fix memory leak
- suggest -x rather than assert for false roots in restore
- fix rootdir due to xfsdump bulkstat misuse

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:42 -07:00
Khem Raj
80f5d0bb80
e2tools: Fix build with automake 1.17
Replace the do_configure hack with aid to configure
detection logic via commandline

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 20:59:15 -07:00
Christophe Vu-Brugier
a9cb23d941
exfatprogs: upgrade 1.2.4 -> 1.2.5
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-19 16:02:49 -07:00
Khem Raj
3e0ed75622
e2tools: Fix buildpaths QA warning in config.status in ptest
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-14 08:15:16 -07:00
Khem Raj
ff9ea69ab6
zfs: Upgrade to 2.2.5 release
Enable linux builtins to fix zfs build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-08-11 10:14:00 -07:00
Martin Jansa
772e3c8746
recipes: ignore various issues fatal with gcc-14 (for 32bit MACHINEs)
Recipes included here are
openldap microsoft-gsl scsirastools pam-ssh-agent-auth sblim-sfcb ckermit nvme-cli xfstests

* these are reproducible only with 32bit MACHINEs and probably related
  to time64.inc
  http://errors.yoctoproject.org/Errors/Build/183154/

* and microsoft-gsl only with 32bit arm MACHINEs:
  http://errors.yoctoproject.org/Errors/Build/183157/

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-08 08:40:43 -07:00
Khem Raj
6f3784d1b7
overlayfs-tools: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-05 23:26:51 -07:00
Vyacheslav Yurkov
c77be7b06e
overlayfs: Use explicit version
The upstream project now has a version scheme and migrated to meson.
A weak dependency on musl has been upstreamed too.
Adjust the recipe accordingly.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-01 23:32:38 -07:00
Christophe Vu-Brugier
487a2d5695
exfatprogs: upgrade 1.2.3 -> 1.2.4
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-17 14:25:27 -07:00
Christophe Vu-Brugier
5b497bb839
exfatprogs: upgrade 1.2.2 -> 1.2.3
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-31 08:07:41 -07:00
Dmitry Baryshkov
07772ae470
layers: stop declaring compatibility with scarthgap
With the UNPACKDIR changes in place the layers are no longer compatible
with the scarthgap release. Drop it from LAYERSERIES_COMPAT and limit
compatibility to styhead only.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-28 09:34:02 -07:00
Khem Raj
ffc64e9c6f
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Markus Volk
7cceba0e2c
fuse3: move from meta-filesystems to meta-oe
Technically flatpak and xdg-desktop-portal have a runtime dependency on
fuse3-utils. I was worried that adding it might cause problems with CI since fuse3
is not included in meta-oe.

Given that both packages also require fuse3 at buildtime it could be a good
idea to move fuse3 to avoid a meta-filesystems dependency for meta-oe

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-19 08:27:51 -07:00
Khem Raj
c16704f6a3
python3-looseversion: Move to meta-oe
its needed by fuse3 and right now its only needed by fuse3
in meta-openembedded layers, move it to meta-oe along with
fuse3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Markus Volk <f_l_k@t-online.de>
2024-05-19 08:27:51 -07:00
Jose Quaresma
dfae2972b4
composefs: move from meta-filesystems to meta-oe layer
We can make this more widely available as we don't
depend anymore on fuse3.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-12 08:43:18 -07:00
Jose Quaresma
8b54f1b64d
composefs: remove fuse3 dependencie
The fuse3 is only used for development purposes and the composefs uses
the kernel overlayfs and erofs on the target.

The composefs-fuse [1] tool is not even installed by default
So  all the files installed on the target are the same
with and without the fuse, this can be checked with buildhistory.

[1] f5fed9ff09

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-12 08:43:17 -07:00
Yoann Congal
d3751ce994
reproducibility: move repro excludes from AB config.json to meta-oe
For now, the known non-reproducible packages list is stored inside the
autobuilder config.json file. This is not ideal. Let's move this list
into each layers of meta-openembedded.

These lists can be used with, in local.conf:
  include conf/include/non-repro-meta-oe.inc
  OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES = "${KNOWN_NON_REPRO_META_OE}"

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-29 11:11:51 -07:00
Khem Raj
1e5ae73fd3
layers: Add styhead to compatible release series
styhead is codename for upcoming 5.1 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-28 08:55:01 -07:00
Wang Mingyu
2f4f2cfef1
bindfs: upgrade 1.17.6 -> 1.17.7
Changelog:
============
* Enabled -Wextra and fixed many compiler warnings
-(MacOS) Added './configure' option '--disable-macos-fs-link'

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-17 23:47:23 -07:00
Fathi Boudra
64082c18e5
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-09 07:31:02 -07:00
Yongchang Qiao
f6d6122ba7
packagegroup-meta-filesystems: Fix utils typo
This typo would cause all utils tools to be missing in the image when only installing packagegroup-meta-filesystems

Signed-off-by: Yongchang Qiao <qiaoyongchang@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-08 23:06:55 -07:00
Khem Raj
fbbe7cefdd
xfstests: Fix build with musl >= 1.2.5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-25 12:50:33 -07:00
Khem Raj
025e589575
xfsdump: Fix build with musl >= 1.2.5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-25 10:58:12 -07:00
Martin Jansa
c8c035e99b
xfstests: upgrade to v2024.03.03
* drop 0003-tests-Makefile-make-sure-group.list-DIRT-exists-befo.patch which
  was merged upstream

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-22 09:05:48 -07:00