Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
From dbe865dfdba0145d993d70b7fd4ec88b2f47554b Mon Sep 17 00:00:00 2001
From: Tomas Korbar <tkorbar@redhat.com>
Date: Mon, 15 Dec 2025 11:03:21 +0100
Subject: [PATCH] Add const qualifiers to fix build with ISO C23
Fix https://github.com/wolfcw/libfaketime/issues/524
Upstream: https://github.com/wolfcw/libfaketime/commit/dbe865dfdba0145d993d70b7fd4ec88b2f47554b
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
src/libfaketime.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libfaketime.c b/src/libfaketime.c
index ef1dca9..02839c8 100644
--- a/src/libfaketime.c
+++ b/src/libfaketime.c
@@ -2666,7 +2666,7 @@ int timespec_get(struct timespec *ts, int base)
static void parse_ft_string(const char *user_faked_time)
{
struct tm user_faked_time_tm;
- char * tmp_time_fmt;
+ const char * tmp_time_fmt;
char * nstime_str;
if (!strncmp(user_faked_time, user_faked_time_saved, BUFFERLEN))
@@ -3338,7 +3338,7 @@ static void prepare_config_contents(char *contents)
bool str_array_contains(const char *haystack, const char *needle)
{
size_t needle_len = strlen(needle);
- char *pos = strstr(haystack, needle);
+ const char *pos = strstr(haystack, needle);
while (pos) {
if (pos == haystack || *(pos - 1) == ',') {
char nextc = *(pos + needle_len);
--
2.47.3

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_HOST_FAKETIME
bool "host faketime"
help
Faketime reports faked system time to programs without
having to change the system-wide time.
https://github.com/wolfcw/libfaketime

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 4fc32218697c052adcdc5ee395581f2554ca56d086ac817ced2be0d6f1f8a9fa faketime-0.9.12.tar.gz
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING

View File

@@ -0,0 +1,20 @@
################################################################################
#
# libfaketime
#
################################################################################
FAKETIME_VERSION = 0.9.12
FAKETIME_SITE = $(call github,wolfcw,libfaketime,v$(FAKETIME_VERSION))
FAKETIME_LICENSE = GPL-2.0
FAKETIME_LICENSE_FILES = COPYING
define HOST_FAKETIME_BUILD_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR)
endef
define HOST_FAKETIME_INSTALL_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install
endef
$(eval $(host-generic-package))