Blame 0056-base-module-setup.sh-link-proc-self-mounts-to-initdi.patch

Harald Hoyer 35271e
From 832d85cbbc70bf3a6029faac45e7398d4b6ff179 Mon Sep 17 00:00:00 2001
Harald Hoyer 35271e
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 35271e
Date: Tue, 15 May 2012 19:03:50 +0200
Harald Hoyer 35271e
Subject: [PATCH] base/module-setup.sh: link /proc/self/mounts to
Harald Hoyer 35271e
 $initdir/etc/mtab
Harald Hoyer 35271e
Harald Hoyer 35271e
---
Harald Hoyer 35271e
 modules.d/99base/module-setup.sh |    1 +
Harald Hoyer 35271e
 1 file changed, 1 insertion(+)
Harald Hoyer 35271e
Harald Hoyer 35271e
diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh
Harald Hoyer 35271e
index 581ba93..8bf3d4d 100755
Harald Hoyer 35271e
--- a/modules.d/99base/module-setup.sh
Harald Hoyer 35271e
+++ b/modules.d/99base/module-setup.sh
Harald Hoyer 35271e
@@ -48,5 +48,6 @@ install() {
Harald Hoyer 35271e
         done > "${initdir}/etc/cmdline.d/distroinit.conf"
Harald Hoyer 35271e
     fi
Harald Hoyer 35271e
 
Harald Hoyer 35271e
+    ln -s /proc/self/mounts "$initdir/etc/mtab"
Harald Hoyer 35271e
 }
Harald Hoyer 35271e