From 674fa07cb2f1ce6caf3568d8b44a3b948c601985 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 1 Jul 2021 15:59:54 +0000 Subject: [PATCH] baseinit: remove usage of install --- core/baseinit/build | 6 ++++-- extra/firefox/build | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/baseinit/build b/core/baseinit/build index d8646a86..7a0767b1 100755 --- a/core/baseinit/build +++ b/core/baseinit/build @@ -1,6 +1,8 @@ #!/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 lib "$1/usr/lib" @@ -9,5 +11,5 @@ cp -R lib "$1/usr/lib" # shellcheck disable=2086 for bin in kpow kall; do "${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 diff --git a/extra/firefox/build b/extra/firefox/build index 9443b6c3..53a075cf 100755 --- a/extra/firefox/build +++ b/extra/firefox/build @@ -39,7 +39,7 @@ export PATH="$PWD/junk/bin:$PATH" export CC="${CC:-/usr/bin/cc}" 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 MACH_USE_SYSTEM_PYTHON=1 export MOZ_DEBUG_FLAGS=-g0