systemd: select fsck wrapper from util-linux
authorCarlos Santos <casantos@datacom.ind.br>
Wed, 12 Apr 2017 11:42:49 +0000 (08:42 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 12 Apr 2017 19:13:06 +0000 (21:13 +0200)
Select the fsck required by systemd provided by util-linux. This
prevents ending up with fsck from busybox, which is incompatible
with systemd.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/Config.in

index 0f546864bd8715e5982f65d508414447f1945ca8..478cc104a9270fef9e69d3610e603c264bad8a2b 100644 (file)
@@ -22,6 +22,7 @@ menuconfig BR2_PACKAGE_SYSTEMD
        select BR2_PACKAGE_UTIL_LINUX_BINARIES
        select BR2_PACKAGE_UTIL_LINUX_MOUNT
        select BR2_PACKAGE_UTIL_LINUX_NOLOGIN
+       select BR2_PACKAGE_UTIL_LINUX_FSCK
        select BR2_PACKAGE_KMOD
        select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod-tools
        select BR2_PACKAGE_KMOD_TOOLS
@@ -61,6 +62,11 @@ menuconfig BR2_PACKAGE_SYSTEMD
          - libgcrypt package will add support for journal sealing and
            DNSSEC verification in resolved.
 
+         Notice that systemd selects the fsck wrapper from util-linux
+         but no particular fsck.<fstype> is selected. You must choose
+         the apropriate ones (e.g. e2fsck, from the e2fsprogs package)
+         according to the system configuration.
+
          http://freedesktop.org/wiki/Software/systemd
 
 if BR2_PACKAGE_SYSTEMD