avoid file system errors
This commit is contained in:
5
.github/workflows/lo-test.yml
vendored
5
.github/workflows/lo-test.yml
vendored
@@ -137,9 +137,10 @@ jobs:
|
||||
if: env.TG
|
||||
run: |
|
||||
cd
|
||||
sleep 120
|
||||
sleep 60
|
||||
sudo mount -o remount,compress=no,nodatacow,nodatasum lede
|
||||
cd lede/; pv /dev/zero > zerospace || true; cd -
|
||||
cd lede/; pv /dev/zero > zerospace || true; sync; rm -f zerospace; cd -
|
||||
sleep 60
|
||||
sudo umount lede
|
||||
sudo losetup -d $LOOP_DEVICE
|
||||
export AUTH="Authorization: token ${{ secrets.SEC_TOKEN }}"
|
||||
|
||||
@@ -70,5 +70,11 @@ fi
|
||||
#set default theme to argon
|
||||
sed -i '/uci commit luci/i\uci set luci.main.mediaurlbase="/luci-static/argon"' `find package -type f -path '*/default-settings/files/zzz-default-settings'`
|
||||
|
||||
#bring the ethinfo back
|
||||
cd package/emortal/autocore/files/x86
|
||||
cp ethinfo rpcd_10_system.js rpcd_21_ethinfo.js rpcd_luci rpcd_luci-mod-status.json ../arm
|
||||
sed '/arm\/cpuinfo/a\\t$(INSTALL_DATA) ./files/x86/rpcd_21_ethinfo.js $(1)/www/luci-static/resources/view/status/include/21_ethinfo.js' `find package -path */autocore/Makefile`
|
||||
|
||||
|
||||
#remove the mirros from cn
|
||||
sed -i '/182.140.223.146/d;/\.cn\//d;/tencent/d' scripts/download.pl
|
||||
Reference in New Issue
Block a user