Alpine Linux: Slight update + sync with Debian

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-10-10 11:46:02 +02:00
1 parent 2d9c147e0e
commit 3c1c5621a5
3 files changed
+29 -10

No files matched your search

+5 -4
View File
@@ -13,6 +13,7 @@ used, or change the install prefix to `/usr`.
The bundled `build.sh` script can be used to configure and build finit:
alpine:~# cd finit
alpine:~/finit# ./contrib/alpine/build.sh
alpine:~/finit# make install
@@ -26,10 +27,10 @@ yourself to point to `finit` instead of `/bin/busybox`.
Before rebooting, make sure to set up a [/etc/finit.conf](finit.conf),
and [/etc/finit.d/](finit.d) for your services. Samples are included in
this directory. Notice the symlinks in `/etc/finit.d/`, you can create
them yourself or add them at runtime using `initctl enable SERVICE`.
You can also use a standard [/etc/rc.local](rc.local) for one-shot set
up and initialization like keyboard language etc.
this directory. Notice the symlinks in `/etc/finit.d/`, which can be
created at runtime using `initctl enable SERVICE`. You can also use a
standard [/etc/rc.local](rc.local) for one-shot tasks and initialization
like keyboard language etc.
[libuEv]: https://github.com/troglobit/libuev
[libite]: https://github.com/troglobit/libite
+23 -2
View File
@@ -1,7 +1,13 @@
#!/bin/sh -e
if [ ! -f configure -a -f autogen.sh ]; then
echo "Building from GIT, creating configure script ..."
echo
echo "*** Configuring Finit for Alpine Linux"
if [ ! -e configure ]; then
echo " The configure script is missing, maybe you're using a version from GIT?"
echo " Attempting to run the autogen.sh script, you will need these tools:"
echo " autoconf, automake, libtool, pkg-config ..."
echo
./autogen.sh
fi
@@ -15,4 +21,19 @@ PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig ./configure \
--enable-inetd-discard-plugin --enable-inetd-time-plugin \
--with-heading="Alpine Linux 3.6" --with-hostname=alpine
echo
echo "*** Building ..."
echo
make
if [ $? -ne 0 ]; then
echo
echo "*** The build failed for some reason"
echo
exit 1
fi
echo
echo "*** Done"
echo
+1 -4
View File
@@ -1,7 +1,4 @@
# /etc/finit.conf: Example for Alpine Linux 3.4-3.6
# Services and tasks required to run at bootstrap [S] must
# be listed in this file.
#
# /etc/finit.conf: Example for Alpine Linux
# See /etc/finit.d/*.conf and `initctl list` for other services
## Runlevel to start after bootstrap, runlevel 'S'