[PATCH] init: /dev/.initramfs symlink fixup

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

 



It's not related to $PREFIX being set or not (anymore).

Signed-off-by: Michal Soltys <soltys@xxxxxxxx>
---
 modules.d/99base/init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules.d/99base/init b/modules.d/99base/init
index c109ae4..0ce8ed8 100755
--- a/modules.d/99base/init
+++ b/modules.d/99base/init
@@ -380,7 +380,7 @@ if [ -d "$NEWROOT/run" ]; then
 else
     NEWRUN=/dev/.run
     mkdir -p -m 0755 "$NEWRUN"
-    [ -n "$PREFIX" ] && ln -sfn .run/initramfs /dev/.initramfs
+    ln -sfn .run/initramfs /dev/.initramfs
     # if initramfs's udev uses /run by default, but the host is
     # still /run-less, we should copy udev's data to legacy
     # /dev/.udev, so the necessary info is available for the host
-- 
1.7.7.1

--
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