]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
fireinfo: Remove old patch.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Feb 2014 16:38:16 +0000 (17:38 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Feb 2014 16:38:16 +0000 (17:38 +0100)
lfs/fireinfo
src/patches/fireinfo-2.1.8-Revert-Read-mounted-filesystems-from-proc-mounts-ins.patch [deleted file]

index a60aa537064648c4617ac5a6a29d5758ff74ed3e..f71437fb036fc65f3fa49533104d3cbdcf676b8f 100644 (file)
@@ -71,7 +71,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 
-       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/fireinfo-2.1.8-Revert-Read-mounted-filesystems-from-proc-mounts-ins.patch
        cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh
        cd $(DIR_APP) && ./configure --prefix=/usr
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh
        cd $(DIR_APP) && ./configure --prefix=/usr
        cd $(DIR_APP) && make $(MAKETUNING)
diff --git a/src/patches/fireinfo-2.1.8-Revert-Read-mounted-filesystems-from-proc-mounts-ins.patch b/src/patches/fireinfo-2.1.8-Revert-Read-mounted-filesystems-from-proc-mounts-ins.patch
deleted file mode 100644 (file)
index 86e30cb..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-From 758f624a9862b214f39c9106137a61e2d6b14544 Mon Sep 17 00:00:00 2001
-From: Michael Tremer <michael.tremer@ipfire.org>
-Date: Fri, 7 Feb 2014 14:56:14 +0100
-Subject: [PATCH] Revert "Read mounted filesystems from /proc/mounts instead of
- /etc/mtab."
-
-This reverts commit c916f644c57b638b3128d0e882c32bf50ea29631.
-
-For some reason, the output of /etc/mtab and /proc/mounts is not
-identical and the root device is missing in /proc/mounts on IPFire.
----
- src/fireinfo/system.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/fireinfo/system.py b/src/fireinfo/system.py
-index 800032e..40ff7b0 100644
---- a/src/fireinfo/system.py
-+++ b/src/fireinfo/system.py
-@@ -364,7 +364,7 @@ class System(object):
-               """
-                       Return the dev node of the root disk.
-               """
--              with open("/proc/mounts", "r") as f:
-+              with open("/etc/mtab", "r") as f:
-                       dev, mountpoint, fs, rest = f.readline().split(" ", 3)
-                       if mountpoint == "/" and not fs == "rootfs":
-                               # Cut off /dev
--- 
-1.8.3.1
-