From 3c7eaff7b3c96bf72f5f410057ee988e5b957c6d Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 10 Oct 2017 12:00:04 +0200 Subject: [PATCH] Debian GNU/Linux: Update and sync build instructions with Alpine Signed-off-by: Joachim Nilsson --- contrib/debian/README.md | 10 +++++----- contrib/debian/build.sh | 22 +++++++++++++--------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/contrib/debian/README.md b/contrib/debian/README.md index 0d98f686..1d480b90 100644 --- a/contrib/debian/README.md +++ b/contrib/debian/README.md @@ -1,9 +1,9 @@ -HowTo: Finit on Debian Jessie -============================= +HowTo: Finit on Debian GNU/Linux +================================ -Mini HowTo using Finit to boot Debian GNU/Linux 8.5 (Jessie). It is -assumed that the user has already installed a compiler, C library header -files, and other tools needed to build a GNU configure based project. +HowTo use Finit to boot a Debian GNU/Linux system. It is assumed that +the user has already installed a compiler, C library header files, and +other tools needed to build a GNU configure based project. Also, Finit has only been verified to work with the Debian *Server* ed. I.e., during install — skip GNOME and other X stuff to get a plain and diff --git a/contrib/debian/build.sh b/contrib/debian/build.sh index 54657350..280bb569 100755 --- a/contrib/debian/build.sh +++ b/contrib/debian/build.sh @@ -11,24 +11,28 @@ echo echo "*** Configuring Finit for Debian" if [ ! -e configure ]; then - echo " The configure script is missing, maybe you're using a GIT checkout?" - echo " Attempting to run the autogen.sh script, you need these tools:" + echo " The configure script is missing, maybe you're using a version from GIT?" + echo " Attempting to run the autogen.sh script, you will need these tools:" echo " autoconf, automake, libtool, pkg-config ..." echo ./autogen.sh fi echo -./configure --enable-rw-rootfs --enable-dbus-plugin --enable-x11-common-plugin \ - --enable-alsa-utils-plugin --with-random-seed=/var/lib/urandom/random-seed \ - --with-heading="Debian GNU/Linux 8.5" --with-hostname=jessie \ - --enable-inetd-echo-plugin --enable-inetd-chargen-plugin \ - --enable-inetd-daytime-plugin --enable-inetd-discard-plugin \ - --enable-inetd-time-plugin +# The plugins are optional, but you may need D-Bus and X11 if you want +# to run X-Window, the other configure flags are however required. +./configure \ + --enable-rw-rootfs --enable-progress \ + --enable-dbus-plugin --enable-x11-common-plugin \ + --enable-alsa-utils-plugin --enable-inetd-echo-plugin \ + --enable-inetd-chargen-plugin --enable-inetd-daytime-plugin \ + --enable-inetd-discard-plugin --enable-inetd-time-plugin \ + --with-random-seed=/var/lib/urandom/random-seed \ + --with-heading="Debian GNU/Linux" --with-hostname="stretch" if [ $? -ne 0 ]; then echo - echo "*** Configure script failed, have you installed libuEV and libite?" + echo "*** Configure script failed, have you installed libuEv and libite?" echo exit 1 fi