usrmount: always install
/usr should be mounted by initramfs even if /sbin/init lives in /master
parent
f11712ea21
commit
ded4c82ace
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue