From 58e00fe52eca946763b75dd035d7345637e170a7 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 9 Jul 2016 11:15:33 +0200 Subject: [PATCH] Fix #17: Mention kernel CONFIG_UEVENT_HELPER_PATH and /etc/fstab Signed-off-by: Joachim Nilsson --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f5e0885..50a2da0e 100644 --- a/README.md +++ b/README.md @@ -495,7 +495,14 @@ For your convenience a set of *optional* plugins are available: * *alsa-utils.so*: Restore and save ALSA sound settings on startup/shutdown. _Optional plugin._ -* *bootmisc.so*: Setup necessary files for UTMP, tracks logins at boot. +* *bootmisc.so*: Setup necessary files and system directories for, e.g., + UTMP (tracks logins at boot). This plugin is central to get a working + system and runs at `HOOK_BASEFS_UP`. The `/var`, `/run`, and `/dev` + file systems must be writable for this plugin to work. + + Note: On an embedded system both `/var` and `/run` can be `tmpfs` RAM + disks and `/dev` is usually a `devtmpfs`. This must be defined in the + `/etc/fstab` file and in the Linux kernel config. * *dbus.so*: Setup and start system message bus, D-Bus, at boot. _Optional plugin._ @@ -790,7 +797,10 @@ standalone packages. To target an embedded Linux system, usally a system that use BusyBox tools instead of udev & C:o, add --enable-embedded to the -configure command above. +configure command above. This enables `mdev` instead of `udev` and the +BusyBox `getty` syntax. Remember to also change the Linux config to: + + CONFIG_UEVENT_HELPER_PATH="/sbin/mdev" For more configure flags, see ./configure --help