logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: 990e989ab6c0cb6127b7c337c4e02433d3eb299d
parent c6b3ffc2c45fc5cae4fb4a58aad703458b96e44b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun,  5 May 2024 19:01:54 +0200

Add pkgconf (for iproute2)

Diffstat:

MREADME.md1+
Abootstrap-pkgconf.sh15+++++++++++++++
Mdistfiles.SHA512SUM1+
Mfetch.sh1+
Mmake-root.sh2++
5 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -124,6 +124,7 @@ Meanwhile: - GNU make: For toybox - xz: Not for anything yet, but requires working around libtool to build so including it - lua: For oasis +- pkgconf: For iproute2 ## Launching in QEMU ``` diff --git a/bootstrap-pkgconf.sh b/bootstrap-pkgconf.sh @@ -0,0 +1,15 @@ +#!/bin/sh +set -ex + +tar xof /pkgconf-*.tar.gz +cd ./pkgconf-*/ + +export LD="tcc" +./configure --prefix=/usr --disable-nls --disable-dependency-tracking +bmake clean +bmake ARFLAGS='-r' +bmake install +ln -s `command -v pkgconf` /usr/bin/pkg-config + +cd .. +rm -r ./pkgconf-*/ diff --git a/distfiles.SHA512SUM b/distfiles.SHA512SUM @@ -35,6 +35,7 @@ d74d86400cb5a772f8652d3c08fd041ae7999475eeef500aa8bca6c11109389d6604764184136a4b dacee8ce46c236fcc09ae767bd2f1bc1dfcba026a49134cb8f915d2d4ad31eb089fc8edeb8b1027276a9450ca14be56043747c93acbcbab334efa1bd20069084 distfiles/musl-libintl-1.2.5-r0.apk.x86_64 3d5626b0d6033a9eb8f3d81acbe0b30842e99f4c40563ca3f906ecfebdb72d754de18cd180345131868ad325fead4a6e66bfb765af45267180e256f46a76f316 distfiles/nawk-20240422.tar.gz ae3d9d593e1645d65f9ab77aa828600c9af4bb30d0a073da7ae3dd805e65b87efaf6a0efb980f2d0168e475ae506eba194547d6479956dabb9d88293a9078a7f distfiles/pigz-2.8.tar.gz +0ca21e4e390c57c3ad8bfeb9f8d92e65c6a60f28c2a962c1b64e268610b8d88fd502febad23264aed45db68a67dd83321b10f4e896718ab869d4ae743d769676 distfiles/pkgconf-2.2.0.tar.gz b050d22a0446e3e2439f59762f3b40104bc1c8361c6ac17a410c0d13c06af497470d468ba50de97b50181a959ae3189b2dba089162dbade536803c8ff96b2d83 distfiles/sbase-b30fb568.tar.gz 991f742ead7dcfd063b7e9bdc5d604353da76038729b599a597e6dd55ba7c9f4dd1df5f508f8b42a1c8b41e711301d772a69f015917c4c4ec678717784efc714 distfiles/tcc-0.9.27_git20240117-r0.apk.aarch64 41c4bfcd5b68a236ead6910cc28edcc47775f0221f032bae33f67239342c08a12405da8c32e5f3fb25c4d57af4005a359526d0854284787331fd1f2183d30d75 distfiles/tcc-0.9.27_git20240117-r0.apk.armhf diff --git a/fetch.sh b/fetch.sh @@ -13,6 +13,7 @@ URLS=" https://ftp.gnu.org/gnu/bash/bash-5.1.tar.gz https://tukaani.org/xz/xz-5.4.2.tar.gz https://www.lua.org/ftp/lua-5.4.6.tar.gz + https://distfiles.ariadne.space/pkgconf/pkgconf-2.2.0.tar.gz " WORKDIR="$(dirname "$0")" diff --git a/make-root.sh b/make-root.sh @@ -23,6 +23,7 @@ distfiles=" make-4.4.1.tar.gz xz-5.4.2.tar.gz lua-5.4.6.tar.gz + pkgconf-2.2.0.tar.gz " local_files=" init.sh @@ -34,6 +35,7 @@ local_files=" bootstrap-make.sh bootstrap-xz.sh bootstrap-lua.sh + bootstrap-pkgconf.sh " WORKDIR="$(dirname "$0")" WORKDIR="$(realpath "$WORKDIR")"