250 Commits
Author SHA1 Message Date
Ross Burton 0a583b3502 recipes: update for PYPI_PACKAGE change
The pypi class has slightly changed the semantics of the PYPI_PACKAGE
variable[1], now PYPI_PACKAGE is the normalised package name and the new
variable PYPI_PACKAGE_SDIST is used when the source tarball doesn't match.

Update recipes as appropriate: this is mostly deleting now-redundant
assignments but some assignments are still needed where packages are not
uploaded using the modern standards.

[1] oe-core 98049bf86b6 ("classes/pypi: change PYPI_PACKAGE to be normalised")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-08 22:27:01 -07:00
Ankur Tyagi d50511530a xfsprogs: upgrade 7.1.1 -> 7.2.0
Changelog:
https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/tree/doc/CHANGES?id=84c54d6c0c3b65a3d1f10c4d3ac926bf9ef49b0b

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-30 19:09:37 -07:00
Ankur Tyagi 3c05b3778f ufs-utils: upgrade 7.14.12 -> 8.14.12
Also dropped UPSTREAM_CHECK_COMMITS as upstream uses release tags.

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-30 19:09:37 -07:00
Ankur Tyagi 8d1af555e3 udevil: add UPSTREAM_CHECK variables
Fixes:
$ devtool latest-version udevil
...
INFO: Current version: 0.4.4
INFO: Latest version:

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-30 19:09:36 -07:00
Ankur Tyagi ede029088f overlayfs-tools: rename PV v2025.01 -> 2025.01
Also update tag and add UPSTREAM_CHECK_GITTAGREGEX, SRCREV is unchanged.

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-30 19:09:36 -07:00
Ankur Tyagi 3d0d87d225 nilfs-utils: rename PV v2.3.1 -> 2.3.1
Also update tag and add UPSTREAM_CHECK_GITTAGREGEX, SRCREV is unchanged.

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-30 19:09:36 -07:00
Ankur Tyagi 9a88ddfcd3 fatresize: add UPSTREAM_CHECK_GITTAGREGEX variable
Fixes:
$ devtool latest-version fatresize
...
INFO: Current version: 1.1.0-3
INFO: Latest version:

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-30 19:09:36 -07:00
Ankur Tyagi b2f8869605 exfatprogs: upgrade 1.4.2 -> 1.4.3
Changelog:
https://github.com/exfatprogs/exfatprogs/releases/tag/1.4.3

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-30 19:09:36 -07:00
Ankur Tyagi 66f1145b72 exfatprogs: update UPSTREAM_CHECK_REGEX variable
Fixes:
$ devtool latest-version exfatprogs
...
INFO: Current version: 1.4.2
INFO: Latest version:

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-30 19:09:36 -07:00
Khem Raj 756cde9a4d xfstests: fix musl build (linux/types.h, RWH_WRITE_LIFE_NOT_SET)
fs-monitor.c uses __s32/__u32 without <linux/types.h>, and rw_hint.c
uses RWH_WRITE_LIFE_NOT_SET which musl's headers don't define. Add the
missing include and a guarded fallback define.

AI-Generated: Uses Claude Code

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-29 09:57:22 -07:00
Alistair Francis c8b866c9c0 tcmu-runner: Initial commit
Initial support for verion 1.6.2 of tcmu-runner.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-24 21:56:17 -07:00
Alistair Francis 568103a64f python3-targetcli-fb: Initial commit
Initial support for verion 3.0.2 of python3-targetcli-fb.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-11 07:08:00 -07:00
Alistair Francis 7315e7106f python3-rtslib-fb: Initial commit
Initial support for verion 2.2.4 of python3-rtslib-fb.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-02 11:48:55 -07:00
Khem Raj aecd8432d0 exfatprogs: upgrade 1.4.1 -> 1.4.2
Upstream changes (NEWS):
 * dump.exfat: prevent a heap buffer overflow in name parsing.
 * Install lsdosattr and chdosattr in /bin instead of /sbin (covered by
   the default FILES:${PN}, so packaging is unaffected).
 * libexfat: use __builtin_popcountl() throughout and add an internal
   exfat_count_used_clusters() helper (static lib, no ABI impact).

No dependency or build-system changes; configure.ac is unchanged, so
DEPENDS and the ptest install steps stay as-is.

