Giter VIP home page Giter VIP logo

shared-lede's Issues

在编译cr6609版本时是出现error,Hunk #1 FAILED at 706.

Hunk #1 FAILED at 706.
Hunk #2 succeeded at 3752 (offset -34 lines).
1 out of 2 hunks FAILED -- saving rejects to file net/netfilter/nf_conntrack_netlink.c.rej
Patch failed! Please fix /home/runner/work/shared-lede/shared-lede/target/linux/generic/hack-5.10/952-net-conntrack-events-support-multiple-registrant.patch!
make[3]: *** [Makefile:123: /home/runner/work/shared-lede/shared-lede/build_dir/toolchain-mipsel_24kc_gcc-11.3.0_musl/linux-5.10.138/.prepared] Error 1
make[3]: Leaving directory '/home/runner/work/shared-lede/shared-lede/toolchain/kernel-headers'
time: toolchain/kernel-headers/compile#12.88#6.33#15.76
ERROR: toolchain/kernel-headers failed to build.
make[2]: Leaving directory '/home/runner/work/shared-lede/shared-lede'
make[2]: *** [toolchain/Makefile:97: toolchain/kernel-headers/compile] Error 1
make[1]: *** [toolchain/Makefile:93: /home/runner/work/shared-lede/shared-lede/staging_dir/toolchain-mipsel_24kc_gcc-11.3.0_musl/stamp/.toolchain_compile] Error 2
make[1]: Leaving directory '/home/runner/work/shared-lede/shared-lede'
make: *** [/home/runner/work/shared-lede/shared-lede/include/toplevel.mk:230: world] Error 2
Error: Process completed with exit code 2.

生成.config文件出错

显示错误如下
Run mv $DOT_CONFIG .config
mv $DOT_CONFIG .config
make defconfig
shell: /usr/bin/bash -e {0}
env:
TEMP_PREFIX: temp
DEPLOYDIR: preset-lienol-openwrt
DOT_CONFIG: preset-lienol-openwrt/temp.config
/home/runner/work/shared-lede/shared-lede/.config:11: *** missing separator. Stop.
make: *** [/home/runner/work/shared-lede/shared-lede/include/toplevel.mk:81: prepare-tmpinfo] Error 2
Error: Process completed with exit code 2.

subprocess.CalledProcessError: Command '['./ninja', '-v']' returned non-zero exit status 1. ERROR: tools/ninja failed to build.

Traceback (most recent call last):
File "/home/runner/work/shared-lede/shared-lede/build_dir/host/ninja-1.11.1/configure.py", line 725, in
subprocess.check_call(rebuild_args)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./ninja', '-v']' returned non-zero exit status 1.
make[3]: *** [Makefile:40: /home/runner/work/shared-lede/shared-lede/build_dir/host/ninja-1.11.1/.built] Error 1
make[3]: Leaving directory '/home/runner/work/shared-lede/shared-lede/tools/ninja'
time: tools/ninja/compile#22.17#2.41#23.82
ERROR: tools/ninja failed to build.

Hi. how can I fix it?
大佬我怎么修复这个报错呢?

编译第2、3个机型时出错

Run ./scripts/feeds update -a
/home/runner/work/_temp/b2fab536-2f2c-4fd2-9284-b795fe4b4eea.sh: line 1: ./scripts/feeds: No such file or directory

可否增加在线ssh配置config方式

workflow运行的时候可以选择是否SSH链接在线配置config,参考代码如下

env:
REPO_URL: https://github.com/padavanonly/immortalwrt-mt798x
REPO_BRANCH: openwrt-21.02
FEEDS_CONF: feeds.conf.default
CONFIG_FILE: hanwckf/.config
DIY_P1_SH: hanwckf/diy-part1.sh
DIY_P2_SH: hanwckf/diy-part2.sh
SSH_ACTIONS: false
UPLOAD_FIRMWARE: true
UPLOAD_RELEASE: true
TZ: Asia/Shanghai
OPENWRT_NAME: OpenWrt

  • name: SSH链接管理
    uses: P3TERX/[email protected]
    if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
    env:
    TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
    TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}

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.