Update Alpine Linux README

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-09-10 11:41:05 +02:00
1 parent 333871caf2
commit 0052793a46
1 file changed
+9 -8
+9 -8
View File
@@ -8,17 +8,18 @@ and other tools needed to build a GNU configure based 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
look for libraries and header files there. So the `PKG_CONFIG_LIBDIR` look for libraries and header files there. So the `PKG_CONFIG_LIBDIR`
environment variable has to be used: environment variable must be used:
alpine:~/finit# PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig ./configure \ alpine:~/finit# PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig ./configure \
--enable-rw-rootfs --enable-progress \ --enable-rw-rootfs --enable-progress \
--enable-x11-common-plugin \ --enable-dbus-plugin --enable-x11-common-plugin \
--enable-alsa-utils-plugin --enable-inetd-echo-plugin \ --enable-alsa-utils-plugin --enable-inetd-echo-plugin \
--enable-inetd-chargen-plugin --enable-inetd-daytime-plugin \ --enable-inetd-chargen-plugin --enable-inetd-daytime-plugin \
--enable-inetd-discard-plugin --enable-inetd-time-plugin \ --enable-inetd-discard-plugin --enable-inetd-time-plugin \
--with-heading="Alpine Linux 3.6" --with-hostname=alpine --with-heading="Alpine Linux 3.6" --with-hostname=alpine
The plugins are optional, but the other configure flags are *not*. 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.
alpine:~/finit# make all install alpine:~/finit# make all install
@@ -31,11 +32,11 @@ yourself to point to `finit` instead of `/bin/busybox`.
alpine:/sbin# ln -s finit init alpine:/sbin# ln -s finit init
Before rebooting, make sure to set up a [/etc/finit.conf](finit.conf), 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 and [/etc/finit.d/](finit.d) for your services, possibly also an
initialization like keyboard language etc. You can use the files in [/etc/rc.local](rc.local) for one-shot set up and initialization like
this directory as templates -- check them both if they need to be keyboard language etc. You can use the files in this directory as
tweaked for your installation, you may not run Dropbear SSH or speak templates -- check them both if they need to be tweaked for your
Swedish ... 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