Minor cleanup and additions

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-07-22 20:00:13 +02:00
1 parent e4d882e99e
commit a3b0022d66
1 file changed
+17 -12
+17 -12
View File
@@ -1,10 +1,9 @@
HowTo: Finit on Alpine Linux 3.4 HowTo: Finit on Alpine Linux 3.4
================================= ================================
This is a mini-howto for booting a very basic Alpine Linux with Finit. Mini HowTo using Finit to boot an Alpine Linux system. It is assumed
It is assumed that the user has already installed a compiler, C library that the user has already installed a compiler, C library header files,
header files, and other tools needed to build a GNU configure based and other tools needed to build a GNU configure based project.
project.
To start with you need to first install [libuEv][] and [libite][], by To start with you need to first install [libuEv][] and [libite][], by
default they install to `/usr/local` and Alpine's `pkg-config` does not default they install to `/usr/local` and Alpine's `pkg-config` does not
@@ -21,14 +20,20 @@ The plugins are optional, but the other configure flags are *not*.
alpine:~/finit# make all install alpine:~/finit# make all install
The installation will skip setting up `/sbin/init`, because it already The installation skips `/sbin/init`, because it already exists, and
exists, and Alpine is hard coded to use it. So you have to change the Alpine is hard coded to use it. So you have to change the symlink
symlink yourself to point to `finit` instead of `/bin/busybox`. yourself to point to `finit` instead of `/bin/busybox`.
Before rebooting, make sure to install [/etc/finit.conf](finit.conf) and alpine:~/finit# cd /sbin
the glue [/etc/rc.local](rc.local) from this directory -- check them alpine:/sbin# rm init
both if they need to be tweaked for your installation, you may not run alpine:/sbin# ln -s finit init
Dropbear SSH or speak Swedish ...
Before rebooting, make sure to set up a [/etc/finit.conf](finit.conf),
and possibly also an [/etc/rc.local](rc.local) for one-shot set up and
initialization like keyboard language etc. You can use the files in
this directory as templates -- check them both if they need to be
tweaked for your installation, you may not run Dropbear SSH or speak
Swedish ...
[libuEv]: https://github.com/troglobit/libuev [libuEv]: https://github.com/troglobit/libuev
[libite]: https://github.com/troglobit/libite [libite]: https://github.com/troglobit/libite