mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-14 23:35:24 +01:00
Merge /usr/sbin and /usr/bin
Required for some stupid build system (and is also better for us).
This commit is contained in:
parent
07d4408fb6
commit
c64367f608
4 changed files with 4 additions and 11 deletions
|
|
@ -14,14 +14,12 @@ set -e
|
|||
|
||||
export PREFIX=/usr
|
||||
export SOURCES=/after
|
||||
mkdir -p "${PREFIX}/sbin"
|
||||
export PATH="${PREFIX}/bin:${PREFIX}/sbin"
|
||||
|
||||
create_sysb() {
|
||||
# Copy everything in
|
||||
echo "Creating sysb rootfs"
|
||||
mkdir -p /sysb/usr
|
||||
for d in bin include lib libexec sbin share; do
|
||||
for d in bin include lib libexec share; do
|
||||
# Minimise RAM (storage) use - use hard links
|
||||
cp -rl "${PREFIX}/${d}" "/sysb/usr/${d}"
|
||||
done
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
|
@ -9,13 +10,10 @@ src_prepare() {
|
|||
AUTOPOINT=true autoreconf -fi
|
||||
}
|
||||
|
||||
# --target=i386-unknown-linux-gnu \
|
||||
# --host=i386-unknown-linux-gnu \
|
||||
# --build=i386-unknown-linux-gnu \
|
||||
src_configure() {
|
||||
./configure --prefix=${PREFIX} \
|
||||
--bindir="${PREFIX}/bin" \
|
||||
--sbindir="${PREFIX}/sbin" \
|
||||
--sbindir="${PREFIX}/bin" \
|
||||
--libdir="${PREFIX}/lib/musl" \
|
||||
--disable-libuuid \
|
||||
--without-ncurses \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue