feat(guix-seeds): add static sed-4.5 to bootstrap binaries

This commit is contained in:
vxtls 2026-03-27 09:53:39 -04:00
parent 98a3a8b883
commit 654236224b
4 changed files with 25 additions and 0 deletions

View file

@ -51,6 +51,7 @@ build: guile-semver-0.2.0
build: coreutils-8.30 build: coreutils-8.30
build: gawk-4.2.1 build: gawk-4.2.1
build: grep-3.1 build: grep-3.1
build: sed-4.5
build: tar-1.30 build: tar-1.30
build: xz-5.2.4 build: xz-5.2.4
build: gzip-1.9 build: gzip-1.9

View file

@ -0,0 +1,22 @@
# SPDX-License-Identifier: GPL-3.0-or-later
SEED_PREFIX="/bootstrap-seeds/sed-4.5"
src_prepare() {
default
}
src_configure() {
CFLAGS="-O2" LDFLAGS="-static" ./configure \
--prefix="${SEED_PREFIX}" \
--disable-nls \
--disable-shared
}
src_compile() {
default_src_compile
}
src_install() {
make DESTDIR="${DESTDIR}" install
}

View file

@ -0,0 +1 @@
f https://ftp.gnu.org/gnu/sed/sed-4.5.tar.xz 7aad73c8839c2bdadca9476f884d2953cdace9567ecd0d90f9959f229d146b40

View file

@ -20,6 +20,7 @@ src_compile() {
cp -a /bootstrap-seeds/grep-3.1/bin/grep "${stage}/bin/" cp -a /bootstrap-seeds/grep-3.1/bin/grep "${stage}/bin/"
cp -a /bootstrap-seeds/grep-3.1/bin/egrep "${stage}/bin/" cp -a /bootstrap-seeds/grep-3.1/bin/egrep "${stage}/bin/"
cp -a /bootstrap-seeds/grep-3.1/bin/fgrep "${stage}/bin/" cp -a /bootstrap-seeds/grep-3.1/bin/fgrep "${stage}/bin/"
cp -a /bootstrap-seeds/sed-4.5/bin/sed "${stage}/bin/"
cp -a /bootstrap-seeds/tar-1.30/bin/tar "${stage}/bin/" cp -a /bootstrap-seeds/tar-1.30/bin/tar "${stage}/bin/"
cp -a /bootstrap-seeds/xz-5.2.4/bin/xz "${stage}/bin/" cp -a /bootstrap-seeds/xz-5.2.4/bin/xz "${stage}/bin/"
cp -a /bootstrap-seeds/gzip-1.9/bin/gzip "${stage}/bin/" cp -a /bootstrap-seeds/gzip-1.9/bin/gzip "${stage}/bin/"