Code Monkey home page Code Monkey logo

openwrt-ci's Issues

修改好同步的文件的分支字段,但是运行后没有同步最新源代码

upstream已经编译成功了
1
然后我看了下分支ledenew下面的源代码还是和master一样的,并没有跟新coolsnowwolf的最新源码
2
这个是从你这里复制过来的2个脚本文件
3
自动同步的文件已经把相关的master替换成ledenew了
5
请问是哪里的问题?还是说cron:30 19 × × ×这里是表示要每天19点30分才会自动同步?

编译x86,添加以下php环境插件,编译后发现固件里并没有php环境的以下插件 ,这个要怎么解决呢?

编译x86,添加以下php环境插件,编译后发现固件里并没有php环境的以下插件 ,这个要怎么解决呢?
CONFIG_PACKAGE_php7-fpm=y
CONFIG_PACKAGE_php7-mod-curl=y
CONFIG_PACKAGE_php7-mod-gd=y
CONFIG_PACKAGE_php7-mod-iconv=y
CONFIG_PACKAGE_php7-mod-json=y
CONFIG_PACKAGE_php7-mod-mbstring=y
CONFIG_PACKAGE_php7-mod-opcache=y
CONFIG_PACKAGE_php7-mod-session=y
CONFIG_PACKAGE_php7-mod-zip=y

关于自动同步lede脚本的问题

你好,今天才发现你写的自动同步lede的脚本貌似不能正常工作了。2月22日开始编译失败的,之前都能正常编译,具体请看下截图,请问如何修改才可以正常同步lede的脚本?
1
2

请问关于定时同步运行的问题

请教kfer大大,这几天发现merge-upstream.yml不会定时运行。
然后我今天早上8点半的时候吧里面的时间改成了utc 0点45运行。结果我刚才看了下还是没有运行。请问是哪里的问题。
我只是修改了分支的名字而已,其他没修改
1
actions里面显示2天前才执行过中间并没有自动运行过
2
设置里也是打开相关选项的
3

編譯其他架構固件顯示能完成,但是下載文件爲0字節

感謝大佬的自動編譯程序,我也能夠按照大佬的方法自行定製一些X86的固件,並且能夠正常的編譯下載,但是當我想編譯樹莓派的固件的時候,顯示編譯成功,但是當我下載的時候卻發現文件爲0字節,請問是什麼原因呢?附上我的raspi和X86文本及圖片,
openwrt-ci.txt
openwrt-ci-raspi.txt
1578290860(1)
從圖片上來看感覺並沒有編譯生成任何文件,我x86和樹莓派都是將.config裏的所有未註釋的條目全部複製進去,但是X86能編譯成功,樹莓派顯示成功,但是沒有任何文件產生。

最新配置文件已GG

/home/runner/work/_temp/a1473c58-c897-4eec-b8e9-fcd73e460d64.sh: line 4: /etc/apt/sources.list: Permission denied
##[error]Process completed with exit code 1.

编译3小时GG。。。

