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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>