Update Alpine Linux example config

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-07-21 15:37:15 +02:00
1 parent 97de3ad0bb
commit 77b32ebff0
2 files changed
+37 -19

No files matched your search

+13 -5
View File
@@ -11,11 +11,11 @@ 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 has to be used:
alpine:~/finit# PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig ./configure \ alpine:~/finit# PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig ./configure \
--enable-embedded --enable-rw-rootfs --enable-inetd-echo-plugin \ --enable-embedded --enable-rw-rootfs --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.4" --with-hostname=alpine --with-heading="Alpine Linux 3.4" --with-hostname=alpine
The plugins are optional, but the other configure flags are *not*. The plugins are optional, but the other configure flags are *not*.
@@ -30,3 +30,11 @@ Before rebooting, make sure to install `/etc/finit.conf` and the glue
be tweaked for your installation, you may not run Dropbear SSH or speak be tweaked for your installation, you may not run Dropbear SSH or speak
Swedish ... Swedish ...
[libuEv]: https://github.com/troglobit/libuev
[libite]: https://github.com/troglobit/libite
<!--
-- Local Variables:
-- mode: markdown
-- End:
-->
+24 -14
View File
@@ -1,5 +1,8 @@
# Sample finit.conf for booting Alpine Linux 3.4 # /etc/finit.conf: Example for Alpine Linux 3.4
#
# Modules to load
#module qxl
#module fbcon
# Devices to fsck at boot # Devices to fsck at boot
check /dev/vda1 check /dev/vda1
@@ -7,22 +10,29 @@ check /dev/vda1
# Runlevel to start after bootstrap, runlevel 'S' # Runlevel to start after bootstrap, runlevel 'S'
runlevel 2 runlevel 2
# Network bringup script # Network bringup script, blocks boot like run stanza, use below task instead
network /sbin/ifup -a #network /sbin/ifup -a
#task [S] /etc/ -- Setting up preliminary keymap
# Services to be monitored and respawned as needed # Services to be monitored and respawned as needed
service [2345] /sbin/klogd -n -- Kernel logging server service [S12345] /sbin/klogd -n -- Kernel log daemon
service [2345] /sbin/syslogd -n -- Syslog server service [S12345] /sbin/syslogd -n -- Syslog daemon
service [2345] /usr/sbin/dropbear -R -F -p 22 -- Dropbear SSH daemon
service [2345] /usr/sbin/crond -f -S -c /etc/crontabs -- Cron daemon
service [2345] log /usr/sbin/ntpd -n -N -p pool.ntp.org
#service [2345] /sbin/acpid -f -- ACPI daemon
# Virtual consoles to start getty on ### Every line below can be a service/task per file in /etc/finit.d/*.conf ###
# One-shot task to start Debian/Busybox style /etc/network/interfaces
# Depends on syslogd having started. Redirect any output to log.
task [2345] log <svc/sbin/syslogd> /sbin/ifup -a -- Networking
# Start SSH daemon as soon as basic networking comes up
service [2345] <net/lo/up> /usr/sbin/dropbear -R -F -p 22 -- Dropbear SSH daemon
service [2345] <svc/sbin/syslogd> /usr/sbin/crond -f -S -c /etc/crontabs -- Cron daemon
# Silly Busybox ntpd has no option to use syslog when running in foreground
service [2345] log /usr/sbin/ntpd -n -N -p pool.ntp.org
#service [2345] /sbin/acpid -f -- ACPI daemon
# Consoles to start getty on when system is up
tty /dev/tty1 tty /dev/tty1
tty /dev/tty2 tty /dev/tty2
tty /dev/tty3 tty /dev/tty3
#console /dev/tty1