mkinitrd unification across distributions
 help / color / mirror / Atom feed
* [PATCH] usrmount: always install
@ 2013-11-21 16:33 Alexander Tsoy
       [not found] ` <E1VjXM1-00015c-6l-7GBPmfXo8GgjmsMGrRdz4w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Tsoy @ 2013-11-21 16:33 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

/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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-11 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-21 16:33 [PATCH] usrmount: always install Alexander Tsoy
     [not found] ` <E1VjXM1-00015c-6l-7GBPmfXo8GgjmsMGrRdz4w@public.gmane.org>
2013-12-11 13:39   ` Harald Hoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox