From 1dd2ab6d47b8f254ad933b5c9d68b479c3188ea0 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 19 Dec 2017 23:30:44 +0100 Subject: fsck: do not complain about missing helper for tmpfs Within a (build) chroot we may have root on tmpfs. There is no fsck helper for tmpfs, so do not complain. Signed-off-by: Christian Hesse --- install/fsck | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/fsck b/install/fsck index d20750e..366cdbd 100644 --- a/install/fsck +++ b/install/fsck @@ -4,6 +4,8 @@ build() { local fsck= added=0 add_fsck() { + [[ $1 = tmpfs ]] && return + if [[ $1 = ext[234] ]]; then add_binary fsck.ext4 add_symlink /usr/bin/fsck.ext2 fsck.ext4 -- cgit v1.2.3-24-g4f1b