Multi-kernel support and cross-version compatibility
- Auto-detect kernel version in msm89xx Makefile (prefers 6.12, falls back to latest available) - Add config-6.6 for OpenWrt 24.10.x support - Rename patches-6.12/ to patches/ (version-agnostic) - Move unused qcom-memshare patch to TBR/ - Restrict GHA workflows to OpenWrt 25.12.x releases - Update README with kernel compatibility table Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
e89f2c8bfb
commit
650151aac3
10 files changed
+971
-11
No files matched your search
@@ -18,11 +18,15 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Resolve latest OpenWrt 25.12.x tag
|
||||
- name: Resolve latest stable OpenWrt tag (>= 24.10)
|
||||
id: resolve
|
||||
run: |
|
||||
VERSION=$(git ls-remote --tags https://git.openwrt.org/openwrt/openwrt.git 'v25.12.*' \
|
||||
| grep -oP 'v25\.12\.\d+$' | sort -V | tail -1)
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "ERROR: Could not resolve a stable OpenWrt 25.12.x version"
|
||||
exit 1
|
||||
fi
|
||||
echo "Resolved OpenWrt version: $VERSION"
|
||||
echo "OPENWRT_VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
@@ -46,9 +50,10 @@ jobs:
|
||||
|
||||
- name: Load msm89xx target and packages
|
||||
run: |
|
||||
chmod +x apply_patches.sh && ./apply_patches.sh openwrt
|
||||
chmod +x apply_patches.sh
|
||||
./apply_patches.sh openwrt
|
||||
mv msm89xx openwrt/target/linux/msm89xx
|
||||
mv packages openwrt/package/uz801
|
||||
mv packages openwrt/package/msm8916
|
||||
|
||||
- name: Update and install feeds
|
||||
run: |
|
||||
|
||||
@@ -24,11 +24,15 @@ jobs:
|
||||
outputs:
|
||||
openwrt_version: ${{ steps.resolve.outputs.version }}
|
||||
steps:
|
||||
- name: Resolve latest OpenWrt 25.12.x tag
|
||||
- name: Resolve latest stable OpenWrt 25.12.x tag
|
||||
id: resolve
|
||||
run: |
|
||||
VERSION=$(git ls-remote --tags https://git.openwrt.org/openwrt/openwrt.git 'v25.12.*' \
|
||||
| grep -oP 'v25\.12\.\d+$' | sort -V | tail -1)
|
||||
if [ -z "$VERSION" ]; then
|
||||
echo "ERROR: Could not resolve a stable OpenWrt 25.12.x version"
|
||||
exit 1
|
||||
fi
|
||||
echo "Resolved OpenWrt version: $VERSION"
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
|
||||
@@ -66,9 +70,10 @@ jobs:
|
||||
|
||||
- name: Load msm89xx target and packages
|
||||
run: |
|
||||
chmod +x apply_patches.sh && ./apply_patches.sh openwrt
|
||||
chmod +x apply_patches.sh
|
||||
./apply_patches.sh openwrt
|
||||
mv msm89xx openwrt/target/linux/msm89xx
|
||||
mv packages openwrt/package/uz801
|
||||
mv packages openwrt/package/msm8916
|
||||
|
||||
- name: Update and install feeds
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user