6 Commits

Author SHA1 Message Date
Khem Raj
a68f03454b
libfaketime: Upgrade to 0.9.11
Fix build with glibc 2.43+

Changes:
Fixed various cross-platform compile-time issues
Honor nanosecond parameters/fields in relevant system calls
Limited improvements to enhance compatibility with other LD_PRELOAD libraries
Added selected more intercepted system calls
Unset FAKETIME_SHARED automatically for child processes when enabling FAKETIME_FLSHM=1
Disable shared memory for child processes through FAKETIME_DISABLE_SHM=1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-18 16:18:31 -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
Martin Jansa
5c5994a3d5 libfaketime: simplify packaging
* avoid dev-so QA issue

* avoid separate package for the library, because the current "lib${PN}"
  has a bit ridiculous name in mulilib builds:
  lib32-liblib32-libfaketime

* fixes:
  ERROR: lib32-libfaketime-0.9.10-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package lib32-liblib32-libfaketime contains symlink .so '/usr/lib32/faketime/libfaketime.so' [dev-so]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-30 14:45:47 -07:00
Khem Raj
298c1ffa28 libfaketime: Eanable LFS64 on musl
Musl has 64bit time_t inherently, ideally this library should be fixed
for that but lets apply the musl aliasing solution for now.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-26 20:53:02 -07:00
Khem Raj
8b40d7c92f libfaketime: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-26 17:32:45 -07:00
Tymoteusz Burak
50b820e18e libfaketime: add recipe
This commit adds the libfaketime library recipe, which provides time
manipulation capabilities for testing and debugging purposes. libfaketime allows
developers to modify the system time reported to applications, aiding in scenarios
where accurate time emulation is required.

I deleted the extra flags altogether as they seem to be only necessary
for old versions of this project (0.9.6).

CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Tymoteusz Burak <tymoteusz.burak@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-26 17:32:45 -07:00