fix
This commit is contained in:
3
.github/workflows/lo-test.yml
vendored
3
.github/workflows/lo-test.yml
vendored
@@ -209,7 +209,7 @@ jobs:
|
|||||||
sed -i 's/$(OPKG) install $(BUILD_PACKAGES)/$(OPKG) install --force-overwrite $(BUILD_PACKAGES)/' Makefile
|
sed -i 's/$(OPKG) install $(BUILD_PACKAGES)/$(OPKG) install --force-overwrite $(BUILD_PACKAGES)/' Makefile
|
||||||
ls packages/*.ipk | xargs -n1 basename > package.files
|
ls packages/*.ipk | xargs -n1 basename > package.files
|
||||||
PACKAGES=$(cat $GITHUB_WORKSPACE/$DEVICE.config.seed $GITHUB_WORKSPACE/common.seed | grep CONFIG_PACKAGE | grep -v CONFIG_PACKAGE_luci-app | sed 's/CONFIG_PACKAGE_//;s/=y//' | xargs -n1 -i grep -o {} package.files | sort -u | xargs echo)
|
PACKAGES=$(cat $GITHUB_WORKSPACE/$DEVICE.config.seed $GITHUB_WORKSPACE/common.seed | grep CONFIG_PACKAGE | grep -v CONFIG_PACKAGE_luci-app | sed 's/CONFIG_PACKAGE_//;s/=y//' | xargs -n1 -i grep -o {} package.files | sort -u | xargs echo)
|
||||||
[ $BRANCH == 'master' ] && PACKAGES="$PACKAGES luci-i18n-opkg-zh-cn"
|
PACKAGES="$PACKAGES `grep -o luci-i18n-opkg-zh-cn package.files`"
|
||||||
make image PACKAGES="$PACKAGES $LUCI $LP luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn" FILES="files"
|
make image PACKAGES="$PACKAGES $LUCI $LP luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn" FILES="files"
|
||||||
|
|
||||||
mkdir -p $GITHUB_WORKSPACE/release
|
mkdir -p $GITHUB_WORKSPACE/release
|
||||||
@@ -255,6 +255,7 @@ jobs:
|
|||||||
sed -i 's/$(OPKG) install $(BUILD_PACKAGES)/$(OPKG) install --force-overwrite $(BUILD_PACKAGES)/' Makefile
|
sed -i 's/$(OPKG) install $(BUILD_PACKAGES)/$(OPKG) install --force-overwrite $(BUILD_PACKAGES)/' Makefile
|
||||||
ls packages/*.ipk | xargs -n1 basename > package.files
|
ls packages/*.ipk | xargs -n1 basename > package.files
|
||||||
PACKAGES=$(cat $GITHUB_WORKSPACE/$DEVICE.config.seed $GITHUB_WORKSPACE/common.seed | grep CONFIG_PACKAGE | grep -v CONFIG_PACKAGE_luci-app | sed 's/CONFIG_PACKAGE_//;s/=y//' | xargs -n1 -i grep -o {} package.files | sort -u | xargs echo)
|
PACKAGES=$(cat $GITHUB_WORKSPACE/$DEVICE.config.seed $GITHUB_WORKSPACE/common.seed | grep CONFIG_PACKAGE | grep -v CONFIG_PACKAGE_luci-app | sed 's/CONFIG_PACKAGE_//;s/=y//' | xargs -n1 -i grep -o {} package.files | sort -u | xargs echo)
|
||||||
|
PACKAGES="$PACKAGES `grep -o luci-i18n-opkg-zh-cn package.files`"
|
||||||
LUCI=$(cat $GITHUB_WORKSPACE/$DEVICE.config.seed $GITHUB_WORKSPACE/common.seed | grep CONFIG_PACKAGE_luci-app | grep -v docker | sed 's/CONFIG_PACKAGE_//;s/=y//' | xargs -n1 -i grep -o {} package.files | sort -u | xargs echo)
|
LUCI=$(cat $GITHUB_WORKSPACE/$DEVICE.config.seed $GITHUB_WORKSPACE/common.seed | grep CONFIG_PACKAGE_luci-app | grep -v docker | sed 's/CONFIG_PACKAGE_//;s/=y//' | xargs -n1 -i grep -o {} package.files | sort -u | xargs echo)
|
||||||
LP=$(echo $LUCI | sed 's/-app-/-i18n-/g;s/ /\n/g' | xargs -n1 -i grep -o {}-zh-cn package.files | xargs echo)
|
LP=$(echo $LUCI | sed 's/-app-/-i18n-/g;s/ /\n/g' | xargs -n1 -i grep -o {}-zh-cn package.files | xargs echo)
|
||||||
make image PACKAGES="$PACKAGES $LUCI $LP luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn" FILES="files"
|
make image PACKAGES="$PACKAGES $LUCI $LP luci-i18n-base-zh-cn luci-i18n-firewall-zh-cn" FILES="files"
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ CONFIG_PACKAGE_luci-app-godproxy=y
|
|||||||
CONFIG_PACKAGE_luci-app-linkease=y
|
CONFIG_PACKAGE_luci-app-linkease=y
|
||||||
CONFIG_PACKAGE_luci-app-netdata=y
|
CONFIG_PACKAGE_luci-app-netdata=y
|
||||||
CONFIG_PACKAGE_luci-app-openclash=y
|
CONFIG_PACKAGE_luci-app-openclash=y
|
||||||
CONFIG_PACKAGE_luci-app-opkg=y
|
|
||||||
CONFIG_PACKAGE_luci-app-cpufreq=y
|
CONFIG_PACKAGE_luci-app-cpufreq=y
|
||||||
CONFIG_PACKAGE_luci-app-passwall=y
|
CONFIG_PACKAGE_luci-app-passwall=y
|
||||||
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ CONFIG_TARGET_ROOTFS_PARTSIZE=360
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
CONFIG_PACKAGE_luci-app-opkg=y
|
|
||||||
CONFIG_PACKAGE_luci-app-cpufreq=y
|
CONFIG_PACKAGE_luci-app-cpufreq=y
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ CONFIG_PACKAGE_luci-app-godproxy=y
|
|||||||
CONFIG_PACKAGE_luci-app-linkease=y
|
CONFIG_PACKAGE_luci-app-linkease=y
|
||||||
CONFIG_PACKAGE_luci-app-netdata=y
|
CONFIG_PACKAGE_luci-app-netdata=y
|
||||||
CONFIG_PACKAGE_luci-app-openclash=y
|
CONFIG_PACKAGE_luci-app-openclash=y
|
||||||
CONFIG_PACKAGE_luci-app-opkg=y
|
|
||||||
CONFIG_PACKAGE_luci-app-cpufreq=y
|
CONFIG_PACKAGE_luci-app-cpufreq=y
|
||||||
CONFIG_PACKAGE_luci-app-passwall=y
|
CONFIG_PACKAGE_luci-app-passwall=y
|
||||||
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ CONFIG_PACKAGE_luci-app-godproxy=y
|
|||||||
CONFIG_PACKAGE_luci-app-linkease=y
|
CONFIG_PACKAGE_luci-app-linkease=y
|
||||||
CONFIG_PACKAGE_luci-app-netdata=y
|
CONFIG_PACKAGE_luci-app-netdata=y
|
||||||
CONFIG_PACKAGE_luci-app-openclash=y
|
CONFIG_PACKAGE_luci-app-openclash=y
|
||||||
CONFIG_PACKAGE_luci-app-opkg=y
|
|
||||||
CONFIG_PACKAGE_luci-app-cpufreq=y
|
CONFIG_PACKAGE_luci-app-cpufreq=y
|
||||||
CONFIG_PACKAGE_luci-app-passwall=y
|
CONFIG_PACKAGE_luci-app-passwall=y
|
||||||
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ CONFIG_PACKAGE_luci-app-godproxy=y
|
|||||||
CONFIG_PACKAGE_luci-app-linkease=y
|
CONFIG_PACKAGE_luci-app-linkease=y
|
||||||
CONFIG_PACKAGE_luci-app-netdata=y
|
CONFIG_PACKAGE_luci-app-netdata=y
|
||||||
CONFIG_PACKAGE_luci-app-openclash=y
|
CONFIG_PACKAGE_luci-app-openclash=y
|
||||||
CONFIG_PACKAGE_luci-app-opkg=y
|
|
||||||
CONFIG_PACKAGE_luci-app-cpufreq=y
|
CONFIG_PACKAGE_luci-app-cpufreq=y
|
||||||
CONFIG_PACKAGE_luci-app-passwall=y
|
CONFIG_PACKAGE_luci-app-passwall=y
|
||||||
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ CONFIG_PACKAGE_luci-app-godproxy=y
|
|||||||
CONFIG_PACKAGE_luci-app-linkease=y
|
CONFIG_PACKAGE_luci-app-linkease=y
|
||||||
CONFIG_PACKAGE_luci-app-netdata=y
|
CONFIG_PACKAGE_luci-app-netdata=y
|
||||||
CONFIG_PACKAGE_luci-app-openclash=y
|
CONFIG_PACKAGE_luci-app-openclash=y
|
||||||
CONFIG_PACKAGE_luci-app-opkg=y
|
|
||||||
CONFIG_PACKAGE_luci-app-passwall=y
|
CONFIG_PACKAGE_luci-app-passwall=y
|
||||||
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
CONFIG_PACKAGE_luci-app-qbittorrent=y
|
||||||
CONFIG_PACKAGE_luci-app-statistics=y
|
CONFIG_PACKAGE_luci-app-statistics=y
|
||||||
|
|||||||
Reference in New Issue
Block a user