From: Christian Hesse <m...@eworm.de> 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 <m...@eworm.de> --- 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