Git Product home page Git Product logo

actions-openwrt-xy-c5's Introduction

Github Actions Lean Openwrt XY-C5

编译固件配置说明

lean固件包含以下插件

Config文件生成参考

sudo sed -i 's#http://archive.ubuntu.com#https://mirrors.huaweicloud.com#' /etc/apt/sources.list
sudo sed -i 's#http://security.ubuntu.com#https://mirrors.huaweicloud.com#' /etc/apt/sources.list
sudo apt update
sudo apt upgrade -y
sudo apt-get -y install subversion libncurses5-dev git git-core build-essential unzip bzip2 python2.7
git clone https://github.com/coolsnowwolf/lede
cd lede
sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default
./scripts/feeds update -a && ./scripts/feeds install -a
make menuconfig
make defconfig
./scripts/diffconfig.sh > seed.config

进入目录\\wsl$\Ubuntu*\home\*\lede复制一下这个seed.config的文本内容到项目根目录的.config文件中,这样就不用每次都SSH连接到 Actions生成编译配置,真正一键编译。

Custom files(自定义文件)

  • 自定义文件 “files 大法”是把你自定义的配置编译到固件里。这样升级或恢复出厂设置都不需要保留配置,缺省值就是自定义的配置。
  • 如你现在的network设置编译进固件:首先提取路由固件下的\etc\config\network 然后在项目根目录下创建files目录并push\files\etc\config\network ,最后编译出来的固件就是现在设置的network。
  • 另外使用“files 大法”仓库最好设为私有,否则你的配置信息,如宽带账号等会公开在网上。

相关参考

Acknowledgments

License

MIT © P3TERX

actions-openwrt-xy-c5's People

Contributors

jminging avatar ljzkirito 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.