Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
ec55531f7a
18
.github/workflows/update-os.yml
vendored
18
.github/workflows/update-os.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: update OS
|
||||
name: build
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@ -23,9 +23,8 @@ jobs:
|
||||
with:
|
||||
# Set the base_image to the desired Raspberry Pi OS version
|
||||
base_image: https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2023-05-03/2023-05-03-raspios-bullseye-armhf-lite.img.xz
|
||||
image_additional_mb: 2560 # enlarge free space to 2 GB
|
||||
image_additional_mb: 2560 # enlarge free space to 2.5 GB
|
||||
optimize_image: true
|
||||
user: inky
|
||||
commands: |
|
||||
cd /home
|
||||
sudo useradd -m -p "$(openssl passwd -1 $INKY_INITAL_PASSWORD)" inky
|
||||
@ -36,19 +35,8 @@ jobs:
|
||||
cd /home/inky
|
||||
sudo apt-get update -y
|
||||
|
||||
# add python3.11. Python3.12 currently has some issues with matplotlib
|
||||
wget -q https://www.python.org/ftp/python/3.11.8/Python-3.11.8.tgz
|
||||
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev -y
|
||||
tar -xzf Python-3.11.8.tgz
|
||||
cd Python-3.11.8/
|
||||
./configure --enable-optimizations
|
||||
sudo make altinstall > /dev/null 2>&1
|
||||
sudo rm /usr/bin/python
|
||||
sudo ln -s /usr/local/bin/python3.12 /usr/bin/python
|
||||
|
||||
python --version
|
||||
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 -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 libxslt -y
|
||||
echo $PWD && ls
|
||||
git clone https://github.com/aceinnolab/Inkycal
|
||||
cd Inkycal
|
||||
|
Loading…
Reference in New Issue
Block a user