These are my OpenWrt packages. I use them with Onion Omega2 Pro device.
Categories:
- named-data: Named Data Networking software
- onion: packages specifically for Onion Omega2 Pro device
-
Install OpenWrt build system, branch
openwrt-22.03. -
Copy
feeds.conf.defaulttofeeds.conf, and append the following:src-git yoursunny https://github.com/yoursunny/OpenWrt-packages.git
Alternatively, if this repository has been cloned locally, use something like (must be absolute path):
src-link yoursunny /path/to/yoursunny/OpenWrt-packages
This enables OpenWrt build system to find my packages.
If you switched branches in the main OpenWrt repository, be sure to delete and re-create
feeds.conffile so that they point to the correct branch. -
Update feeds and enable my packages:
./scripts/feeds update -a ./scripts/feeds install -a
If I have published or updated a package, run the following commands to pull the latest changes:
./scripts/feeds update -a ./scripts/feeds install -a -p yoursunny
-
Have a look at the README in category or package directory, which may contain additional instructions.
-
Select packages to compile:
make menuconfig
First choose the correct target system according to your device. Then, find the package you need in the menu, and press
Mkey to mark<M>for compiling as a.ipkmodule.If it's your first time building for a target system, install the toolchain for this architecture:
make toolchain/install
-
Compile a package:
make V=sc package/PKGNAME/compile
Substitute
PKGNAMEwith a package name in this repository.If successful, the result should be in
bin/packages/ARCH/yoursunny/*.ipk. -
Copy
.ipkfiles to the device, and install them with opkg.opkg update opkg install *.ipk