[PATCH] usrmount: always install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



/usr should be mounted by initramfs even if /sbin/init lives in /
---
 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 d8a0ec2..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.3.2

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux