068a1ca63e
Bootloader fork rebase:
- Base changed from 0.1.0 pre-patched archive to upstream 1.0.0 tag (c7eeb9f)
- Applied 0001-redbear-local-forks.patch (Cargo.toml crate path redirects)
- Applied fix-uefi-alloc-panic.patch equivalents (4 panic!() -> graceful
error handling in src/main.rs)
- Applied P5-live-preload-cap-1gib.patch (1 GiB cap on live image preload)
- Skipped: P0 GPT partition scan (requires new module + integration),
P1 timeout/default-resolution, P2 live preload guard (subsumed by
panic fixes + cap), P3 live image safe read, P4 large ISO boot,
redox.patch — to be applied in dedicated rebase session.
firmware-loader/Cargo.toml: version 0.1.0 -> 0.3.0 (sync with other
Red Bear custom crates which are at 0.3.0).
fork-upstream-map.toml: bootloader back from PENDING_REBASE to 1.0.0
since the partial rebase matches upstream 1.0.0 content.
fork-upstream-map.toml: base restored to 'main' tracked (was correctly
tracked by build-redbear.sh).
43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[source]
|
|
tar = "https://ftp.gnu.org/gnu/diffutils/diffutils-3.12.tar.xz"
|
|
blake3 = "363fb378c85505b43f91d6e7c7382d571f2f7b47e4d334c18d522baf55599d18"
|
|
patches = ["diffutils.patch"]
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = ["relibc"]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
export HELP2MAN=true
|
|
export MAKEINFO=true
|
|
export CFLAGS="${CFLAGS} -fcommon"
|
|
export LDFLAGS="${LDFLAGS} -Wl,--allow-multiple-definition"
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
gt_cv_locale_fr=false
|
|
gt_cv_locale_fr_utf8=false
|
|
gt_cv_locale_ja=false
|
|
gt_cv_locale_tr_utf8=false
|
|
gt_cv_locale_zh_CN=false
|
|
gl_cv_func_working_mktime=yes
|
|
ac_cv_func_getprogname=yes
|
|
gl_cv_header_working_stddef_h=yes
|
|
gl_cv_header_working_stdint_h=yes
|
|
gl_cv_header_sys_types_h=yes
|
|
ac_cv_header_wchar_h=yes
|
|
ac_cv_header_stdio_h=yes
|
|
ac_cv_path_HELP2MAN=true
|
|
ac_cv_path_MAKEINFO=true
|
|
gl_cv_func_strcasecmp_works=yes
|
|
gl_cv_func_strncasecmp_works=yes
|
|
)
|
|
cookbook_configure
|
|
printf '#!/bin/sh\\nexit 0\\n' > "${COOKBOOK_SOURCE}/man/help2man"
|
|
chmod +x "${COOKBOOK_SOURCE}/man/help2man"
|
|
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
|
|
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}"
|
|
rm -f "${COOKBOOK_STAGE}/usr/share/info/dir"
|
|
"""
|
|
|
|
[package]
|
|
description = "GNU diffutils 3.12"
|