While enabling the ptest image (meta-filesystems-image-ptest-exfatprogs)
on qemux86-64, the upcase_table test cases (present since 1.4.0, so this
is a pre-existing failure now exercised) failed because they used
`truncate` and `xxd -r - <file>`, which are unavailable in a BusyBox
core-image-minimal rootfs:

  truncate: command not found
  FAIL: to create corrupted image

Add 0001-tests-upcase_table-use-dd-printf-instead-of-truncate.patch,
which rewrites those scripts to size the image with dd and poke the
corrupted bytes with printf|dd (tools already present in the base
image). ptest result on qemux86-64 is now 23 of 23 passing.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-29 22:09:59 -07:00
Khem Raj 094e0b9fe9 xfstests: upgrade 2025.04.27 -> 2026.06.21
387 commits across 21 fortnightly releases (739 files changed,
+16397/-2042). 114 new tests added (xfs x44, generic x32, btrfs x16,
f2fs x14, ext4 x3, overlay x2, selftest x2, ceph x1) and one removed
(xfs/539).

Major themes:
 * Multi-block atomic writes: new common/atomicwrites, fio atomic-write
   helpers, fsx atomic-write support, and O_[D]SYNC / sudden-shutdown /
   bigalloc / hardware-AWU atomic tests.
 * XFS zoned / RT-device work: common/zoned with zloop helpers, zoned
   growfs, zone-alignment mkfs checks, zone GC low-space, external and
   internal realtime device support.
 * New xfs_healer test family (background repair service).
 * file_getattr(2)/file_setattr(2) support (new src/file_attr.c,
   AC_HAVE_FILE_GETATTR probe), VFS delegation tests, and a new
   fsnotify/fanotify error-reporting helper (src/fs-monitor.c).
 * Infrastructure: treewide $MOUNT_PROG -> _mount conversion, temp
   files moved to $TMPDIR, systemd-coredump collection in check.

Build-system: configure.ac gains AC_HAVE_FILE_GETATTR and a
btrfs_ioctl_received_subvol_args type check; src/Makefile adds
unlink-fsync, truncate, rw_hint, fs-monitor, btrfs_ioctl and a
conditional file_attr target. No new link libraries, so no DEPENDS
change is needed. LICENSE checksum unchanged.

Recipe patch changes:
 * Drop 0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch:
   its rationale (glibc sys/mount.h vs linux/mount.h clash reached via
   src/vfs/utils.c) no longer applies because utils.c no longer includes
   sys/mount.h, and the src/Makefile hunk no longer applied anyway.
 * Add 0001-locktest-do-not-tie-struct-delegation-to-the-F_GETDE.patch:
   glibc 2.43 defines F_GETDELEG/F_SETDELEG but neither glibc nor the
   kernel UAPI declares struct delegation, so tying the struct to the
   "#ifndef F_GETDELEG" guard leaves it undefined and locktest fails to
   build with "variable has incomplete type 'struct delegation'".

Also bump the bundled unionmount-testsuite by one commit
(dir-weird-open-dir.py adjusted to the upstream kernel).

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-29 22:09:39 -07:00
Khem Raj 117bd160bf nilfs-utils: upgrade v2.2.11 -> v2.3.1
Move from the v2.2.y stable branch to the v2.3.y line (tag v2.3.1,
2026-06-19). v2.3.x carries all v2.2.6..v2.2.16 backports plus the
2.3.0 rework.

Security:
 * CVE-2026-55392: validate s_log_block_size in nilfs_sb_is_valid().
   A crafted NILFS2 image with s_log_block_size > 6 caused oversized
   shifts / huge allocations in nilfs-tune, dumpseg and any tool
   reading a device.

2.3.0 highlights:
 * Utilities (lscp, lssu, nilfs-clean, ...) accept file/directory
   arguments and auto-resolve the backing device.
 * cleanerd: cap segments per cleaning step by free segments (avoids
   stalling near ENOSPC) and against 32-bit size_t overflow; clean
   SIGINT exit, SIGUSR1 state dump.
 * Library refactor with an API/ABI break: obsolete APIs and internal
   structs removed from public headers, new segment I/O / resize /
   freeze-thaw APIs, types unified to uint32_t/uint64_t/bool.
 * mkfs.nilfs2 sets the block-count read-only-compat flag by default.

