Skip to content

Commit b988fb5

Browse files
authored
Merge pull request #467 from fosslinux/fix-preseed
Fix early-preseed (and environment variables generally)
2 parents f5eb51c + 6302bb6 commit b988fb5

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

steps/heirloom-devtools-070527/pass1.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
src_compile() {
1010
cd lex
11-
make -f Makefile.mk CC=tcc AR=tcc\ -ar LDFLAGS=-static RANLIB=true
11+
make -f Makefile.mk CC=tcc AR="tcc -ar" LDFLAGS=-static RANLIB=true LIBDIR="${LIBDIR}"
1212
cd ..
1313
}
1414

@@ -18,4 +18,3 @@ src_install() {
1818
install lex/libl.a "${DESTDIR}${LIBDIR}"
1919
install -m 644 lex/ncform "${DESTDIR}${LIBDIR}/lex"
2020
}
21-

steps/improve/update_env.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,15 @@ export SHELL=/usr/bin/bash
2121
DESTDIR=/tmp/destdir
2222
EOF
2323

24+
# The following values are set up in the kaem environment.
25+
# As these are then passed through to the bash shell, they are considered
26+
# automatically exported variables. We don't want them exported.
27+
unset PREFIX
28+
unset BINDIR
29+
unset LIBDIR
30+
unset INCDIR
31+
unset SRCDIR
32+
unset TMPDIR
33+
unset DISTFILES
34+
2435
. /steps/env

0 commit comments

Comments
 (0)