fixing bugs..
This commit is contained in:
		
							
								
								
									
										11
									
								
								.github/workflows/update-os.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/update-os.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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: | | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user