]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
usrmount: always install
authorAlexander Tsoy <alexander@tsoy.me>
Thu, 21 Nov 2013 16:33:38 +0000 (20:33 +0400)
committerHarald Hoyer <harald@redhat.com>
Wed, 11 Dec 2013 13:38:28 +0000 (14:38 +0100)
/usr should be mounted by initramfs even if /sbin/init lives in /

modules.d/98usrmount/module-setup.sh

index d8a0ec23fd4352e4bd1957b2f71d170d51742915..31a6229333f2749da72eb7db4495780f5ff015e1 100755 (executable)
@@ -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
 }