logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: 9e169e7dfc3c6a846b5a9eb4a3dcfeb2d0b7beaf
parent 6536efccc9f5401955645024fc2142e5edb08b05
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  7 May 2024 19:07:58 +0200

bootstrap-tiny-curl.sh: Add

Diffstat:

MREADME.md1+
Abootstrap-tiny-curl.sh12++++++++++++
Mdistfiles.SHA512SUM1+
Mfetch.sh1+
Mmake-root.sh2++
5 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -128,6 +128,7 @@ Meanwhile: - iproute2: Basic networking configuration - skalibs: dependency of mdevd - mdevd: hotplug devices daemon +- tiny-curl: Still pretty big but hopefully close enough to the usual one ## Launching in QEMU ``` diff --git a/bootstrap-tiny-curl.sh b/bootstrap-tiny-curl.sh @@ -0,0 +1,12 @@ +#!/bin/sh +set -ex + +tar xof /tiny-curl-*.tar.gz +cd tiny-curl-*/ + +LD=$CC ./configure --prefix=/usr --without-ssl +bmake RANLIB=true +bmake install INSTALL=install + +cd .. +rm -fr tiny-curl-*/ diff --git a/distfiles.SHA512SUM b/distfiles.SHA512SUM @@ -64,6 +64,7 @@ ede1616d9892b2ca1fdb332a4329ac26f544321620cae1abc73bea13c79120599e7bc626296494ef 3a9059301beabff72586d4de2df1713005426fe1951cf6f09371b80411ab5a3e7831f154765c7af24dd87f19894bbc2e41905ac0c362f0f438ef6c89ff6af0e0 distfiles/tcc-libs-static-0.9.27_git20240117-r0.apk.riscv64 b932d4c4d05193a4c68370607234f3d77ce0fba93aadf6323529ad6aa56e51b38309c0d85870a040baac704eb30807a71e6510351e8893fbd2aa7b1265027ecc distfiles/tcc-libs-static-0.9.27_git20240117-r0.apk.x86 b89b489fbee7c19a21175ad61168d250856801175fa000261b35202312148ee8e7b6cb1994d042503ad36f2651ee1ba68c4f83d96051abb50fb4e0e5dbc78960 distfiles/tcc-libs-static-0.9.27_git20240117-r0.apk.x86_64 +ccb62313eaf2fb149ba3a372ab6a0cccde2fc23e2193843f457b9ed181b832fddb34fe23b18ec3005aefb7d1137fcb440fb57462b9414734f3b1a90183d3db36 distfiles/tiny-curl-8.4.0.tar.gz 0a54d8d976536c335821635072ed60e287d6554e2e9947dff1cab8f2fc1413890289fc4493af43e9fdd7eb9a4475df04b3e2da562e0e2502c90bc612b3d65f67 distfiles/utils-std-c098107.tar.gz 149f980338bea3d66de1ff5994b2b236ae1773135eda68b62b009df0c9dcdf5467f8cb2c06da95a71b6556d60bd3d21f475feced34d5dfdb80ee95416a2f9737 distfiles/xz-5.4.2.tar.gz 6adb51c5f07e8084a86688589f52d9eee0183fb4d77508e36621a6b0ba91a5c4195feb87db3401ec69560554f71f2f6984dec01266e41e0fd54fa72ef1780e80 distfiles/yacc-1.9.1.tar.Z diff --git a/fetch.sh b/fetch.sh @@ -17,6 +17,7 @@ URLS=" https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-6.6.0.tar.gz https://www.skarnet.org/software/skalibs/skalibs-2.14.1.1.tar.gz https://skarnet.org/software/mdevd/mdevd-0.1.6.3.tar.gz + https://curl.se/tiny/tiny-curl-8.4.0.tar.gz " WORKDIR="$(dirname "$0")" diff --git a/make-root.sh b/make-root.sh @@ -27,6 +27,7 @@ distfiles=" iproute2-6.6.0.tar.gz skalibs-2.14.1.1.tar.gz mdevd-0.1.6.3.tar.gz + tiny-curl-8.4.0.tar.gz " local_files=" init.sh @@ -42,6 +43,7 @@ local_files=" bootstrap-iproute2.sh bootstrap-skalibs.sh bootstrap-mdevd.sh + bootstrap-tiny-curl.sh " WORKDIR="$(dirname "$0")" WORKDIR="$(realpath "$WORKDIR")"