mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-04 10:25:25 +01:00
Fix early-preseed (and environment variables generally)
This commit is contained in:
parent
f5eb51c2cc
commit
6302bb6d20
2 changed files with 12 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
cd lex
|
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 ..
|
cd ..
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -18,4 +18,3 @@ src_install() {
|
||||||
install lex/libl.a "${DESTDIR}${LIBDIR}"
|
install lex/libl.a "${DESTDIR}${LIBDIR}"
|
||||||
install -m 644 lex/ncform "${DESTDIR}${LIBDIR}/lex"
|
install -m 644 lex/ncform "${DESTDIR}${LIBDIR}/lex"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,15 @@ export SHELL=/usr/bin/bash
|
||||||
DESTDIR=/tmp/destdir
|
DESTDIR=/tmp/destdir
|
||||||
EOF
|
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
|
. /steps/env
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue