Creating directory /var/log/sysstat during install is wrong, as it will corrupt 
the symbolic link /var -> /tmp
The directory is already created dynamically from the init script.

Signed-off-by: Thomas Langer <thomas.lan...@infineon.com>

---
Index: utils/sysstat/Makefile
===================================================================
--- utils/sysstat/Makefile      (revision 13431)
+++ utils/sysstat/Makefile      (working copy)
@@ -47,7 +47,6 @@
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/{sadc,sa1,sa2} $(1)/usr/lib/sysstat
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/{sar,sadf,iostat,mpstat} $(1)/usr/bin
-       $(INSTALL_DIR) $(1)/var/log/sysstat
        $(INSTALL_DIR) $(1)/etc/sysstat
        $(CP) $(PKG_BUILD_DIR)/sysstat.ioconf $(1)/etc/sysstat
        $(CP) ./files/config $(1)/etc/sysstat/config

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to