Update Alpine Linux sample to latest Finit dev.

- Show progress when booting
- Use noclear + nowait on TTY's
- Update `loadkmap` args

Works on Alpine Linux 3.4 .. 3.6

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-09-04 07:19:12 +02:00
1 parent 3e2b78305d
commit 442598282f
3 files changed
+10 -8

No files matched your search

+5 -4
View File
@@ -1,5 +1,5 @@
HowTo: Finit on Alpine Linux 3.4 HowTo: Finit on Alpine Linux 3.4-3.6
================================ ====================================
Mini HowTo using Finit to boot an Alpine Linux system. It is assumed Mini HowTo using Finit to boot an Alpine Linux system. It is assumed
that the user has already installed a compiler, C library header files, that the user has already installed a compiler, C library header files,
@@ -11,11 +11,12 @@ 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-rw-rootfs --enable-x11-common-plugin \ --enable-rw-rootfs --enable-progress \
--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.4" --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 the other configure flags are *not*.
+4 -3
View File
@@ -5,6 +5,7 @@
#module fbcon #module fbcon
module button module button
module evdev module evdev
module 8139cp
# Runlevel to start after bootstrap, runlevel 'S' # Runlevel to start after bootstrap, runlevel 'S'
runlevel 2 runlevel 2
@@ -35,6 +36,6 @@ service [2345] <svc/sbin/syslogd> /usr/sbin/crond -f -S -c /etc/crontabs -- Cron
service [2345] /sbin/acpid -f -- ACPI daemon service [2345] /sbin/acpid -f -- ACPI daemon
# Consoles to start getty on when system is up # Consoles to start getty on when system is up
tty /dev/tty1 tty /dev/tty1 noclear nowait
tty /dev/tty2 tty /dev/tty2 noclear nowait
tty /dev/tty3 tty /dev/tty3 noclear nowait
+1 -1
View File
@@ -1,2 +1,2 @@
#!/bin/sh #!/bin/sh
zcat /etc/keymap/sv-latin1.bmap.gz | loadkmap zcat /etc/keymap/se.bmap.gz | loadkmap