Packaging-relevant build-system changes:
 * Soname bump libnilfs/libnilfsgc 2 -> 3; libnilfscleaner is no longer
   a shared library (now an internal convenience lib), so
   libnilfscleaner.so.* correctly disappears from the runtime package.
 * New pkg-config producer files (nilfs.pc, nilfsgc.pc) land in
   ${libdir}/pkgconfig -> require inherit pkgconfig.
 * LT_INIT([disable-static]) means static libs are no longer installed.
 * The old --with-base-sbindir knob was replaced upstream by an
   --enable-usrmerge=(no|sbin|bin|auto) mechanism. Drop the local
   0001-configure.ac-Add-knob-to-define-base-sbindir.patch and select
   the hierarchy explicitly from DISTRO_FEATURES, because the "auto"
   default probes the build host and is wrong when cross compiling.
   LDCONFIG=true is still required.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-29 22:04:29 -07:00
Wang Mingyu cc23e1b259 xfsprogs: upgrade 7.0.1 -> 7.1.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-22 11:52:20 -07:00
Khem Raj 8f3df8b447 recipes: Convert licenses to SPDX expressions
- Automatically convert all licenses to valid SPDX license expressions
  using convert-spdx-licenses.py

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-20 22:35:47 -07:00
Markus Volk 6786892d37 exfatprogs: fix build after update
After current update I see:
| configure.ac:51: error: undefined or overquoted macro: AC_DEFINE
|       If this token and others are legitimate, please use m4_pattern_allow.
|       See the Autoconf documentation.

inherit pkgconfig to resolve dependency issues leading to this

This uncovered a missing dependency on blkid:

| checking pkg-config is at least version 0.9.0... yes
| checking for blkid >= 2.20... no
| checking for blkid... no
| configure: error: Package requirements (blkid) were not met:
|
| Package 'blkid' not found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables EXT2_BLKID_CFLAGS
| and EXT2_BLKID_LIBS to avoid the need to call pkg-config.

Add util-linux dependency

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-12 07:29:03 -07:00
Khem Raj 34a9fb4e4c exfatprogs: upgrade 1.2.6 -> 1.4.1
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-12 07:29:03 -07:00
Wang Mingyu ce1f87f667 xfsprogs: upgrade 7.0.0 -> 7.0.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-31 03:08:55 -07:00
Wang Mingyu f2973002c9 xfsdump: upgrade 3.2.0 -> 3.3.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-21 07:31:00 -07:00
Wang Mingyu 8c4ff33080 xfsprogs: upgrade 6.18.0 -> 7.0.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-13 20:46:49 -07:00
Michal Sieron c777ee6ce7 aufs-util: Convert confusing append to override syntax
While in this case `RRECOMMENDS:class-target +=` wouldn't result in any
unwanted override, there is no guarantee there won't be a change, which
would be hidden by this override. To avoid any surprises in the future
let's use `:append:class-target =` syntax here.

Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-01 13:16:37 -07:00
Ankur Tyagi 27d837e716 ufs-utils: bump SRCREV and include tag in SRC_URI
Drop patch which is now merged upstream

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-26 07:43:35 -07:00
Ankur Tyagi 4d6e99582d fatcat: include tag in SRC_URI
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-26 07:43:35 -07:00
Ankur Tyagi 4218eaf6f1 f2fs-tools: include tag in SRC_URI
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-26 07:43:35 -07:00
Ankur Tyagi bff4185f62 e2tools: include tag in SRC_URI
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-26 07:43:35 -07:00
Yi Zhao 27282053cd xfsprogs: upgrade 6.6.0 -> 6.18.0
ChangeLog:
https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/tree/doc/CHANGES?h=v6.18.0

* Drop PACKAGECONFIG[blkid] as libblkid is now a hard requirement.
* Refresh local patches.
* Remove usrmerge workaround.
* Remove the following patches as the issues have been fixed upstream:
  0001-support-usrmerge.patch
  0005-Replace-off64_t-stat64-with-off_t-stat.patch

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-03-22 08:57:21 -07:00
Liu Yiding 7adb1a61d2 btrfsmaintenance: upgrade 0.5 -> 0.5.2
1.Changelog:
  fix syntax error in run_task, preventing jobs to start
  start scrub jobs sequentially if RAID5 or RAID6 data profile is found
  fix btrfsmaintenance-refresh.service description