2019-12-10T03:05:01.9083219Z time: package/network/services/hostapd/wpad-full-internal/compile#48.39#5.02#55.60
2019-12-10T03:05:01.9109185Z make[2]: Leaving directory '/home/runner/work/lede/lede'
2019-12-10T03:05:01.9149043Z make[1]: *** [/home/runner/work/lede/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
2019-12-10T03:05:01.9149466Z package/Makefile:103: recipe for target '/home/runner/work/lede/lede/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
2019-12-10T03:05:01.9150321Z make[1]: Leaving directory '/home/runner/work/lede/lede'
2019-12-10T03:05:01.9154133Z Build failed - please re-run with -j1 to see the real error message
2019-12-10T03:05:01.9155641Z /home/runner/work/lede/lede/include/toplevel.mk:216: recipe for target 'world' failed
2019-12-10T03:05:01.9160419Z make: *** [world] Error 1
2019-12-10T03:05:01.9183196Z ##[error]Process completed with exit code 2.

是多线程编译??

编译成功了,请教几个问题,谢谢🙏

1.我没有添加KMS服务器和网络唤醒两个app,但您编译成功后安装完发现带了这两个app,这是什么原因呢?能否不让固件编译进去这两个app呢?
2.能否可以自定义使得编译后的固件压缩包里只包含uefi版的那个包呢?
谢谢🙏

编译在初始化环境阶段出错

今天下午编译时出现的,在Initialization environment阶段出现

W: Conflicting distribution: https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease (expected bionic but got stable)
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Origin' value from 'microsoft-ubuntu-bionic-prod bionic' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Label' value from 'microsoft-ubuntu-bionic-prod bionic' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Suite' value from 'bionic' to 'stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Codename' value from 'bionic' to 'stable'
W: Conflicting distribution: https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease (expected xenial but got stable)
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Origin' value from 'microsoft-ubuntu-xenial-prod xenial' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Label' value from 'microsoft-ubuntu-xenial-prod xenial' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Suite' value from 'xenial' to 'stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Codename' value from 'xenial' to 'stable'
##[error]Process completed with exit code 100.

建议将脚本定制部分提取出来

建议把脚本定制部分的内容提出来放到根目录某个文件中,好处:
1.脚本文件更简洁清晰, 不再需要cat >> .config <<EOF之类的语法,不再需要考虑格式,对齐等,以后同步更新本项目.yml文件也不用考虑定制部分,根目录的配置文件直接按照.config的语法即可,只需要添加需要定制的部分,无需拷贝整个.config文件
2.更方便的编译和管理多个设备的不同固件,只需要在根目录添加几个配置文件即可.

另外建议引入diy.sh,为高阶用户提供更多玩法, 比如https://github.com/garypang13/lede/raw/master/diy.sh

请问如何编译出带factory.bin的固件

多文件系统支持:

      # cat >> .config <<EOF
      # CONFIG_PACKAGE_kmod-fs-nfs=y
      # CONFIG_PACKAGE_kmod-fs-nfs-common=y
      # CONFIG_PACKAGE_kmod-fs-nfs-v3=y
      # CONFIG_PACKAGE_kmod-fs-nfs-v4=y
      # CONFIG_PACKAGE_kmod-fs-ntfs=y
      # CONFIG_PACKAGE_kmod-fs-squashfs=y
      # EOF

这边我保持默认,但是编译出来的固件没有factory.bin的版本。请问是需要如何修改可以得到对应的固件。另外ipv6保持默认的话也是不开启状态么?
image

Build Failed

openwrt-ci.yml没做任何修改

错误信息:

ERRORED 09:10:06Z

  • There was an unexpected error when executing this Action. For help debugging what went wrong, please contact [email protected].

The unique ID for this error is B32D:2650:17B19:28611:5DE0E06A.

这个报错会出什么问题吗??

/home/runner/work/lede/lede/.config:36: *** missing separator. Stop.

/home/runner/work/lede/lede/.config:36: *** missing separator. Stop.
#
# configuration written to .config
#

这个报错会出什么问题吗??
对应的36-40行是这样的:


#

# 编译x64固件:
cat >> .config <<EOF
CONFIG_TARGET_x86=y

好像没看到哪里有问题啊??

关于编译后固件名称的建议

感谢大大的自动编译脚本!

可不可以将编译的固件文件名添加脚本实现文件名称中包含【固件平台】、编译日期(且根据前面的设置和编译日期自动添加),比如Openwrt-X64-2019-12-10式样?

谢谢指教!

开启UEFI后编译失败

复制的本项目的openwrt-ci.yml文件,除了把
# cat >> .config <<EOF
# CONFIG_EFI_IMAGES=y
# EOF
去掉了# 改成了
cat >> .config <<EOF
CONFIG_EFI_IMAGES=y
EOF
其他没做任何修改

请问下如何同步合并上游的多个分支

比如上游代码里面有多个分支的,默认只能同步默认的分支,而其他分支不能同步,修改了

- name: 效验本地文件
  uses: actions/checkout@master
  with:
    ref: 分支1名字
    fetch-depth: 0
    lfs: true

- name: 效验本地文件
  uses: actions/checkout@master
  with:
    ref: 分支2名字
    fetch-depth: 0
    lfs: true

这两个地方,第一步前面两个对比都可以顺利执行成功
- name: 加载上游提交
run: git pull https://github.com/Lienol/openwrt-luci.git --no-edit --strategy-option ours
然后到这一步就失败了,不知道这里应该怎么修改了
然后下面接着的

- name: 推送上游提交
  env:
    DOWNSTREAM_BRANCH: 分支1名字
  run: git push origin $DOWNSTREAM_BRANCH

- name: 推送上游提交
  env:
    DOWNSTREAM_BRANCH: 分支2名字
  run: git push origin $DOWNSTREAM_BRANCH

自然也就直接跳过不执行了

求帮助,非常谢谢

yml的那些字段是对应分支名字的?

我新建了一个分支,叫做ledenew,想问下openwrt-ci.yml和merge-upstream.yml文件里那些字段要修改成ledenew?是所有master都替换还是只有那些要替换?

使用你的脚本编译了64位lene的openwrt没有问题,多谢作者,修改了你的脚本编译32位报错,请指教一下?

编译64位
# 编译x64固件:
cat >> .config <<EOF
CONFIG_TARGET_x86=y
CONFIG_TARGET_x86_64=y
CONFIG_TARGET_x86_64_Generic=y
EOF
修改了为:
# 编译32位固件:
cat >> .config <<EOF
CONFIG_TARGET_x86=y
CONFIG_TARGET_x86_generic=y
CONFIG_TARGET_x86_generic_Generic=y
EOF
然后32版本编译出错了,请问修改为32版本,是不是这样就可以了呢?多谢

关于定制编译问题

你好,我想问下如果我是定制硬路由的固件,比如newifi-d2 ,我应该怎么调整代码,具体是命名规制之类的是怎么样,有什么参考资料吗。

【正确的定制固件脚本应该是长这样的, 此配置基于大雕最新代码, 开启了所有预先写好的定制选项, 同时已经经过测试可用. 悟性再高不如照葫芦画瓢, 如果你的配置一直编译失败, 抄, 请.】

我尝试抄,简单调整(不知道命名规制按猜想的来)
cat >> .config <<EOF
#CONFIG_TARGET_x86=y
#CONFIG_TARGET_x86_64=y
#CONFIG_TARGET_x86_64_Generic=y
CONFIG_TARGET_MediaTek_Ralink_MIPS=y
CONFIG_TARGET_MT7621_based_boards=y
CONFIG_TARGET_Newifi_D2=y
EOF
编辑成功,但是还是x86的

跑到Make Download的时候报错

.config:71:warning: unexpected data: CONFIG_PACKAGE_vim-fuller=y
.config:72:warning: unexpected data: CONFIG_PACKAGE_wget=y
.config:73:warning: unexpected data: EOF
.config:82:warning: unexpected data: sed -i 's/^[ \t]*//g' ./.config
.config:83:warning: unexpected data: make defconfig
Error opening terminal: unknown.
make[1]: *** [menuconfig] Error 1
/home/runner/work/lede/lede/include/toplevel.mk:136: recipe for target 'menuconfig' failed
make[1]: Leaving directory '/home/runner/work/lede/lede'
/home/runner/work/lede/lede/include/toplevel.mk:97: recipe for target '.config' failed
make: *** [.config] Error 2
##[error]Process completed with exit code 2.

合并代码上游 workflows更新会导致更新失败?

首先感谢大佬的同步和编译代码
我FORK过来的项目删除了L大自带的openwrt-ci.yml,然后新建了OpenWrt-X64-Actions.yml,编译一切顺利
之前同步上游代码运行一直正常,直到昨天L大更新了workflows目录的CI.yml文件
开始报错
2019-12-20T04:27:35.5001255Z shell: /bin/bash -e {0}
2019-12-20T04:27:35.5001376Z ##[endgroup]
2019-12-20T04:27:35.5197391Z ##[group]Run git pull https://github.com/coolsnowwolf/lede.git --no-edit --strategy-option ours
2019-12-20T04:27:35.5197612Z �[36;1mgit pull https://github.com/coolsnowwolf/lede.git --no-edit --strategy-option ours�[0m
2019-12-20T04:27:35.5223829Z shell: /bin/bash -e {0}
2019-12-20T04:27:35.5223934Z ##[endgroup]
2019-12-20T04:27:35.8634794Z From https://github.com/coolsnowwolf/lede
2019-12-20T04:27:35.8636500Z * branch HEAD -> FETCH_HEAD
2019-12-20T04:27:36.1575731Z Auto-merging .github/workflows/OpenWrt-X64-Actions.yml
2019-12-20T04:27:36.3774251Z Merge made by the 'recursive' strategy.
2019-12-20T04:27:36.3828838Z .github/workflows/OpenWrt-X64-Actions.yml | 25 +-
2019-12-20T04:27:36.3829204Z include/prereq-build.mk | 4 +-
2019-12-20T04:27:36.3829502Z package/lean/luci-app-kodexplorer/Makefile | 4 +-
2019-12-20T04:27:36.3829788Z .../luasrc/controller/kodexplorer.lua | 62 ++--
2019-12-20T04:27:36.3830498Z .../luasrc/model/cbi/kodexplorer/api.lua | 316 ++++++++++-----------
2019-12-20T04:27:36.3830898Z .../luasrc/model/cbi/kodexplorer/settings.lua | 52 ++--
2019-12-20T04:27:36.3831197Z .../luasrc/view/kodexplorer/download.htm | 27 +-
2019-12-20T04:27:36.3831306Z .../luasrc/view/kodexplorer/version.htm | 17 ++
2019-12-20T04:27:36.3831603Z .../luci-app-kodexplorer/po/zh-cn/kodexplorer.po | 102 +++++++
2019-12-20T04:27:36.3831895Z .../root/etc/config/kodexplorer | 12 +-
2019-12-20T04:27:36.3832267Z .../root/etc/init.d/kodexplorer | 2 +-
2019-12-20T04:27:36.3832767Z package/lean/luci-theme-netgear/Makefile | 2 +-
2019-12-20T04:27:36.3833042Z .../htdocs/luci-static/netgear/css/style.css | 2 +-
2019-12-20T04:27:36.3833579Z 13 files changed, 365 insertions(+), 262 deletions(-)
2019-12-20T04:27:36.3833892Z create mode 100644 package/lean/luci-app-kodexplorer/luasrc/view/kodexplorer/version.htm
2019-12-20T04:27:36.4648703Z ##[group]Run git push origin $DOWNSTREAM_BRANCH
2019-12-20T04:27:36.4648902Z �[36;1mgit push origin $DOWNSTREAM_BRANCH�[0m
2019-12-20T04:27:36.4681102Z shell: /bin/bash -e {0}
2019-12-20T04:27:36.4681213Z env:
2019-12-20T04:27:36.4681292Z DOWNSTREAM_BRANCH: master
2019-12-20T04:27:36.4681381Z ##[endgroup]
2019-12-20T04:27:39.0509189Z To https://github.com/kang-mk/lede
2019-12-20T04:27:39.0509704Z ! [remote rejected] master -> master (refusing to allow a bot to create or update workflow .github/workflows/OpenWrt-X64-Actions.yml)
2019-12-20T04:27:39.0510200Z error: failed to push some refs to 'https://github.com/kang-mk/lede'
2019-12-20T04:27:39.0529354Z ##[error]Process completed with exit code 1.
2019-12-20T04:27:39.0552519Z Cleaning up orphan processes
看错误是OpenWrt-X64-Actions.yml引起的

然后我删除了OpenWrt-X64-Actions.yml文件

重新激活同步
然后开始报
2019-12-20T04:36:22.0042205Z Updating files: 100% (10835/10835)
2019-12-20T04:36:22.0042312Z Updating files: 100% (10835/10835), done.
2019-12-20T04:36:22.0293295Z Reset branch 'master'
2019-12-20T04:36:22.0293648Z Branch 'master' set up to track remote branch 'master' from 'origin'.
2019-12-20T04:36:22.1117902Z [command]/usr/bin/git log -1
2019-12-20T04:36:22.1152663Z commit e14c703fc260afcc8a8befccc06349250951fe8b
2019-12-20T04:36:22.1153615Z Author: 尐ˊ;栤嚸┌ [email protected]
2019-12-20T04:36:22.1154100Z Date: Fri Dec 20 12:35:52 2019 +0800
2019-12-20T04:36:22.1154181Z
2019-12-20T04:36:22.1154850Z Delete OpenWrt-X64-Actions.yml
2019-12-20T04:36:22.1166473Z Removed matchers: 'checkout-git'
2019-12-20T04:36:22.1404461Z ##[group]Run git config --global user.email "[email protected]"
2019-12-20T04:36:22.1404810Z �[36;1mgit config --global user.email "[email protected]"�[0m
2019-12-20T04:36:22.1404913Z �[36;1mgit config --global user.name "KFERMercer"�[0m
2019-12-20T04:36:22.1438569Z shell: /bin/bash -e {0}
2019-12-20T04:36:22.1438689Z ##[endgroup]
2019-12-20T04:36:22.1632392Z ##[group]Run git pull https://github.com/coolsnowwolf/lede.git --no-edit --strategy-option ours
2019-12-20T04:36:22.1632587Z �[36;1mgit pull https://github.com/coolsnowwolf/lede.git --no-edit --strategy-option ours�[0m
2019-12-20T04:36:22.1661652Z shell: /bin/bash -e {0}
2019-12-20T04:36:22.1661759Z ##[endgroup]
2019-12-20T04:36:22.5041904Z From https://github.com/coolsnowwolf/lede
2019-12-20T04:36:22.5042865Z * branch HEAD -> FETCH_HEAD
2019-12-20T04:36:22.5958404Z CONFLICT (modify/delete): .github/workflows/openwrt-ci.yml deleted in HEAD and modified in 0f0c3f1. Version 0f0c3f1 of .github/workflows/openwrt-ci.yml left in tree.
2019-12-20T04:36:22.6288691Z Automatic merge failed; fix conflicts and then commit the result.
2019-12-20T04:36:22.6308982Z ##[error]Process completed with exit code 1.
2019-12-20T04:36:22.6331373Z Cleaning up orphan processes

好像是workflows目录文件名不统一引起的?(错误测试了几次之后直接删除了项目,重新fork了,忘了测试把名字改成和L大的一样会不会再次错误了)
或者能不能合并上游的时候直接排除这个目录

请问关于同步上游和编译脚本不会自动运行的问题

之前问过,但是没说清楚.这边特地重新弄了下
下图是我昨天早上8点前最后一次修改Merge-upstream文件的截图
1
下图是我actions今天查看的截图
2
这个链接是我的Merge-upstream文件内容链接,时间我改成了UTC每天0点35执行,但是今天早上8点35也没有执行过
https://github.com/bonnyandsky/lede/blob/ledenew/.github/workflows/Merge-upstream.yml
还请k大帮忙看下是哪里出了问题,同样自动编译固件的yml也没有自动执行
https://github.com/bonnyandsky/lede/blob/ledenew/.github/workflows/ledenew-ci.yml

merge无法正确触发ci

fork的lean的库,在lean有更新,commit部分领先部分落后的情况下,观察了几天了,merge定时运行后,无法触发ci自动编译

Initialization environment阶段就挂了

Reading package lists...
W: Conflicting distribution: https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease (expected bionic but got stable)
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Origin' value from 'microsoft-ubuntu-bionic-prod bionic' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Label' value from 'microsoft-ubuntu-bionic-prod bionic' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Suite' value from 'bionic' to 'stable'
E: Repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-bionic-prod bionic InRelease' changed its 'Codename' value from 'bionic' to 'stable'
W: Conflicting distribution: https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease (expected xenial but got stable)
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Origin' value from 'microsoft-ubuntu-xenial-prod xenial' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Label' value from 'microsoft-ubuntu-xenial-prod xenial' to 'vscode stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Suite' value from 'xenial' to 'stable'
E: Repository 'https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease' changed its 'Codename' value from 'xenial' to 'stable'
##[error]Process completed with exit code 100.

请问是什么原因呢?

Run make download -j8
make download -j8
find ./dl/ -size -1024c -exec rm -f {} ;
df -h
shell: /bin/bash -e {0}
fatal: Invalid revision range 97a4ffc..HEAD
fatal: Invalid revision range 97a4ffc..d8ca5d72cad04e262dbfc648a840b642e4f102f0
fatal: Invalid revision range 97a4ffc..HEAD
fatal: Invalid revision range 97a4ffc..d8ca5d72cad04e262dbfc648a840b642e4f102f0
/home/runner/work/lede/lede/.config:4: *** missing separator. Stop.
/home/runner/work/lede/lede/.config:4: *** missing separator. Stop.
make[1]: Entering directory '/home/runner/work/lede/lede'
fatal: Invalid revision range 97a4ffc..HEAD
fatal: Invalid revision range 97a4ffc..d8ca5d72cad04e262dbfc648a840b642e4f102f0
make[2]: Entering directory '/home/runner/work/lede/lede/scripts/config'
make[2]: Leaving directory '/home/runner/work/lede/lede/scripts/config'
make[2]: Entering directory '/home/runner/work/lede/lede'
fatal: Invalid revision range 97a4ffc..HEAD
fatal: Invalid revision range 97a4ffc..d8ca5d72cad04e262dbfc648a840b642e4f102f0
make[2]: Leaving directory '/home/runner/work/lede/lede'
/home/runner/work/lede/lede/.config:4: *** missing separator. Stop.
/home/runner/work/lede/lede/.config:4: *** missing separator. Stop.
.config:1:warning: unexpected data: CONFIG_TARGET_x86=y
.config:2:warning: unexpected data: CONFIG_TARGET_x86_64=y
.config:2:warning: unexpected data: CONFIG_TARGET_x86_64=y
.config:3:warning: unexpected data: CONFIG_TARGET_x86_64_Generic=y
.config:4:warning: unexpected data: EOF
.config:7:warning: unexpected data: cat >> .config <<EOF
.config:8:warning: unexpected data: CONFIG_TARGET_IMAGES_GZIP=y
.config:9:warning: unexpected data: EOF
.config:17:warning: unexpected data: cat >> .config <<EOF
.config:18:warning: unexpected data: CONFIG_PACKAGE_dnsmasq_full_dhcpv6=y
.config:19:warning: unexpected data: CONFIG_PACKAGE_ipv6helper=y
.config:20:warning: unexpected data: EOF
.config:42:warning: unexpected data: cat >> .config <<EOF
.config:54:warning: unexpected data: CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_Shadowsocks=y
.config:56:warning: unexpected data: CONFIG_PACKAGE_luci-app-ssr-plus_INCLUDE_ShadowsocksR_Socks=y
.config:58:warning: unexpected data: CONFIG_PACKAGE_luci-app-ttyd=y
.config:64:warning: unexpected data: EOF
.config:67:warning: unexpected data: cat >> .config <<EOF
.config:68:warning: unexpected data: CONFIG_PACKAGE_luci-theme-argon=y
.config:69:warning: unexpected data: CONFIG_PACKAGE_luci-theme-netgear=y
.config:70:warning: unexpected data: EOF
.config:93:warning: unexpected data: sed -i 's/^[ \t]*//g' ./.config
.config:94:warning: unexpected data: make defconfig
Error opening terminal: unknown.
make[1]: *** [menuconfig] Error 1
/home/runner/work/lede/lede/include/toplevel.mk:136: recipe for target 'menuconfig' failed
make[1]: Leaving directory '/home/runner/work/lede/lede'
make: *** [.config] Error 2
/home/runner/work/lede/lede/include/toplevel.mk:97: recipe for target '.config' failed
##[error]Process completed with exit code 2.

如何暂时关闭actions

每次修改文件保存后都会自动触发acitons进行编译。请问如何关闭这个功能。需要的时候再打开?

请问如果想编小米路由器pro(mir3p)的固件编译设置固件那里是否可以这样写

        cat >> .config <<EOF
         CONFIG_DEFAULT_TARGET_ramips_mt7621=y
         CONFIG_TARGET_ramips=y
         CONFIG_TARGET_ramips_mt7621=y
         CONFIG_TARGET_ramips_mt7621_DEVICE_xiaomi_mir3g=y
         CONFIG_TARGET_DEVICE_ramips_mt7621_DEVICE_xiaomi_mir3p=y
         CONFIG_HAS_SUBTARGETS=y
         CONFIG_HAS_DEVICES=y
         CONFIG_TARGET_BOARD="ramips"
         CONFIG_TARGET_SUBTARGET="mt7621"
         CONFIG_TARGET_ARCH_PACKAGES="mipsel_24kc"
         CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc"
         CONFIG_CPU_TYPE="24kc"
         EOF

将自动更新固件文件上传后出错

首先感谢大大自动编译脚本,让我等小白也学会了如何编译固件。
当我按照您的教程将自动更新代码文件merge-upstream.yml下载并上传后,发现如下错误提示,请问如何解决?谢谢指教!
.github/workflows/merge-upstream.yml

Invalid Workflow File

DETAILS

You have an error in your yaml syntax on line 122
ANNOTATIONS

Check failure on line 122 in .github/workflows/merge-upstream.yml

@github-actions
github-actions
/ .github/workflows/merge-upstream.yml

Parse error
You have an error in your yaml syntax on line 122

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.