[Piuparts-commits] [piuparts] 03/03: Revert "p: ensure /etc/mtab exists in the chroot"
Holger Levsen
holger at moszumanska.debian.org
Wed Jun 17 13:14:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository piuparts.
commit dbaafeb7614bb40e420fcee82a2b10622519301b
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Jun 17 15:13:05 2015 +0200
Revert "p: ensure /etc/mtab exists in the chroot"
This reverts commit f9aed0009df71f4c77d1cf6dcf5da0ceb14bc45f.
---
debian/changelog | 4 +---
piuparts.py | 3 ---
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index fa00be9..cf909e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,6 @@
piuparts (0.65) UNRELEASED; urgency=medium
- [ Andreas Beckmann ]
- * piuparts.py:
- - Ensure /etc/mtab exists in the chroot.
+ * continue development...
-- Holger Levsen <holger at debian.org> Fri, 12 Jun 2015 13:43:42 +0200
diff --git a/piuparts.py b/piuparts.py
index 3c96cf0..b2dd507 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -1522,9 +1522,6 @@ class Chroot:
def mount_proc(self):
"""Mount /proc inside chroot."""
self.run(["mount", "-t", "proc", "proc", "/proc"])
- etcmtab = self.relative("etc/mtab")
- if not os.path.lexists(etcmtab):
- os.symlink("../proc/mounts", etcmtab)
self.mkdir_p("dev/pts")
self.run(["mount", "-t", "devpts", "devpts", "/dev/pts"])
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list