目录

编译openwrt单独的包

目录

https://github.com/sbwml/luci-app-alist

1
2
3
git clone https://github.com/sbwml/luci-app-alist package/alist
make menuconfig # choose LUCI -> Applications -> luci-app-alist
make package/alist/luci-app-alist/compile V=s # build luci-app-alist

编译完成后,bin/packages/x86_64/base中找到

1
2
root@tignioj:~/mybuild/openwrt/bin/packages/x86_64/base# ls  *alist*
alist_3.30.0-2_x86_64.ipk  luci-app-alist_1.0.11_all.ipk  luci-i18n-alist-zh-cn_git-23.223.34172-ff70952_all.ipk

复制到openwrt容器即可

1
2
3
4
cd ~/mybuild/openwrt/bin/packages/x86_64/base/
docker cp alist_3.30.0-2_x86_64.ipk  openwrt:/root
docker cp luci-app-alist_1.0.11_all.ipk  openwrt:/root
docker cp luci-i18n-alist-zh-cn_git-23.223.34172-ff70952_all.ipk  openwrt:/root

进入openwrt,安装这三个ipk

1
2
3
4
cd /root
opkg install alist_3.30.0-2_x86_64.ipk
opkg install luci-app-alist_1.0.11_all.ipk 
opkg luci-i18n-alist-zh-cn_git-23.223.34172-ff70952_all.ipk

教程: https://www.bilibili.com/video/BV1M441147jK/?spm_id_from=333.337.search-card.all.click&vd_source=cdd8cee3d9edbcdd99486a833d261c72

相关内容

openwrt编译passwall到固件里面
docker中运行自己编译的openwrt镜像
docker编译openwrt
ubuntu-server22使用docker运行openwrt软路由