logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: b988fb5764d4f9c1ca257e35768de9f6f156cb34
parent f5eb51c2cc371fe932c6dd7e59a22425335ffb53
Author: Googulator <netrolller.3d@gmail.com>
Date:   Fri, 10 May 2024 13:07:58 +0200

Merge pull request #467 from fosslinux/fix-preseed

Fix early-preseed (and environment variables generally)

Diffstat:

Msteps/heirloom-devtools-070527/pass1.sh3+--
Msteps/improve/update_env.sh11+++++++++++
2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/steps/heirloom-devtools-070527/pass1.sh b/steps/heirloom-devtools-070527/pass1.sh @@ -8,7 +8,7 @@ src_compile() { cd lex - make -f Makefile.mk CC=tcc AR=tcc\ -ar LDFLAGS=-static RANLIB=true + make -f Makefile.mk CC=tcc AR="tcc -ar" LDFLAGS=-static RANLIB=true LIBDIR="${LIBDIR}" cd .. } @@ -18,4 +18,3 @@ src_install() { install lex/libl.a "${DESTDIR}${LIBDIR}" install -m 644 lex/ncform "${DESTDIR}${LIBDIR}/lex" } - diff --git a/steps/improve/update_env.sh b/steps/improve/update_env.sh @@ -21,4 +21,15 @@ export SHELL=/usr/bin/bash DESTDIR=/tmp/destdir EOF +# The following values are set up in the kaem environment. +# As these are then passed through to the bash shell, they are considered +# automatically exported variables. We don't want them exported. +unset PREFIX +unset BINDIR +unset LIBDIR +unset INCDIR +unset SRCDIR +unset TMPDIR +unset DISTFILES + . /steps/env