Update update-os.yml
This commit is contained in:
parent
8644637bb8
commit
5d31723f9c
5
.github/workflows/update-os.yml
vendored
5
.github/workflows/update-os.yml
vendored
@ -36,6 +36,7 @@ jobs:
|
|||||||
whoami
|
whoami
|
||||||
cd /home/inky
|
cd /home/inky
|
||||||
sudo apt-get update -y
|
sudo apt-get update -y
|
||||||
|
sudo apt-get dist-ugrade -y
|
||||||
|
|
||||||
sudo apt-get install -y python3-pip
|
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
|
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)
|
# 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
|
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
|
- name: Compress the release image
|
||||||
run: |
|
run: |
|
||||||
|
# allow some time to unmount
|
||||||
|
sleep 10
|
||||||
mv ${{ steps.build_image.outputs.image }} InkycalOS_Lite.img
|
mv ${{ steps.build_image.outputs.image }} InkycalOS_Lite.img
|
||||||
xz -0 -T 0 -v InkycalOS_Lite.img
|
xz -0 -T 0 -v InkycalOS_Lite.img
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user