From 1939191b1a0758f23089c9af2e643e985be048e3 Mon Sep 17 00:00:00 2001 From: RISCi_ATOM Date: Wed, 13 Jun 2018 07:43:48 -0400 Subject: [PATCH] Fix modules directory location, update usbutils (github vs project repo) and fix default wifi ssid --- include/kernel.mk | 2 +- package/kernel/mac80211/files/lib/wifi/mac80211.sh | 7 ++++--- package/utils/usbutils/Makefile | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/include/kernel.mk b/include/kernel.mk index 4fe66e30c1..d454fa1d70 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -67,7 +67,7 @@ else LINUX_UNAME_VERSION:=$(strip $(shell cat $(LINUX_DIR)/include/config/kernel.release 2>/dev/null)) endif - MODULES_SUBDIR:=lib/modules/$(LINUX_UNAME_VERSION)-gnu + MODULES_SUBDIR:=lib/modules/$(LINUX_UNAME_VERSION) TARGET_MODULES_DIR:=$(LINUX_TARGET_DIR)/$(MODULES_SUBDIR) ifneq ($(TARGET_BUILD),1) diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh index 511a9188db..4bc439bcc0 100644 --- a/package/kernel/mac80211/files/lib/wifi/mac80211.sh +++ b/package/kernel/mac80211/files/lib/wifi/mac80211.sh @@ -113,14 +113,15 @@ detect_mac80211() { set wireless.radio${devidx}.hwmode=11${mode_band} ${dev_id} ${ht_capab} - set wireless.radio${devidx}.disabled=1 + set wireless.radio${devidx}.disabled=0 set wireless.default_radio${devidx}=wifi-iface set wireless.default_radio${devidx}.device=radio${devidx} set wireless.default_radio${devidx}.network=lan set wireless.default_radio${devidx}.mode=ap - set wireless.default_radio${devidx}.ssid=OpenWrt - set wireless.default_radio${devidx}.encryption=none + set wireless.default_radio${devidx}.ssid=libreCMC + set wireless.default_radio${devidx}.encryption=psk + set wireless.default_radio${devidx}.key=librecmc EOF uci -q commit wireless diff --git a/package/utils/usbutils/Makefile b/package/utils/usbutils/Makefile index 7f798954ae..53e80fc84a 100644 --- a/package/utils/usbutils/Makefile +++ b/package/utils/usbutils/Makefile @@ -37,7 +37,7 @@ USB_IDS_FILE:=usb.ids.$(USB_IDS_REV) define Download/usb_ids FILE:=$(USB_IDS_FILE) URL_FILE:=usb.ids - URL:=@GITHUB/gentoo/hwids/$(USB_IDS_REV) + URL:=$(PROJECT_GIT)/hwids/raw/$(USB_IDS_REV)/usb.ids HASH:=2d0403ffccc0ff7150e32c0bf8e2878816b76ba08d2c3bb1059f33627a3da30f endef $(eval $(call Download,usb_ids)) -- 2.25.1