Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddin9 committed Mar 2, 2024
1 parent 74f4a6e commit 8b91717
Show file tree
Hide file tree
Showing 32 changed files with 1,991 additions and 4,418 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Openwrt-AutoBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ jobs:
cp -rf devices/${{matrix.target}}/. openwrt/
cp -rf devices openwrt/
cd openwrt
cp -Rf ./diy/* ./ || true
chmod +x devices/common/$DIY_SH
/bin/bash "devices/common/$DIY_SH"
cp -f devices/common/$CONFIG_FILE .config
Expand All @@ -196,6 +195,7 @@ jobs:
echo "/bin/bash devices/${{matrix.target}}/$DIY_SH"
/bin/bash "devices/${{matrix.target}}/$DIY_SH"
fi
cp -Rf ./diy/* ./ || true
- name: Apply patches
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repo-dispatcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
-X POST https://api.github.com/repos/${{ github.repository }}/dispatches \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ secrets.TOKEN_KIDDIN9 }}" \
-d '{"event_type": "ipq807x_generic ${{ github.event.inputs.param }}", "client_payload": {"target": "ipq807x_generic"}}'
-d '{"event_type": "qualcommax_ipq807x ${{ github.event.inputs.param }}", "client_payload": {"target": "qualcommax_ipq807x"}}'
curl \
-X POST https://api.github.com/repos/${{ github.repository }}/dispatches \
-H "Accept: application/vnd.github.everest-preview+json" \
Expand Down
15 changes: 1 addition & 14 deletions devices/armsr_armv8/patches/rootfs.patch
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
IMAGES-y += combined.img
endif
ifeq ($(CONFIG_VMDK_IMAGES),y)
@@ -116,4 +114,34 @@ define Device/generic
@@ -116,4 +114,21 @@ define Device/generic
endef
TARGET_DEVICES += generic

Expand All @@ -46,12 +46,6 @@
+endef
+TARGET_DEVICES += box
+
+define Device/h28k
+ DEVICE_TITLE := HinLink H28K
+ DEVICE_PACKAGES := perlbase-base perlbase-utf8 perlbase-time perlbase-xsloader perlbase-file btrfs-progs luci-app-amlogic kmod-brcmfmac wpad-basic-mbedtls iw fdisk lsblk automount
+endef
+TARGET_DEVICES += h28k
+
+define Image/Build
+ if [ "$(PROFILE_SANITIZED)" == "box" ]; then \
+ export BIN_DIR=$(BIN_DIR); \
Expand All @@ -60,13 +54,6 @@
+ export ROOTFS_PARTSIZE=$(shell echo $$(($(ROOTFS_PARTSIZE)/1024/1024))); \
+ cd /data/packit/amlogic-s9xxx-openwrt; \
+ . ~/packit/packit_amlogic.sh; \
+ elif [ "$(PROFILE_SANITIZED)" == "h28k" ]; then \
+ export BIN_DIR=$(BIN_DIR); \
+ export DATE=$(DATE); \
+ export PACKAGE_SOC=$(PROFILE_SANITIZED); \
+ export ROOTFS_MB=$(shell echo $$(($(ROOTFS_PARTSIZE)/1024/1024))); \
+ cd /data/packit/flippy-openwrt-actions; \
+ . ~/packit/packit_flippy.sh; \
+ fi
+endef
+
Expand Down
4 changes: 1 addition & 3 deletions devices/common/diy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ grep -q 'PKG_RELEASE:=9' package/libs/openssl/Makefile && {
sh -c "curl -sfL https://github.com/openwrt/openwrt/commit/a48d0bdb77eb93f7fba6e055dace125c72755b6a.patch | patch -d './' -p1 --forward"
}

sed -i "/wireless.\${name}.disabled/d" package/kernel/mac80211/files/lib/wifi/mac80211.sh
sed -i "/wireless.\${name}.disabled/d" package/kernel/mac80211/files/lib/wifi/mac80211.sh || sed -i "/wireless.\${name}.disabled/d" package/network/config/wifi-scripts/files/lib/wifi/mac80211.sh

sed -i "/BuildPackage,miniupnpd-iptables/d" feeds/packages/net/miniupnpd/Makefile
sed -i 's/Os/O2/g' include/target.mk
Expand All @@ -69,8 +69,6 @@ sed -i 's/max_requests 3/max_requests 20/g' package/network/services/uhttpd/file
#rm -rf ./feeds/packages/lang/{golang,node}
sed -i "s/tty\(0\|1\)::askfirst/tty\1::respawn/g" target/linux/*/base-files/etc/inittab

sed -i '/echo "radio_config_id=${radio_md5sum}" >> $hostapd_conf_file/d' package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh

date=`date +%m.%d.%Y`
sed -i -e "/\(# \)\?REVISION:=/c\REVISION:=$date" -e '/VERSION_CODE:=/c\VERSION_CODE:=$(REVISION)' include/version.mk

Expand Down
45 changes: 0 additions & 45 deletions devices/ipq40xx_generic/patches/ACRH17.patch

This file was deleted.

15 changes: 0 additions & 15 deletions devices/ipq807x_generic/.config

This file was deleted.

8 changes: 0 additions & 8 deletions devices/ipq807x_generic/diy.sh

This file was deleted.

Loading

0 comments on commit 8b91717

Please sign in to comment.