mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
27 lines
604 B
Bash
Executable File
27 lines
604 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
# shellcheck disable=SC2154
|
|
make -C "$top_builddir" DESTDIR="$TENV_ROOT" install
|
|
|
|
# shellcheck disable=SC2154
|
|
FINITBIN="$(pwd)/$top_builddir/src/finit" DEST="$TENV_ROOT" make -f "$srcdir/tenv/root.mk"
|
|
|
|
# Drop plugins we don't need in test, only causes confusing FAIL in logs.
|
|
for plugin in tty.so urandom.so rtc.so modprobe.so hotplug.so; do
|
|
find "$TENV_ROOT" -name $plugin -delete
|
|
done
|
|
|
|
echo "ROOT:"
|
|
ls -l $TENV_ROOT
|
|
echo "ROOT:/bin"
|
|
ls -l $TENV_ROOT/bin
|
|
echo "ROOT:/sbin"
|
|
ls -l $TENV_ROOT/sbin
|
|
echo "ROOT:/var"
|
|
ls -l $TENV_ROOT/var/
|
|
echo "ROOT:/var/run"
|
|
ls -l $TENV_ROOT/var/run/
|
|
|