Skip to content

Commit

Permalink
Adjust the default download repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Jan 27, 2025
1 parent 8e63973 commit b29227e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/packaging-openwrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ on:
type: choice
options:
- ophub/kernel
- breakings/OpenWrt
- breakingbadboy/OpenWrt
auto_kernel:
description: "Auto use the latest kernel"
required: false
Expand Down
6 changes: 3 additions & 3 deletions README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
| OPENWRT_ARMVIRT | 无 | 必选项. 设置 `openwrt-armvirt-64-default-rootfs.tar.gz` 的文件路径,可以使用相对路径如 `openwrt/bin/targets/*/*/*.tar.gz` 或 网络文件下载地址如 `https://github.com/*/releases/*/*.tar.gz` |
| SCRIPT_REPO_URL | unifreq/openwrt_packit | 设置打包脚本源码仓库的 `<owner>/<repo>` |
| SCRIPT_REPO_BRANCH | master | 设置打包脚本源码仓库的分支 |
| KERNEL_REPO_URL | breakings/OpenWrt | 设置内核下载仓库的 `<owner>/<repo>`,默认从 breakings 维护的[内核 Releases](https://github.com/breakings/OpenWrt/releases/tag/kernel_stable)里下载。 |
| KERNEL_VERSION_NAME | 6.1.y_6.6.y | 设置[内核版本](https://github.com/breakings/OpenWrt/releases/tag/kernel_stable),可以查看并选择指定。可指定单个内核如 `6.1.y` ,可选择多个内核用`_`连接如 `6.1.y_6.6.y` |
| KERNEL_REPO_URL | breakingbadboy/OpenWrt | 设置内核下载仓库的 `<owner>/<repo>`,默认从 breakingbadboy 维护的[内核 Releases](https://github.com/breakingbadboy/OpenWrt/releases/tag/kernel_stable)里下载。 |
| KERNEL_VERSION_NAME | 6.1.y_6.6.y | 设置[内核版本](https://github.com/breakingbadboy/OpenWrt/releases/tag/kernel_stable),可以查看并选择指定。可指定单个内核如 `6.1.y` ,可选择多个内核用`_`连接如 `6.1.y_6.6.y` |
| KERNEL_AUTO_LATEST | true | 设置是否自动采用同系列最新版本内核。当为 `true` 时,将自动在内核库中查找在 `KERNEL_VERSION_NAME` 中指定的内核如 `6.1.y` 的同系列是否有更新的版本,如有更新版本时,将自动更换为最新版。设置为 `false` 时将编译指定版本内核。 |
| PACKAGE_SOC | all | 设置打包盒子的 `SOC` ,默认 `all` 打包全部盒子,可指定单个盒子如 `s905x3` ,可选择多个盒子用`_`连接如 `s905x3_s905d` 。各盒子的SoC代码为:`vplus`, `cm3`, `jp-tvbox`, `beikeyun`, `l1pro`, `rock5b`, `rock5c`, `e52c`, `r66s`, `r68s`, `e25`, `photonicat`, `watermelon-pi`, `zcube1-max`, `ak88`, `ht2`, `e20c`, `h28k`, `h66k`, `h68k`, `h69k`, `h69k-max`, `h88k`, `h88k-v3`, `rk3399`, `s905`, `s905d`, `s905x2`, `s905x3`, `s912`, `s922x`, `s922x-n2`, `qemu`, `diy`。说明:`s922x-n2` 是 `s922x-odroid-n2`, `diy` 是自定义盒子。 |
| GZIP_IMGS | auto | 设置打包完毕后文件压缩的格式,可选值 `.gz`(默认) / `.xz` / `.zip` / `.zst` / `.7z` |
Expand Down Expand Up @@ -97,7 +97,7 @@
- [coolsnowwolf/lede](https://github.com/coolsnowwolf/lede)
- [immortalwrt](https://github.com/immortalwrt/immortalwrt)
- [unifreq/openwrt_packit](https://github.com/unifreq/openwrt_packit)
- [breakings/OpenWrt](https://github.com/breakings/OpenWrt)
- [breakingbadboy/OpenWrt](https://github.com/breakingbadboy/OpenWrt)

## License

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Based on the latest kernel packaging scripts released by `Flippy`, optional para
| OPENWRT_ARMVIRT | None | Required. Set the file path for `openwrt-armvirt-64-default-rootfs.tar.gz`. You can use a relative path such as `openwrt/bin/targets/*/*/*.tar.gz` or a web file download link such as `https://github.com/*/releases/*/*.tar.gz` |
| SCRIPT_REPO_URL | unifreq/openwrt_packit | Set `<owner>/<repo>` of the packaging script source repository |
| SCRIPT_REPO_BRANCH | master | Set the branch of the packaging script source repository |
| KERNEL_REPO_URL | breakings/OpenWrt | Set `<owner>/<repo>` of the kernel download repository, it downloads from the [kernel Releases](https://github.com/breakings/OpenWrt/releases/tag/kernel_stable) maintained by breakings by default. |
| KERNEL_VERSION_NAME | 6.1.y_6.6.y | Set the [Kernel version](https://github.com/breakings/OpenWrt/releases/tag/kernel_stable), you can check and select a specific one. You can specify a single kernel such as `6.1.y`, or select multiple kernels connected with `_` like `6.1.y_6.6.y` |
| KERNEL_REPO_URL | breakingbadboy/OpenWrt | Set `<owner>/<repo>` of the kernel download repository, it downloads from the [kernel Releases](https://github.com/breakingbadboy/OpenWrt/releases/tag/kernel_stable) maintained by breakingbadboy by default. |
| KERNEL_VERSION_NAME | 6.1.y_6.6.y | Set the [Kernel version](https://github.com/breakingbadboy/OpenWrt/releases/tag/kernel_stable), you can check and select a specific one. You can specify a single kernel such as `6.1.y`, or select multiple kernels connected with `_` like `6.1.y_6.6.y` |
| KERNEL_AUTO_LATEST | true | Set whether to automatically adopt the latest version kernel of the same series. When set to `true`, it will automatically look for whether there is an updated version of the kernel specified in `KERNEL_VERSION_NAME`, such as `6.1.y`, in the kernel library, and if there is an updated version, it will automatically replace it with the latest version. When set to `false`, it will compile the specified version kernel. |
| PACKAGE_SOC | all | Set the `SOC` of the package box, the default is `all` to package all boxes, you can specify a single box like `s905x3`, or select multiple boxes connected with `_` like `s905x3_s905d`. The SoC codes for each box are: `vplus`, `cm3`, `jp-tvbox`, `beikeyun`, `l1pro`, `rock5b`, `rock5c`, `e52c`, `r66s`, `r68s`, `e25`, `photonicat`, `watermelon-pi`, `zcube1-max`, `ht2`, `e20c`, `h28k`, `h66k`, `h68k`, `h69k`, `h69k-max`, `h88k`, `h88k-v3`, `rk3399`, `s905`, `s905d`, `s905x2`, `s905x3`, `s912`, `s922x`, `s922x-n2`, `qemu`, `diy`. Note: `s922x-n2` is `s922x-odroid-n2`, `diy` is a custom box. |
| GZIP_IMGS | auto | Set the format of the file compression after packaging, optional values are `.gz` (default) / `.xz` / `.zip` / `.zst` / `.7z` |
Expand Down Expand Up @@ -97,7 +97,7 @@ According to the standard of github.com, 3 environment variables have been outpu
- [coolsnowwolf/lede](https://github.com/coolsnowwolf/lede)
- [immortalwrt](https://github.com/immortalwrt/immortalwrt)
- [unifreq/openwrt_packit](https://github.com/unifreq/openwrt_packit)
- [breakings/OpenWrt](https://github.com/breakings/OpenWrt)
- [breakingbadboy/OpenWrt](https://github.com/breakingbadboy/OpenWrt)

## License

Expand Down
2 changes: 1 addition & 1 deletion openwrt_flippy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PACKAGE_OPENWRT_6XY=("r66s" "r68s" "e25" "photonicat" "cm3" "rk3399")
PACKAGE_SOC_VALUE="all"

# Set the default packaged kernel download repository
KERNEL_REPO_URL_VALUE="breakings/OpenWrt"
KERNEL_REPO_URL_VALUE="breakingbadboy/OpenWrt"
# Set kernel tag: kernel_stable, kernel_rk3588, kernel_rk35xx
KERNEL_TAGS=("stable" "rk3588" "rk35xx")
STABLE_KERNEL=("6.1.y" "6.6.y")
Expand Down

0 comments on commit b29227e

Please sign in to comment.