[arch-projects] [mkinitcpio] [PATCH 1/1] fsck: do not complain about missing helper for tmpfs
16 Jul
2020
16 Jul
'20
3:05 p.m.
From: Christian Hesse <mail@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 <mail@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
1585
Age (days ago)
1585
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christian Hesse