From 23cdd6e43875ed68023efe118e0d88e147b785a9 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Fri, 5 Aug 2016 01:16:35 +0200 Subject: [PATCH] Update Debian HowTo with new build.sh script Signed-off-by: Joachim Nilsson --- contrib/debian/README.md | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/contrib/debian/README.md b/contrib/debian/README.md index ba5bc16a..0d98f686 100644 --- a/contrib/debian/README.md +++ b/contrib/debian/README.md @@ -18,28 +18,25 @@ without systemd! Anyway, this text was based on that experience. Like the [Alpine HowTo](../alpine/), you need to install [libuEv][] and [libite][], but since this is Debian — which takes infinite care of its -users ♥ ♥ ♥ we don't need to worry about `pkg-config`. +users ♥ ♥ ♥ we don't need to worry about `pkg-config`, except for having +it installed so it can locate the uEv and lite libraries. > With Debian everything just works!™ - debian:~/finit$ ./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=debian +The following build and install script can be used to configure, build, +install and set up your system to run Finit: -Then simply install Finit. + debian:~/finit$ contrib/debian/build.sh - debian:~/finit$ make && sudo make install +Since `/sbin/init` already exists on your system the script creates +another entry in your GRUB config, in `/etc/grub.d/40_custom`, where +`init=/sbin/finit` is added to your kernel line. You could of course +also change the `/sbin/init` symlink and uninstall systemd/SysV init if +everything works fine, but that's up to you. -Since `/sbin/init` already exists you need to add another entry to your -GRUB config, in `/etc/grub.d/40_custom`, or add `init=/sbin/finit` to -your kernel line everytime you boot. Or, you could change the `/sbin` -symlink, but that's on you. - -However, before rebooting, make sure to read up on the comments I've -put in [/etc/finit.conf](finit.conf) install it and `start.d/` into -`/etc` on your system — and possibly even check out more of the docu -for details. +Before rebooting, read up on [/etc/finit.conf](finit.conf) and notice +how `/etc/start.d/` and `/etc/rc.local` can be used to extend the boot +with simpler setup tasks on your system — see the docu for details. Have fun! /Joachim ツ