Skip to content

Commit

Permalink
Update diy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddin9 authored Aug 4, 2022
1 parent 0563713 commit bf1d3eb
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions devices/ipq807x/diy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ shopt -s extglob
SHELL_FOLDER=$(dirname $(readlink -f "$0"))
bash $SHELL_FOLDER/../common/kernel_5.15.sh

rm -rf package/boot/uboot-envtools package/firmware/ipq-wifi package/firmware/ath11k* package/kernel/mac80211 package/qca package/qat target/linux/generic
rm -rf package/boot/uboot-envtools package/firmware/ipq-wifi package/firmware/ath11k* package/kernel/mac80211 package/qca package/qat

<<'COMMENT'
svn export --force https://github.com/Boos4721/openwrt/trunk/package/boot/uboot-envtools package/boot/uboot-envtools
Expand All @@ -14,31 +14,23 @@ svn export --force https://github.com/Boos4721/openwrt/trunk/package/firmware/at
svn export --force https://github.com/Boos4721/openwrt/trunk/package/qca package/qca
svn export --force https://github.com/Boos4721/openwrt/trunk/package/qat package/qat
svn export --force https://github.com/Boos4721/openwrt/trunk/package/kernel/mac80211 package/kernel/mac80211
svn co https://github.com/Boos4721/openwrt/trunk/target/linux/generic target/linux/generic
svn co https://github.com/Boos4721/openwrt/trunk/target/linux/ipq807x target/linux/ipq807x
curl -sfL https://raw.githubusercontent.com/Lstions/openwrt-boos/master/target/linux/ipq807x/patches-5.15/608-5.15-qca-nss-ssdk-delete-fdb-entry-using-netdev -o target/linux/ipq807x/patches-5.15/608-5.15-qca-nss-ssdk-delete-fdb-entry-using-netdev.patch
curl -sfL https://raw.githubusercontent.com/Boos4721/openwrt/master/package/kernel/linux/modules/netsupport.mk -o package/kernel/linux/modules/netsupport.mk
curl -sfL https://raw.githubusercontent.com/Boos4721/openwrt/master/include/kernel-5.15.mk -o include/kernel-5.15
COMMENT

git clone https://github.com/Boos4721/openwrt boos
cd boos
git checkout 1f6a1e0d872d373d904cd4c16dec87ac3c03a042
cd -
mv -f boos/package/boot/uboot-envtools package/boot/
mv -f boos/package/firmware/ipq-wifi package/firmware/
mv -f boos/package/firmware/ath11k-board package/firmware/
mv -f boos/package/firmware/ath11k-firmware package/firmware/
mv -f boos/package/qca package/
mv -f boos/package/qat package/
mv -f boos/package/kernel/mac80211 package/kernel/
mv -f boos/target/linux/generic target/linux/
mv -f boos/target/linux/ipq807x target/linux/
mv -f boos/include/kernel-5.15.mk include/kernel-5.15
mv -f boos/package/kernel/linux/modules/netsupport.mk package/kernel/linux/modules/netsupport.mk

svn export --force https://github.com/Boos4721/openwrt/trunk/package/boot/uboot-envtools package/boot/uboot-envtools
svn co https://github.com/Boos4721/openwrt/trunk/target/linux/ipq807x target/linux/ipq807x
svn co https://github.com/Boos4721/openwrt/trunk/target/linux/generic/pending-5.15 target/linux/generic/pending-5.15
curl -sfL https://raw.githubusercontent.com/Boos4721/openwrt/master/package/kernel/linux/modules/netsupport.mk -o package/kernel/linux/modules/netsupport.mk

kernel_v="$(cat include/kernel-5.15 | grep LINUX_KERNEL_HASH-* | cut -f 2 -d - | cut -f 1 -d ' ')"
echo "KERNEL=${kernel_v}" >> $GITHUB_ENV || true
Expand Down

0 comments on commit bf1d3eb

Please sign in to comment.