From ffbe30d1e1e9fb09136bfc2d29a3cc65292b5690 Mon Sep 17 00:00:00 2001 From: Alexander Tsoy Date: Thu, 21 Nov 2013 20:33:38 +0400 Subject: [PATCH 13/13] usrmount: always install /usr should be mounted by initramfs even if /sbin/init lives in / Conflicts: modules.d/98usrmount/module-setup.sh --- modules.d/98usrmount/module-setup.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules.d/98usrmount/module-setup.sh b/modules.d/98usrmount/module-setup.sh index 1af789f..31a6229 100755 --- a/modules.d/98usrmount/module-setup.sh +++ b/modules.d/98usrmount/module-setup.sh @@ -4,10 +4,7 @@ # called by dracut check() { - local _init [[ $mount_needs ]] && return 1 - _init=$(readlink -f /sbin/init) - [[ "$init" == "${init##/usr}" ]] && return 255 return 0 } -- 1.8.4.4