2.Update 0001-change-sysconfig-path-to-etc-default.patch for 0.5.2

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-02 19:25:59 -08:00
Wang Mingyu 3223f320ce bindfs: upgrade 1.18.3 -> 1.18.4
Changelog:
==========
- Merged build fix for MacFUSE
- Populate user and group cache eagerly on startup, if the cache is needed

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-01-30 23:59:05 -08:00
Gyorgy Sarvari a429fcdc13 overlayfs-tools: upgrade 2024.07 -> 2025.01
Drop the patches that were merged in this release.

Shortlog:
show why files can't be open using errno
Fix memory free
Allow force to execute script, and keep upper dir while merge
Fix broken long option for ignore
Change program_name to have const attribute
always use glibc basename()

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-28 08:14:38 -08:00
Gyorgy Sarvari db15c84a06 exfatprogs: add ptest support
It takes about a second to execute the suite.

Sample output (the "ERRORs" are coming from negative tests):

root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-26T20:19
BEGIN: /usr/lib/exfatprogs/ptest
Running ./bad_file_size
-----------------------------------
exfatprogs version : 1.2.6
ERROR: /dir_01/bad_child_01: less clusters are allocated. truncates to 8192 bytes at 0x206060. Truncate (y/N)? y
ERROR: /dir_02/bad_child_02: more clusters are allocated. truncate to 8192 bytes at 0x209060. Truncate (y/N)? y
exfat.img: clean. directories 3, files 9
exfat.img: files corrupted 0, files fixed 1

exfatprogs version : 1.2.6
exfat.img: clean. directories 4, files 10

PASS: ./bad_file_size
[...many lines...]
PASS: ./bad_num_chain
Running ./loop_chain
-----------------------------------
exfatprogs version : 1.2.6
ERROR: /dir_01/bad_child_01: more clusters are allocated. truncate to 16384 bytes at 0x206060. Truncate (y/N)? y
ERROR: /dir_02/bad_child_02: cluster is already allocated for the other file. truncated to 8192 bytes at 0x209060. Truncate (y/N)? y
exfat.img: clean. directories 3, files 9
exfat.img: files corrupted 0, files fixed 1

exfatprogs version : 1.2.6
exfat.img: clean. directories 4, files 10

PASS: ./loop_chain

PASS: 17 of 17
DURATION: 1
END: /usr/lib/exfatprogs/ptest
2025-12-26T20:21
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-28 08:14:38 -08:00
Yi Zhao b868008c75 e2tools: fix buildpath in ptest
Remove ${RECIPE_SYSROOT_NATIVE} from config.status to fix QA warning:

ERROR: lib32-e2tools-0.1.2-r0 do_package_qa: QA Issue: File
/usr/lib/e2tools/ptest/build/config.status in package
lib32-e2tools-ptest contains reference to TMPDIR [buildpaths]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-25 00:13:52 -08:00
Yoann Congal 9b995cb29a e2tools: join lines in generated file to fix buildpaths errors
The generated file "config.status" contains WORKDIR paths in strings
literal split across multiple lines, like:
  S["foo"]="/path/to/work"\
  "dir/"
These line splits prevent the usual sed from working properly.
Make a first pass on the file to undo any line split.

Fixes this error (that may happen depending on TOPDIR path length):
  ERROR: e2tools-0.1.2-r0 do_package_qa: QA Issue: File /usr/lib/e2tools/ptest/build/config.status in package e2tools-ptest contains reference to TMPDIR [buildpaths]
Seen on AB: https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/79/steps/13/logs/stdio

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-22 06:58:46 -08:00
Khem Raj 0856c56132 e2tools: Fix buildpaths in ptests
Currently the path checks are escaping QA check for buildpath detection but config.status
still has paths which show up in reproduciblity failures, comparing build in path A and
build in path B, content of config.status don't end up same.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-25 14:59:17 -08:00
Hongxu Jia 0609698907 xfsprogs: support reproducible builds
When compressing docs, do not save the original file name and
timestamp by default (gzip -n). Make archives be reproducible
at each build

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-18 08:23:47 -08:00
Khem Raj 554451c5a1 xfsdump: Make build reproducible
install step is not consistent especially when usrmerge is not
enabled ( which is default ), based upon what it finds on build host
it decides to install the xfsdump and xfsrestore locations to be either
/sbin or /usr/sbin, therefore it should be made consistent

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-28 23:31:28 -07:00
Wang Mingyu 301650531a bindfs: upgrade 1.18.2 -> 1.18.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-14 09:00:19 -07:00
Gyorgy Sarvari 2dc8b3d0f2 fatresize: upgrade 1.1.0 -> 1.1.0-3
Drop a patch that has been incorporated in this release.

