diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index 2e3f46f..2542989 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - device: [r1p, r1s, r1s-h3, r2c, r2s, r4s, x86] + device: [r1p, r1p-lts, r1s, r1s-h3, r2c, r2s, r4s, x86] steps: - name: Trigger Compile run: | diff --git a/README.md b/README.md index 1202b56..b2143c1 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ wget -qO- https://github.com/klever1988/nanopi-openwrt/raw/master/scripts/autoup 因为本项目预编译了Image builder,生成固件仅需1-3分钟,如果有兴趣自定义固件可以Fork本项目,编辑设备对应的config.seed文件,例如r2s.config.seed, 去掉(整行删除)不需要的luci app软件包配置行,添加自己所需的软件,可用软件的列表可以在github actions构件输出处获取,例如 -完成之后进入Actions,点击左侧Build,点击右侧Run workflow输入设备名(r2s/r2c/r4s/r1s/r1s-h3/r1p) +完成之后进入Actions,点击左侧Build,点击右侧Run workflow输入设备名(r2s/r2c/r4s/r1s/r1s-h3/r1p/r1p-lts) 再点击Run即可获取自己所需的固件 diff --git a/r1p-lts.config.seed b/r1p-lts.config.seed new file mode 100644 index 0000000..7bb4bcd --- /dev/null +++ b/r1p-lts.config.seed @@ -0,0 +1,40 @@ +CONFIG_TARGET_rockchip=y +CONFIG_TARGET_rockchip_armv8=y +CONFIG_TARGET_rockchip_armv8_DEVICE_xunlong_orangepi-r1-plus-lts=y +CONFIG_TARGET_OPTIMIZATION="-O3 -pipe -march=armv8-a+crypto+crc -mcpu=cortex-a53+crypto+crc -mtune=cortex-a53" +CONFIG_TARGET_ROOTFS_PARTSIZE=600 + + +CONFIG_PACKAGE_luci-app-adbyby-plus=y +CONFIG_PACKAGE_luci-app-ddnsto=y +CONFIG_PACKAGE_luci-app-dockerman=y +CONFIG_DOCKER_OPTIONAL_FEATURES=y +CONFIG_PACKAGE_luci-app-godproxy=y +CONFIG_PACKAGE_luci-app-netdata=y +CONFIG_PACKAGE_luci-app-openclash=y +CONFIG_PACKAGE_luci-app-cpufreq=y +CONFIG_PACKAGE_luci-app-passwall=y +CONFIG_PACKAGE_luci-app-qbittorrent=y +CONFIG_PACKAGE_luci-app-statistics=y +CONFIG_PACKAGE_luci-app-transmission=y +CONFIG_PACKAGE_luci-app-uugamebooster=y +CONFIG_PACKAGE_luci-theme-argon=y +CONFIG_PACKAGE_luci-theme-openwrt=y +CONFIG_PACKAGE_luci-theme-openwrt-2020=y +CONFIG_PACKAGE_collectd-mod-ping=y +CONFIG_PACKAGE_collectd-mod-thermal=y + + +CONFIG_PACKAGE_kmod-gpu-lima=y +CONFIG_PACKAGE_kmod-ath9k-htc=y +CONFIG_PACKAGE_kmod-mt76x0u=y +CONFIG_PACKAGE_kmod-mt76x2u=y +CONFIG_PACKAGE_kmod-r8125=y +CONFIG_PACKAGE_kmod-rtl8821cu=y +CONFIG_PACKAGE_kmod-rtl8812au-ac=y +CONFIG_PACKAGE_iw=y +CONFIG_PACKAGE_iwinfo=y +CONFIG_PACKAGE_wpad-wolfssl=y +CONFIG_DRIVER_11AC_SUPPORT=y +CONFIG_DRIVER_11N_SUPPORT=y +CONFIG_DRIVER_11W_SUPPORT=y diff --git a/scripts/autoupdate-bash.sh b/scripts/autoupdate-bash.sh index f491337..15b36ad 100644 --- a/scripts/autoupdate-bash.sh +++ b/scripts/autoupdate-bash.sh @@ -20,7 +20,7 @@ proceed_command losetup proceed_command resize2fs opkg install coreutils-truncate || true -board_id=$(cat /etc/board.json | jsonfilter -e '@["model"].id' | sed 's/friendly.*,nanopi-//;s/xunlong,orangepi-//;s/^r1s-h5$/r1s/;s/^r1$/r1s-h3/;s/^r1-plus$/r1p/;s/default-string-default-string/x86/;s/vmware-inc-vmware7-1/x86/') +board_id=$(cat /etc/board.json | jsonfilter -e '@["model"].id' | sed 's/friendly.*,nanopi-//;s/xunlong,orangepi-//;s/^r1s-h5$/r1s/;s/^r1$/r1s-h3/;s/^r1-plus$/r1p/;s/^r1-plus-lts$/r1p-lts/;s/default-string-default-string/x86/;s/vmware-inc-vmware7-1/x86/') mount -t tmpfs -o remount,size=850m tmpfs /tmp rm -rf /tmp/upg && mkdir /tmp/upg && cd /tmp/upg diff --git a/scripts/autoupdate.sh b/scripts/autoupdate.sh index 072a859..c4903dd 100644 --- a/scripts/autoupdate.sh +++ b/scripts/autoupdate.sh @@ -16,7 +16,7 @@ wget -NP /tmp https://ghproxy.com/https://raw.githubusercontent.com/klever1988/n wget -NP /tmp https://ghproxy.com/https://raw.githubusercontent.com/klever1988/nanopi-openwrt/zstd-bin/ddnz chmod +x /tmp/truncate /tmp/ddnz -board_id=$(cat /etc/board.json | jsonfilter -e '@["model"].id' | sed 's/friendly.*,nanopi-//;s/xunlong,orangepi-//;s/^r1s-h5$/r1s/;s/^r1$/r1s-h3/;s/^r1-plus$/r1p/;s/default-string-default-string/x86/;s/vmware-inc-vmware7-1/x86/') +board_id=$(cat /etc/board.json | jsonfilter -e '@["model"].id' | sed 's/friendly.*,nanopi-//;s/xunlong,orangepi-//;s/^r1s-h5$/r1s/;s/^r1$/r1s-h3/;s/^r1-plus$/r1p/;s/^r1-plus-lts$/r1p-lts/;s/default-string-default-string/x86/;s/vmware-inc-vmware7-1/x86/') mount -t tmpfs -o remount,size=850m tmpfs /tmp rm -rf /tmp/upg && mkdir /tmp/upg && cd /tmp/upg set +e