diff --git a/.github/workflows/update-os.yml b/.github/workflows/update-os.yml index 6203c17..206f6f9 100644 --- a/.github/workflows/update-os.yml +++ b/.github/workflows/update-os.yml @@ -36,6 +36,7 @@ jobs: whoami cd /home/inky sudo apt-get update -y + sudo apt-get dist-ugrade -y sudo apt-get install -y python3-pip sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev wkhtmltopdf libopenblas-dev libxml2-dev libxslt-dev python-dev-is-python3 -y @@ -82,9 +83,13 @@ jobs: # make all users require a password for sudo commands (improves security) echo 'ALL ALL=(ALL:ALL) PASSWD: ALL' | sudo tee -a /etc/sudoers.d/010_require_sudo_password + # allow some time to unmount + sleep 10 - name: Compress the release image run: | + # allow some time to unmount + sleep 10 mv ${{ steps.build_image.outputs.image }} InkycalOS_Lite.img xz -0 -T 0 -v InkycalOS_Lite.img