找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1790|回复: 10

github云编译OpenWRT的配置文件.config不起作用

[复制链接]
Fork官方https://github.com/openwrt/openwrt,根目录增加.config文件,借用Lean的yml脚本,github云编译时,.config文件不起作用,只编译默认的插件,不知问题出在哪里?

Run make defconfig
  make defconfig
  shell: /usr/bin/bash -e {0}

#
# configuration written to .config
#

Run make download -j8
  make download -j8
  find dl -size -1024c -exec rm -f {} \;
  shell: /usr/bin/bash -e {0}

make[2]: Entering directory '/home/runner/work/openwrt/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/runner/work/openwrt/openwrt/scripts/config'
time: target/linux/prereq#0.60#0.07#0.66
make[1] tools/flock/compile
make[2] -C tools/flock compile
...

我的恩山、我的无线 The best wifi forum is right here.
直接用这个的啊,把里边的连接改成官方的就行。
https://github.com/P3TERX/Actions-OpenWrt

点评

据说SSH连GitHub,账号会被禁,这个脚本需要SSH生成配置文件  详情 回复 发表于 2022-2-26 21:46
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
灭灵枫 发表于 2022-2-26 18:45
直接用这个的啊,把里边的连接改成官方的就行。
https://github.com/P3TERX/Actions-OpenWrt

据说SSH连GitHub,账号会被禁,这个脚本需要SSH生成配置文件

点评

不需要,编译好了,直接下载就行了。  详情 回复 发表于 2022-2-27 15:02
你本地生成弄进去啊,和这个一样的  详情 回复 发表于 2022-2-26 22:37
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

comxp 发表于 2022-2-26 21:46
据说SSH连GitHub,账号会被禁,这个脚本需要SSH生成配置文件

你本地生成弄进去啊,和这个一样的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

点评

你的自动编译失败了。。。 Hunk #1 FAILED at 65. 1 out of 1 hunk FAILED -- saving rejects to file library/Makefile.rej patching file library/version_features.c Hunk #1 succeeded at 624 (offset 41  详情 回复 发表于 2022-2-27 17:13
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

comxp 发表于 2022-2-26 21:46
据说SSH连GitHub,账号会被禁,这个脚本需要SSH生成配置文件

不需要,编译好了,直接下载就行了。

点评

想编译自定义配置的固件,不是下载。  详情 回复 发表于 2022-2-27 17:14
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
灭灵枫 发表于 2022-2-26 22:39
https://github.com/MXJNZ6/openwrt你看我的

你的自动编译失败了。。。

Hunk #1 FAILED at 65.
1 out of 1 hunk FAILED -- saving rejects to file library/Makefile.rej
patching file library/version_features.c
Hunk #1 succeeded at 624 (offset 41 lines).
Patch failed!  Please fix ./patches/100-Implements-with-ARMv8-CE.patch!
make[3]: *** [/workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/mbedtls-2.28.0/.prepared_5221861cbc14cfc186eefe840e078d7c_6664517399ebbbc92a37c5bb081b5c53] Error 1
Makefile:176: recipe for target '/workdir/openwrt/build_dir/target-aarch64_cortex-a53_musl/mbedtls-2.28.0/.prepared_5221861cbc14cfc186eefe840e078d7c_6664517399ebbbc92a37c5bb081b5c53' failed
make[3]: Leaving directory '/workdir/openwrt/package/libs/mbedtls'
time: package/libs/mbedtls/compile#0.40#0.14#0.45
    ERROR: package/libs/mbedtls failed to build.
package/Makefile:114: recipe for target 'package/libs/mbedtls/compile' failed
make[2]: Leaving directory '/workdir/openwrt'
make[2]: *** [package/libs/mbedtls/compile] Error 1
package/Makefile:110: recipe for target '/workdir/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile' failed
make[1]: *** [/workdir/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make: *** [world] Error 2
make[1]: Leaving directory '/workdir/openwrt'
/workdir/openwrt/include/toplevel.mk:228: recipe for target 'world' failed
Error: Process completed with exit code 2.

点评

大部分时候都不会出错的,这个应该是昨天上游源码更新了什么东西,dl包没更新或者补丁没打,不用管.  详情 回复 发表于 2022-2-28 18:52
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
vpei 发表于 2022-2-27 15:02
不需要,编译好了,直接下载就行了。

想编译自定义配置的固件,不是下载。

点评

可以在本地配置好.config,再同步到github上编译。  详情 回复 发表于 2022-3-9 09:05
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

comxp 发表于 2022-2-27 17:13
你的自动编译失败了。。。

Hunk #1 FAILED at 65.

大部分时候都不会出错的,这个应该是昨天上游源码更新了什么东西,dl包没更新或者补丁没打,不用管.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 来自手机 | 显示全部楼层
研究了一下,应该是Fork不行,git clone才可以。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

comxp 发表于 2022-2-27 17:14
想编译自定义配置的固件,不是下载。

可以在本地配置好.config,再同步到github上编译。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 03:03

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表