]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
systemd: select fsck wrapper from util-linux
authorCarlos Santos <casantos@datacom.ind.br>
Wed, 12 Apr 2017 11:42:49 +0000 (08:42 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 24 Apr 2017 13:55:40 +0000 (15:55 +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>
(cherry picked from commit 3fddb73ffd17f8a8f701f780e3c28a0f70f45da4)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/systemd/Config.in

index aaed7dc020010c9f411ee36de9b25ab5c407d401..ac8175c337f532d8797f4ea31f01b98d79fcc9cf 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