doc/build.md: Remove mention of --enable-embedded configure option

As suggested in GitHub issue #68.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-03-17 16:55:02 +01:00
1 parent d335c9833c
commit 37d391d53a
1 file changed
+5 -8
+5 -8
View File
@@ -22,9 +22,6 @@ configure:
* `--disable-inetd`: Disable the built-in inetd server. * `--disable-inetd`: Disable the built-in inetd server.
* `--enable-embedded`: Target finit for BusyBox getty and mdev instead
of a standard Linux distribution with GNU tools and udev.
* `--enable-rw-rootfs`: Most desktop and server systems boot with the * `--enable-rw-rootfs`: Most desktop and server systems boot with the
root file stystem read-only. With this setting Finit will remount it root file stystem read-only. With this setting Finit will remount it
as read-write early at boot so the `bootmisc.so` plugin can run. as read-write early at boot so the `bootmisc.so` plugin can run.
@@ -58,7 +55,7 @@ First, unpack the archive:
Then configure, build and install: Then configure, build and install:
```shell ```shell
$ ./configure --enable-embedded --enable-rw-rootfs --enable-inetd-echo-plugin \ $ ./configure --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
@@ -75,10 +72,10 @@ staging directory. The environment variable `DESTDIR` controls the
destination directory when installing, very useful for building binary destination directory when installing, very useful for building binary
standalone packages. standalone packages.
To target an embedded Linux system, usally a system that use BusyBox Finit 3.0 and later can detect if it runs on an embedded system, or a
tools instead of udev & C:o, add <kbd>--enable-embedded</kbd> to the system that use BusyBox tools instead of udev & C:o. On such systems
configure command above. This enables `mdev` instead of `udev` and the `mdev` instead of `udev` is used. However, remember to also change the
BusyBox `getty` syntax. Remember to also change the Linux config to: Linux config to:
CONFIG_UEVENT_HELPER_PATH="/sbin/mdev" CONFIG_UEVENT_HELPER_PATH="/sbin/mdev"