Skip to contentSkip to conversation

usrmount: always install

PATCH In review Alexander Tsoy 2 participants 2 messages Nov 21, 2013 – Dec 11, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usrmount: always install

/usr should be mounted by initramfs even if /sbin/init lives in /

---
 modules.d/98usrmount/module-setup.sh | 3 ---
 1 file changed, 3 deletions(-)
modules.d/98usrmount/module-setup.sh +0 -3
index d8a0ec2..31a6229 100755
@@ -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
 }
 
Signature · 1 line
1.8.3.2

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 11 lines · Alexander Tsoy

/usr should be mounted by initramfs even if /sbin/init lives in /

---
 modules.d/98usrmount/module-setup.sh | 3 ---
 1 file changed, 3 deletions(-)
modules.d/98usrmount/module-setup.sh +0 -0
index d8a0ec2..31a6229 100755

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

Quoted 10 lines
modules.d/98usrmount/module-setup.sh +0 -3
@@ -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
 }
 

Thanks! Pushed