From 2965f4f21801ad6abcecc1eb950350cdf08571d6 Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 2 Jul 2024 02:51:01 +0200 Subject: [PATCH] fixing bugs.. --- .github/workflows/update-os.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-os.yml b/.github/workflows/update-os.yml index 958087a..2672458 100644 --- a/.github/workflows/update-os.yml +++ b/.github/workflows/update-os.yml @@ -69,10 +69,11 @@ jobs: echo $CWD # increase swap-size - sudo dphys-swapfile swapoff - sudo sed -i -E '/^CONF_SWAPSIZE=/s/=.*/=512/' /etc/dphys-swapfile - sudo dphys-swapfile setup - sudo dphys-swapfile swapon + # temporarily disabled due to unmounting issues + # sudo dphys-swapfile swapoff + # sudo sed -i -E '/^CONF_SWAPSIZE=/s/=.*/=512/' /etc/dphys-swapfile + # sudo dphys-swapfile setup + # sudo dphys-swapfile swapon # enable SPI sudo sed -i s/#dtparam=spi=on/dtparam=spi=on/ /boot/config.txt @@ -88,7 +89,7 @@ jobs: # temporarily disabled to allow pisugar support # echo 'ALL ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password # allow some time to unmount - sleep 30 + sleep 10 - name: Compress the release image run: |