fixing bugs..

This commit is contained in:
Ace 2024-07-02 02:51:01 +02:00 committed by GitHub
parent 995a66b15f
commit 2965f4f218
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,10 +69,11 @@ jobs:
echo $CWD echo $CWD
# increase swap-size # increase swap-size
sudo dphys-swapfile swapoff # temporarily disabled due to unmounting issues
sudo sed -i -E '/^CONF_SWAPSIZE=/s/=.*/=512/' /etc/dphys-swapfile # sudo dphys-swapfile swapoff
sudo dphys-swapfile setup # sudo sed -i -E '/^CONF_SWAPSIZE=/s/=.*/=512/' /etc/dphys-swapfile
sudo dphys-swapfile swapon # sudo dphys-swapfile setup
# sudo dphys-swapfile swapon
# enable SPI # enable SPI
sudo sed -i s/#dtparam=spi=on/dtparam=spi=on/ /boot/config.txt sudo sed -i s/#dtparam=spi=on/dtparam=spi=on/ /boot/config.txt
@ -88,7 +89,7 @@ jobs:
# temporarily disabled to allow pisugar support # temporarily disabled to allow pisugar support
# echo 'ALL ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password # echo 'ALL ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password
# allow some time to unmount # allow some time to unmount
sleep 30 sleep 10
- name: Compress the release image - name: Compress the release image
run: | run: |