Commit Graph

415 Commits

Author SHA1 Message Date
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

  https://github.com/tuxera/ntfs-3g/commit/75dcdc2cf37478fad6c0e3427403d198b554951d

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] https://github.com/containers/composefs/commit/f5fed9ff093ac57967a4c5253bae3ae294dd8cd9

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
Khem Raj a8310f7f31 layer.conf: Prepare for release, drop nanbield LAYERSERIES
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-17 13:10:12 -07:00
Martin Jansa e49860ee21 unionfs-fuse, dropwatch, postgresql, yasm, multipath-tools, python3-pybind11: add missing Upstream-Status
* add Pending to .patch files where it was accidentally droped
  with upgrades or modifications in:

  f88e5b146e postgresql: upgrade 15.5 -> 16.2
  c904e169db multipath-tools: upgrade 0.9.3 -> 0.9.8
  105be9b3d9 unionfs-fuse: upgrade 2.2 --> 3.4

  or new patches where the author didn't notice/care:

  2a7f74cdb0 dropwatch: Use header files from sysroot instead of build host
  f5cc9f272a yasm: improve reproducibility
  39028d0d9d python3-pybind11: Restore strip prevention patch

  authors of these added to CC, please be more careful with removing
  or not adding these or enable patch-status in ERROR_QA for your
  builds, see:
  https://lists.openembedded.org/g/openembedded-core/topic/104922136#197113

* added with:
  for p in `/OE/layers/openembedded-core/scripts/contrib/patchreview.py -v . | grep Missing.Upstream-Status.tag | sed 's/.*(//g;s/)$//g'`; do grep -q ^Upstream-Status: $p || sed -i "s/^---$/\nUpstream-Status: Pending\n---/g" $p;         grep -q ^Upstream-Status: $p || sed -i "1iUpstream-Status: Pending\n" $p;     done

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-17 13:10:09 -07:00
Khem Raj 8186418f5b layer.conf: Update for the scarthgap release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-16 10:29:31 -07:00
Robert Yang 7f50e80c19 xfsprogs: 6.5.0 -> 6.6.0
Rebased 0005-Replace-off64_t-stat64-with-off_t-stat.patch for 6.6.0.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:30 -08:00
Robert Yang 1bafebf636 yaffs2-utils: Upgrade to 20221209
* The 20221209 is the commit date of SRCREV since this recipe has no version.
* Add 0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch to fix
  build error:
  yaffs_guts.h:501:9: error: unknown type name 'YTIME_T'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:30 -08:00
Khem Raj 92b6825a87 e2tools: Delete unneeded files from ptest package
These files are useless for ptests, moreover they cause build QA errors
like
package e2tools-ptest contains reference to TMPDIR
QA Issue: /usr/lib/e2tools/ptest/git/.git/hooks/update.sample contained in package e2tools-ptest requires /usr/bin/sh, but no providers found in RDEPENDS:e2tools-ptest? [file-rdeps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-04 17:10:50 -08: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