summaryrefslogtreecommitdiffstats
path: root/rules/rootfs.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/rootfs.make')
-rw-r--r--rules/rootfs.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/rootfs.make b/rules/rootfs.make
index 5504daa89..dd9c0a404 100644
--- a/rules/rootfs.make
+++ b/rules/rootfs.make
@@ -145,6 +145,9 @@ endif
ifdef PTXCONF_ROOTFS_MTAB_LINK_MOUNTS
@$(call install_link, rootfs, ../proc/mounts, /etc/mtab)
endif
+ifdef PTXCONF_ROOTFS_MTAB_LINK_SELF_MOUNTS
+ @$(call install_link, rootfs, ../proc/self/mounts, /etc/mtab)
+endif
ifdef PTXCONF_ROOTFS_MTAB_LINK_VAR
@$(call install_copy, rootfs, 0, 0, 0644, \
$(PTXDIST_TOPDIR)/generic/etc/mtab, /var/tmp/mtab)