logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: 8ea60fc91728fb6a4f750912cd04e17a0245fd06
parent e11b649b41302b656d64ac641cb841c38cd5fb01
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue,  7 May 2024 12:30:14 +0200

bootstrap-xz.sh: Add

Diffstat:

Abootstrap-xz.sh17+++++++++++++++++
Mdistfiles.SHA512SUM1+
Mfetch.sh1+
Mmake-root.sh2++
4 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/bootstrap-xz.sh b/bootstrap-xz.sh @@ -0,0 +1,17 @@ +#!/bin/sh +set -ex + +tar xof /xz-*.tar.gz +cd xz-*/ + +export LD="tcc" +# --disable-symbol-versions: tcc 0.9.28rc doesn't supports .symver +./configure --prefix=/usr --disable-dependency-tracking --disable-symbol-versions --disable-shared +bmake clean + +bmake +# Avoiding libtool nonsense, installing only the xz binary for now +install src/xz/xz /usr/bin + +cd .. +rm -fr xz-*/ diff --git a/distfiles.SHA512SUM b/distfiles.SHA512SUM @@ -59,5 +59,6 @@ ede1616d9892b2ca1fdb332a4329ac26f544321620cae1abc73bea13c79120599e7bc626296494ef 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 0a54d8d976536c335821635072ed60e287d6554e2e9947dff1cab8f2fc1413890289fc4493af43e9fdd7eb9a4475df04b3e2da562e0e2502c90bc612b3d65f67 distfiles/utils-std-c098107.tar.gz +149f980338bea3d66de1ff5994b2b236ae1773135eda68b62b009df0c9dcdf5467f8cb2c06da95a71b6556d60bd3d21f475feced34d5dfdb80ee95416a2f9737 distfiles/xz-5.4.2.tar.gz 6adb51c5f07e8084a86688589f52d9eee0183fb4d77508e36621a6b0ba91a5c4195feb87db3401ec69560554f71f2f6984dec01266e41e0fd54fa72ef1780e80 distfiles/yacc-1.9.1.tar.Z 580677aad97093829090d4b605ac81c50327e74a6c2de0b85dd2e8525553f3ddde17556ea46f8f007f89e435493c9a20bc997d1ef1c1c2c23274528e3c46b94f distfiles/zlib-1.3.1.tar.gz diff --git a/fetch.sh b/fetch.sh @@ -11,6 +11,7 @@ URLS=" https://downloads.sourceforge.net/heirloom/heirloom/070715/heirloom-070715.tar.bz2 https://downloads.sourceforge.net/project/heirloom/heirloom-devtools/070527/heirloom-devtools-070527.tar.bz2 https://ftp.gnu.org/gnu/bash/bash-5.1.tar.gz + https://tukaani.org/xz/xz-5.4.2.tar.gz " WORKDIR="$(dirname "$0")" diff --git a/make-root.sh b/make-root.sh @@ -21,6 +21,7 @@ tarballs=" distfiles=" bash-5.1.tar.gz make-4.4.1.tar.gz + xz-5.4.2.tar.gz " local_files=" init.sh @@ -30,6 +31,7 @@ local_files=" cp-stub.c bootstrap-bash.sh bootstrap-make.sh + bootstrap-xz.sh " WORKDIR="$(dirname "$0")" WORKDIR="$(realpath "$WORKDIR")"