diff --git a/include/target.mk b/include/target.mk index 30b0b82f4..c922c9ac5 100644 --- a/include/target.mk +++ b/include/target.mk @@ -23,8 +23,7 @@ DEFAULT_PACKAGES:=\ opkg \ uci \ uclient-fetch \ - urandom-seed \ - urngd + urandom-seed ifneq ($(CONFIG_SELINUX),) DEFAULT_PACKAGES+=busybox-selinux procd-selinux diff --git a/package/lean/autocore/Makefile b/package/lean/autocore/Makefile index 1a40ace88..8d1935593 100644 --- a/package/lean/autocore/Makefile +++ b/package/lean/autocore/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=autocore PKG_VERSION:=1 -PKG_RELEASE:=37 +PKG_RELEASE:=38 include $(INCLUDE_DIR)/package.mk @@ -18,7 +18,7 @@ define Package/autocore-arm MAINTAINER:=CN_SZTL DEPENDS:=@(TARGET_bcm27xx||TARGET_bcm53xx||TARGET_ipq40xx||TARGET_ipq806x||TARGET_mvebu||TARGET_rockchip) \ +TARGET_bcm27xx:bcm27xx-userland +TARGET_bcm53xx:nvram \ - +(TARGET_ipq40xx||TARGET_ipq806x):lm-sensors + +TARGET_ipq806x:lm-sensors VARIANT:=arm endef diff --git a/package/lean/autocore/files/arm/sbin/cpuinfo b/package/lean/autocore/files/arm/sbin/cpuinfo index c55738b65..0d409fe2d 100755 --- a/package/lean/autocore/files/arm/sbin/cpuinfo +++ b/package/lean/autocore/files/arm/sbin/cpuinfo @@ -15,7 +15,7 @@ else fi if grep -q "ipq40xx" "/etc/openwrt_release"; then - sys_temp="$(sensors | grep -Eo '\+[0-9]+.+C' | sed ':a;N;$!ba;s/\n/ /g;s/+//g')" + sys_temp="$(cat /sys/class/ieee80211/phy*/device/hwmon/hwmon*/temp1_input | sed 's/000/.0°C/')" else sys_temp="$(awk '{ printf("%.1f °C", $0 / 1000) }' /sys/class/thermal/thermal_zone0/temp)" fi