forked from kiss-community/repo
baseinit: remove usage of install
This commit is contained in:
parent
0a74df34ad
commit
674fa07cb2
@ -1,6 +1,8 @@
|
|||||||
#!/bin/sh -ef
|
#!/bin/sh -ef
|
||||||
|
|
||||||
mkdir -p "$1/usr/bin"
|
mkdir -p \
|
||||||
|
"$1/usr/bin" \
|
||||||
|
"$1/usr/share/doc/kiss/init"
|
||||||
|
|
||||||
cp -R etc "$1"
|
cp -R etc "$1"
|
||||||
cp -R lib "$1/usr/lib"
|
cp -R lib "$1/usr/lib"
|
||||||
@ -9,5 +11,5 @@ cp -R lib "$1/usr/lib"
|
|||||||
# shellcheck disable=2086
|
# shellcheck disable=2086
|
||||||
for bin in kpow kall; do
|
for bin in kpow kall; do
|
||||||
"${CC:-cc}" -o "$1/usr/bin/$bin" "bin/$bin.c" $CFLAGS -static
|
"${CC:-cc}" -o "$1/usr/bin/$bin" "bin/$bin.c" $CFLAGS -static
|
||||||
install -Dm644 "bin/$bin.c" "$1/usr/share/doc/kiss/init/$bin.c"
|
cp -f "bin/$bin.c" "$1/usr/share/doc/kiss/init/$bin.c"
|
||||||
done
|
done
|
||||||
|
@ -39,7 +39,7 @@ export PATH="$PWD/junk/bin:$PATH"
|
|||||||
export CC="${CC:-/usr/bin/cc}"
|
export CC="${CC:-/usr/bin/cc}"
|
||||||
export CXX="${CXX:-/usr/bin/c++}"
|
export CXX="${CXX:-/usr/bin/c++}"
|
||||||
|
|
||||||
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox"
|
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox,--enable-new-dtags"
|
||||||
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
|
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
|
||||||
export MACH_USE_SYSTEM_PYTHON=1
|
export MACH_USE_SYSTEM_PYTHON=1
|
||||||
export MOZ_DEBUG_FLAGS=-g0
|
export MOZ_DEBUG_FLAGS=-g0
|
||||||
|
Loading…
Reference in New Issue
Block a user