基于flippy的38+o和49+o打包Phicomm N1的openwrt
N1的openwrt来自我自己的另一个项目N1Openwrt
- fork项目
- 上传38+o(Armbian_20.02.0_Aml-s9xxx_buster_5.4.50-flippy-38+o.img.xz)和39+0(Armbian_20.10_Aml-s9xxx_buster_5.4.77-flippy-49+o.img.xz)的flippy的Armbian底包到Google云盘
- 创建分享链接。大概格式:https://docs.google.com/uc?export=download&id=xxxxxxxxxx. 然后在 Secrets中新建FLIPPY_38_FILEID 和 FLIPPY_49_FILEID,值分别为38+o和49+o分享链接中id后面的xxxxxxx
- 修改n1img.yml文件
- 找到这句 wget https://github.com/mingxiaoyu/N1Openwrt/releases/download/$version/openwrt-armvirt-64-default-rootfs.tar.gz
- 修改为 wget [openert的URL]
- 如果你的openwrt固件也在Google云盘, 参考下面代码修改。不会的自己Google、baidu。本人不答疑
curl -L -c cookies.txt 'https://docs.google.com/uc?export=download&id='$OPENWRT_ID | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1/p' > confirm.txt
curl -L -b cookies.txt -o openwrt-armvirt-64-default-rootfs.tar.gz 'https://docs.google.com/uc?export=download&id='$OPENWRT_ID'&confirm='$(<confirm.txt)
- 点击Actions -> Workflows -> Run workflow -> Run workflow