Skip to content

Commit 0806648

Browse files
authored
admin/netdata: Update to 1.8.0
Update netdata to 1.8.0 Add back python modules, these are tweaked (modified) for netdata Add additional flags to slim down the binary size Signed-off-by: Daniel Engberg <[email protected]>
1 parent 5014827 commit 0806648

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

admin/netdata/Makefile

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=netdata
11-
PKG_VERSION:=1.7.0
11+
PKG_VERSION:=1.8.0
1212
PKG_RELEASE:=1
1313
PKG_MAINTAINER:=Daniel Engberg <[email protected]>
1414
PKG_LICENSE:=GPL-3.0
1515
PKG_LICENSE_FILES:=COPYING
1616

1717
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
1818
PKG_SOURCE_URL:=https://github.com/firehol/netdata/releases/download/v$(PKG_VERSION)
19-
PKG_HASH:=7fa23ceaccf6548fba165cd4839ce694784b2fcf7f90de0a0162b9c529805fc0
19+
PKG_HASH:=1624a3b02f07dc8881b8edd5899049d4d3d53e485424ffb2fb65a322e2ff82c3
2020

2121
PKG_INSTALL:=1
2222
PKG_FIXUP:=autoreconf
@@ -36,6 +36,9 @@ define Package/netdata/description
3636
monitoring for Linux systems, applications and SNMP devices over the web.
3737
endef
3838

39+
TARGET_CFLAGS += -ffunction-sections -fdata-sections
40+
TARGET_LDFLAGS += -Wl,--gc-sections
41+
3942
CONFIGURE_ARGS += --with-zlib --with-math --disable-x86-sse --disable-lto
4043

4144
define Package/netdata/conffiles
@@ -58,8 +61,6 @@ define Package/netdata/install
5861
mkdir -p $(1)/usr/lib/netdata
5962
$(CP) $(PKG_INSTALL_DIR)/usr/lib/netdata $(1)/usr/lib
6063
rm $(1)/usr/lib/netdata/python.d/python-modules-installer.sh
61-
rm -rf $(1)/usr/lib/netdata/python.d/python_modules/pyyaml2
62-
rm -rf $(1)/usr/lib/netdata/python.d/python_modules/pyyaml3
6364
chmod 4755 $(1)/usr/lib/netdata/plugins.d/apps.plugin
6465
mkdir -p $(1)/etc/init.d
6566
$(INSTALL_BIN) ./files/netdata.init $(1)/etc/init.d/netdata

0 commit comments

Comments
 (0)