mirror of
https://github.com/troglobit/finit.git
synced 2026-10-09 16:50:59 +07:00
initctl: monitor and condition control over the bus
The bus can already answer questions and change services, so give initctl the two things it still did another way: watching signals as they happen, and getting or setting user conditions. The dbus tests move with it, split by area rather than one file that grew every time the library did. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -15,7 +15,13 @@ make -C "$top_builddir" DESTDIR="$SYSROOT" install
|
||||
|
||||
mkdir -p "$SYSROOT/sbin/"
|
||||
cp "$top_builddir/test/src/serv" "$SYSROOT/sbin/"
|
||||
if [ -x "$top_builddir/test/src/dbus-auth-client" ]; then
|
||||
# Prefer the real ELF in .libs/ over the libtool wrapper script --
|
||||
# since the test client links libink.la, libtool wraps the top-level
|
||||
# dbus-auth-client as a shell script that re-execs the real binary
|
||||
# via its own RPATH, which falls apart inside the test namespace.
|
||||
if [ -x "$top_builddir/test/src/.libs/dbus-auth-client" ]; then
|
||||
cp "$top_builddir/test/src/.libs/dbus-auth-client" "$SYSROOT/sbin/"
|
||||
elif [ -x "$top_builddir/test/src/dbus-auth-client" ]; then
|
||||
cp "$top_builddir/test/src/dbus-auth-client" "$SYSROOT/sbin/"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user