mirror of
https://github.com/troglobit/finit.git
synced 2026-11-14 19:03:16 +00:00
Update Debian HowTo with new build.sh script
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
576cb1075c
commit
23cdd6e438
1 file changed
+13
-16
+13
-16
@@ -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
|
Like the [Alpine HowTo](../alpine/), you need to install [libuEv][] and
|
||||||
[libite][], but since this is Debian — which takes infinite care of its
|
[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!™
|
> With Debian everything just works!™
|
||||||
|
|
||||||
debian:~/finit$ ./configure --enable-rw-rootfs --enable-dbus-plugin \
|
The following build and install script can be used to configure, build,
|
||||||
--enable-x11-common-plugin --enable-alsa-utils-plugin \
|
install and set up your system to run Finit:
|
||||||
--with-random-seed=/var/lib/urandom/random-seed \
|
|
||||||
--with-heading="Debian GNU/Linux 8.5" --with-hostname=debian
|
|
||||||
|
|
||||||
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
|
Before rebooting, read up on [/etc/finit.conf](finit.conf) and notice
|
||||||
GRUB config, in `/etc/grub.d/40_custom`, or add `init=/sbin/finit` to
|
how `/etc/start.d/` and `/etc/rc.local` can be used to extend the boot
|
||||||
your kernel line everytime you boot. Or, you could change the `/sbin`
|
with simpler setup tasks on your system — see the docu for details.
|
||||||
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.
|
|
||||||
|
|
||||||
Have fun!
|
Have fun!
|
||||||
/Joachim ツ
|
/Joachim ツ
|
||||||
|
|||||||
Reference in new issue
Block a user