Shortlog:
d/control: Update maintainer email
Add changelog entry for previous commit
Apply wrap-and-sort -at
configure: Do not add -D_FILE_OFFSET_BITS to CFLAGS
Clarify changelog entry
releasing package fatresize version 1.1.0-2
Ignore debian/files
Bump debhelper from old 12 to 13.
Build-depend on pkgconf rather than pkg-config
releasing package fatresize version 1.1.0-3

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-23 07:38:38 -07:00
Wang Mingyu b45e429b58 bindfs: upgrade 1.18.1 -> 1.18.2
Changelog:
 * Added '-osubtype=argv[0]' to prevent some systems from auto-unmounting bindfs when the network goes down

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-08-20 07:35:07 -07:00
Dario Binacchi 54ab96e225 ufs-utils: update SRC_URI
The ufs-utils repository has changed ownership on GitHub and is now
maintained under the "SanDisk-Open-Source" organization. Although the
old URL is still redirected, let's point to the new upstream address to
reflect the current ownership and avoid relying on redirects.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-25 06:36:29 -07:00
Khem Raj 714b3adc3a e2tools: Fix ptest runs after S moved into UNPACKDIR
Adjust for new paths

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-23 08:46:33 -07:00
Khem Raj 40ff27f5b3 aufs-util: Always use libgcc as compiler runtime with clang on x86
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-20 21:21:32 -07:00
Yi Zhao f4bd933b30 ufs-utils: fix crash for ufs-utils list_bsg
The full_path buffer in find_bsg_device function consists of:
path + '/' + files->d_name + '\0'

So the buffer size should be: strlen(path) + strlen(files->d_name) + 2,
not: strlen(path) + strlen(files->d_name) + 1.

Backport a patch to fix crash when running 32-bit binary on 64-bit
system:
$ ufs-utils list_bsg
malloc(): invalid next size (unsorted)
Aborted (core dumped)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-20 13:09:40 -07:00
Dario Binacchi f7bc16fc1e ufs-utils: upgrade 7.14.11 -> 7.14.12
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-17 09:24:54 -07:00
Khem Raj d8259c30aa e2tools: Do not hardcode 'git' as part of path in ptests
Before S was not inside UNPACKDIR and default path for recipes
using git fetcher would be in WORKDIR/git but it has changed
now recently after S moved inside UNPACKDIR the name of source folder
is no more 'git', use wildcard to find the files to delete

Fixes
ERROR: e2tools-0.1.2-r0 do_package_qa: QA Issue: /usr/lib/e2tools/ptest/e2tools-0.1.2/.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>
2025-07-14 00:00:35 -07:00
Dario Binacchi 0ae2109bce ufs-utils: upgrade 6.14.11 -> 7.14.11
Extending _GNU_SOURCE to the CFGLAS of all platforms, not just
mipsarchn64, was necessary to fix the following error raised during the
compilation of the new version:

ufs_emon.c: In function ‘do_emon’:
ufs_emon.c:455:51: error: ‘O_DIRECT’ undeclared (first use in this function); did you mean ‘O_DIRECTORY’?
  455 |         fill_data_fd = open("fill_file", O_RDWR | O_DIRECT | O_CREAT,
      |                                                   ^~~~~~~~
      |                                                   O_DIRECTORY
ufs_emon.c:455:51: note: each undeclared identifier is reported only once for each function it appears in

This _GNU_SOURCE define was added upstream in commit [1] in the Makefile
default CFLAGS, but since Yocto redefines those it needs to be added
back.

Release notes:
https://github.com/SanDisk-Open-Source/ufs-utils/releases/tag/v7.14.11

[1] https://github.com/SanDisk-Open-Source/ufs-utils/commit/183e0deb28f13cfb3caf161fc6d0f3cd1edb05c2

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-13 09:46:10 -07:00
Alper Ak d8a2d0cae3 fatcat: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 13:35:19 -07:00
Khem Raj 35256ab721 nilfs-utils: Respect usrmege when defining base_sbindir
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Michael Estner <michaelestner@web.de>
2025-07-03 19:39:13 -07:00