Skip to content

Commit

Permalink
fixing bugs..
Browse files Browse the repository at this point in the history
  • Loading branch information
aceisace authored Jul 2, 2024
1 parent 995a66b commit 2965f4f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/update-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 2965f4f

Please sign in to comment.