Fix #288: enable built-in sulogin in Alpine and Void Linux builds

Always better to have at least one sulogin available, if the system
provided sulogin isn't available we fall back to the built-in one.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2022-10-16 21:08:44 +02:00
1 parent 9458e4e66b
commit 1f9621cf4b
4 files changed
+3 -8

No files matched your search

+1 -2
View File
@@ -18,7 +18,7 @@ PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig ./configure \
--sysconfdir=/etc --localstatedir=/var \
--enable-dbus-plugin --enable-x11-common-plugin \
--enable-alsa-utils-plugin --with-watchdog \
--with-keventd
--with-keventd --with-sulogin
echo
echo "*** Building ..."
@@ -35,4 +35,3 @@ fi
echo
echo "*** Done"
echo
-3
View File
@@ -59,6 +59,3 @@ else
echo "*** Use 'sudo contrib/debian/install.sh' later to install Finit"
echo
fi
+1 -2
View File
@@ -18,7 +18,7 @@ PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig ./configure \
--sysconfdir=/etc --localstatedir=/var \
--enable-dbus-plugin --enable-x11-common-plugin \
--enable-alsa-utils-plugin --with-watchdog \
--with-keventd
--with-keventd --with-sulogin
echo
echo "*** Building ..."
@@ -35,4 +35,3 @@ fi
echo
echo "*** Done"
echo
+1 -1
View File
@@ -114,8 +114,8 @@ static int sulogin(int do_reboot)
{
int rc = EX_OSFILE;
char *cmd[] = {
_PATH_SULOGIN,
"sulogin",
_PATH_SULOGIN,
};
size_t i;