Giter Site home page Giter Site logo

hc5962's Introduction

Actions-OpenWrt

LICENSE GitHub Stars GitHub Forks

使用GitHub Actions构建OpenWrt

源作者-P3TERX-更加精细的教程

用法

  • 点击 Use this template 按钮来创建一个新的存储库。
  • 编辑build-openwrt.yml文件的REPO_URL值自定义OpenWrt母源
  • 编辑diy-part1.sh可以自定义第三方插件源,编辑diy-part2.sh自定义默认管理IP地址等
  • 在自己的仓库点击 Star 直接编译固件
  • 在触发工作流程后,在 Actions 页面等待执行到 “到 Actions 的 SSH 连接” 步骤,会出现下面的信息。
To connect to this session copy-n-paste the following into a terminal or browser:

ssh [email protected]

https://tmate.io/t/Y26QeagDtsPXp2mT6me5cnMRd
  • 复制 SSH 连接命令粘贴到终端内执行,或者复制链接在浏览器中打开使用网页终端。(网页终端可能会遇到黑屏的情况,按 Ctrl + C 即可)
  • 输入cd openwrt && make menuconfig回车,使用GUI配置
  • 完成后按快捷键Ctrl+D或执行exit命令退出,后续编译工作将自动进行。

小提示: 固件目录下有个config.seed文件,如果你需要再次编译可以使用它。

等候时间: 默认连接30分钟后会断开并终止编译工作流程,防止资源浪费与封号风险。如果你想解除这个限制,可以根据提示操作,但导致的一切后果请自行承担。

提示

创建.config文件和构建OpenWrt固件可能需要很长时间。因此,在创建存储库以构建自己的固件之前,您可以通过在GitHub中进行搜索Actions-Openwrt来检查是否已经构建了其他满足您需要的固件。

将您所构建固件的一些元信息(例如固件体系结构和已安装的软件包)添加到存储库简介中,这将节省其他人的时间。

致谢

许可

MIT © AHEIG

hc5962's People

Contributors

wt2266232 avatar

Watchers

 avatar

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.