Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
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
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Dario Binacchi 79c61189da ufs-utils: upgrade 6.13.11 -> 6.14.11
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-20 10:34:12 -07:00
Dario Binacchi 5cc654eead ufs-utils: upgrade 4.13.5 -> 6.13.11
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-01 18:28:20 -07:00
alperak f946e6ab92 ufs-utils: upgrade 3.12.3 -> 4.13.5
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-12 12:18:47 -08:00
Khem Raj 0abe204e34 ufs-utils: upgrade to latest revision
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-06 08:49:52 -08:00
Yi Zhao 0a6087c603 ufs-utils: upgrade 1.9 -> 3.12.3
Drop 0001-Use-asm-type.h-for-kernel-types.patch as it has been merged
upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-24 08:46:31 -08: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
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -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 656fb86a55 ufs-utils: Upgrade to 1.9
Fix build with ppc64 while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-12 15:55:07 -08:00
Pierre-Jean Texier 38fac5c8d0 ufs-utils: use UPSTREAM_CHECK_COMMITS
Fixes:

INFO: ufs-utils                 1.6             UNKNOWN_BROKEN  None

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-25 12:48:25 -07:00
Khem Raj 0e5d85318d ufs-utils: Renames from ufs-tool
Add a patch to fix build with musl/mips64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-15 21:08:54 -08:00