Update Debian HowTo with new build.sh script

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-08-05 01:16:35 +02:00
parent 576cb1075c
commit 23cdd6e438
+13 -16
View File
@@ -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 ツ