1.5 KiB
Executable File
1.5 KiB
Executable File
opkg Repository - Quick Reference
📦 Repository Ready!
Your opkg-compatible repository is located at:
/home/user/Public/Projects/OpenWRT/opkg-repo/
🚀 Quick Upload
Upload to your HTTP server (/srv/http):
./upload-repo.sh SERVER_IP user /srv/http/opkg
Alternatively, manual upload:
scp -r opkg-repo/* user@SERVER_IP:/srv/http/opkg/
📋 Available Packages
- btop-static (1.4.3-1) - 1.0 MB - Resource monitor
- mosh-static (1.4.0-1) - 3.6 MB - Mobile Shell
🔧 On Your OpenWRT Device
# Add repository (replace SERVER_IP)
echo 'src/gz custom http://SERVER_IP/opkg/aarch64_cortex-a53/packages' > /etc/opkg/customfeeds.conf
# Update and install
opkg update
opkg install btop-static mosh-static
➕ Adding New Packages
# 1. Copy package to repository
cp new-package.ipk opkg-repo/aarch64_cortex-a53/packages/
# 2. Regenerate index
./generate-index.sh opkg-repo/aarch64_cortex-a53/packages/ > opkg-repo/aarch64_cortex-a53/packages/Packages
gzip -9 -k opkg-repo/aarch64_cortex-a53/packages/Packages
# 3. Upload to server
./upload-repo.sh SERVER_IP user /srv/http/opkg
📁 Files Created
opkg-repo/- Local repository directorygenerate-index.sh- Package index generatorupload-repo.sh- Server upload script- Full documentation in the artifacts
⚠️ Notes
- Repository is for aarch64_cortex-a53 architecture only
- All packages are statically linked
- Index must be regenerated after changes
- Two btop variants failed indexing (missing control files)