Blob Blame History Raw
From 832d85cbbc70bf3a6029faac45e7398d4b6ff179 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Tue, 15 May 2012 19:03:50 +0200
Subject: [PATCH] base/module-setup.sh: link /proc/self/mounts to
 $initdir/etc/mtab

---
 modules.d/99base/module-setup.sh |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules.d/99base/module-setup.sh b/modules.d/99base/module-setup.sh
index 581ba93..8bf3d4d 100755
--- a/modules.d/99base/module-setup.sh
+++ b/modules.d/99base/module-setup.sh
@@ -48,5 +48,6 @@ install() {
         done > "${initdir}/etc/cmdline.d/distroinit.conf"
     fi
 
+    ln -s /proc/self/mounts "$initdir/etc/mtab"
 }