build: fix
This commit is contained in:
2
.github/workflows/lo-test.yml
vendored
2
.github/workflows/lo-test.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
if [ -d 'lede/.git' ]; then
|
if [ -d 'lede/.git' ]; then
|
||||||
cd lede && git config --local user.email "action@github.com" && git config --local user.name "GitHub Action"
|
cd lede && git config --local user.email "action@github.com" && git config --local user.name "GitHub Action"
|
||||||
git remote set-branches --add origin openwrt-18.06
|
git remote set-branches --add origin openwrt-18.06
|
||||||
git fetch && git reset --hard origin/openwrt-18.06-k5.4 && git merge --commit --no-edit origin/openwrt-18.06
|
git fetch && git reset --hard origin/openwrt-18.06-k5.4 && git merge -X theirs --no-edit origin/openwrt-18.06
|
||||||
else
|
else
|
||||||
sudo chown $USER:$(id -gn) lede && (cd lede && git init && git remote add -t openwrt-18.06-k5.4 -f origin https://github.com/immortalwrt/immortalwrt && git checkout openwrt-18.06-k5.4)
|
sudo chown $USER:$(id -gn) lede && (cd lede && git init && git remote add -t openwrt-18.06-k5.4 -f origin https://github.com/immortalwrt/immortalwrt && git checkout openwrt-18.06-k5.4)
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -21,11 +21,12 @@ merge_package https://github.com/coolsnowwolf/packages/trunk/kernel/ksmbd
|
|||||||
merge_package https://github.com/coolsnowwolf/packages/trunk/net/ksmbd-tools
|
merge_package https://github.com/coolsnowwolf/packages/trunk/net/ksmbd-tools
|
||||||
|
|
||||||
if [ $DEVICE = 'r2s' ]; then
|
if [ $DEVICE = 'r2s' ]; then
|
||||||
mkdir -p files/usr/bin files/etc/init.d files/etc/rc.d
|
mkdir -p files/usr/bin files/etc/init.d files/etc/rc.d
|
||||||
wget https://github.com/friendlyarm/friendlywrt/raw/master-v19.07.1/target/linux/rockchip-rk3328/base-files/usr/bin/start-rk3328-pwm-fan.sh -qNP files/usr/bin
|
wget https://github.com/friendlyarm/friendlywrt/raw/master-v19.07.1/target/linux/rockchip-rk3328/base-files/usr/bin/start-rk3328-pwm-fan.sh -qNP files/usr/bin
|
||||||
chmod +x files/usr/bin/start-rk3328-pwm-fan.sh
|
chmod +x files/usr/bin/start-rk3328-pwm-fan.sh
|
||||||
wget https://github.com/friendlyarm/friendlywrt/raw/master-v19.07.1/target/linux/rockchip-rk3328/base-files/etc/init.d/fa-rk3328-pwmfan -qNP files/etc/init.d
|
wget https://github.com/friendlyarm/friendlywrt/raw/master-v19.07.1/target/linux/rockchip-rk3328/base-files/etc/init.d/fa-rk3328-pwmfan -qNP files/etc/init.d
|
||||||
chmod +x files/etc/init.d/fa-rk3328-pwmfan
|
chmod +x files/etc/init.d/fa-rk3328-pwmfan
|
||||||
ln -sf ../init.d/fa-rk3328-pwmfan files/etc/rc.d/S96fa-rk3328-pwmfan
|
ln -sf ../init.d/fa-rk3328-pwmfan files/etc/rc.d/S96fa-rk3328-pwmfan
|
||||||
sed -i "s/enable '0'/enable '1'/" package/ctcgfw/luci-app-oled/root/etc/config/oled
|
merge_package https://github.com/NateLol/luci-app-oled
|
||||||
|
sed -i "s/enable '0'/enable '1'/" package/luci-app-oled/root/etc/config/oled
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ echo -e "\toption maxfreq0 '1512000'\n" >> package/lean/luci-app-cpufreq/root/et
|
|||||||
sed -i "s/option hw_flow '1'/option hw_flow '0'/" package/ctcgfw/luci-app-turboacc/root/etc/config/turboacc
|
sed -i "s/option hw_flow '1'/option hw_flow '0'/" package/ctcgfw/luci-app-turboacc/root/etc/config/turboacc
|
||||||
sed -i "s/option sfe_flow '1'/option sfe_flow '0'/" package/ctcgfw/luci-app-turboacc/root/etc/config/turboacc
|
sed -i "s/option sfe_flow '1'/option sfe_flow '0'/" package/ctcgfw/luci-app-turboacc/root/etc/config/turboacc
|
||||||
sed -i "s/option sfe_bridge '1'/option sfe_bridge '0'/" package/ctcgfw/luci-app-turboacc/root/etc/config/turboacc
|
sed -i "s/option sfe_bridge '1'/option sfe_bridge '0'/" package/ctcgfw/luci-app-turboacc/root/etc/config/turboacc
|
||||||
sed -i "/INCLUDE_shortcut-fe=n/d" package/ctcgfw/luci-app-turboacc/Makefile
|
sed -i "/dep.*INCLUDE_.*=n/d" package/ctcgfw/luci-app-turboacc/Makefile
|
||||||
|
|
||||||
sed -i '/Installed-Time/a\sed -i "s/\\([[:digit:]]\)-[a-z0-9]\{32\}/\1/" $(1)/usr/lib/opkg/status\' include/rootfs.mk
|
sed -i '/Installed-Time/a\sed -i "s/\\([[:digit:]]\)-[a-z0-9]\{32\}/\1/" $(1)/usr/lib/opkg/status\' include/rootfs.mk
|
||||||
find . -type f -name nft-qos.config | xargs sed -i "s/option limit_enable '1'/option limit_enable '0'/"
|
find . -type f -name nft-qos.config | xargs sed -i "s/option limit_enable '1'/option limit_enable '0'/"
|
||||||
|
|||||||
Reference in New Issue
Block a user