update base image for tests
This commit is contained in:
parent
57b5ab89c3
commit
9acde64ace
2
.github/workflows/test-on-rpi.yml
vendored
2
.github/workflows/test-on-rpi.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
TINDIE_USERNAME: ${{ secrets.TINDIE_USERNAME }}
|
TINDIE_USERNAME: ${{ secrets.TINDIE_USERNAME }}
|
||||||
with:
|
with:
|
||||||
# Set the base_image to the desired Raspberry Pi OS version
|
# Set the base_image to the desired Raspberry Pi OS version
|
||||||
base_image: https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2023-12-11/2023-12-11-raspios-bookworm-armhf-lite.img.xz
|
base_image: https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2024-03-15/2024-03-15-raspios-bookworm-armhf-lite.img.xz
|
||||||
image_additional_mb: 3072 # enlarge free space to 3GB
|
image_additional_mb: 3072 # enlarge free space to 3GB
|
||||||
optimize_image: true
|
optimize_image: true
|
||||||
# user: inky --> not supported?
|
# user: inky --> not supported?
|
||||||
|
6
.github/workflows/update-os.yml
vendored
6
.github/workflows/update-os.yml
vendored
@ -24,8 +24,8 @@ jobs:
|
|||||||
TINDIE_USERNAME: ${{ secrets.TINDIE_USERNAME }}
|
TINDIE_USERNAME: ${{ secrets.TINDIE_USERNAME }}
|
||||||
with:
|
with:
|
||||||
# Set the base_image to the desired Raspberry Pi OS version
|
# 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
|
base_image: https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2024-03-15/2024-03-15-raspios-bookworm-armhf-lite.img.xz
|
||||||
image_additional_mb: 2560 # enlarge free space to 2.5 GB
|
image_additional_mb: 3072 # enlarge free space to 3 GB
|
||||||
optimize_image: true
|
optimize_image: true
|
||||||
commands: |
|
commands: |
|
||||||
cd /home
|
cd /home
|
||||||
@ -71,7 +71,7 @@ jobs:
|
|||||||
sudo dphys-swapfile swapon
|
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/firmware/config.txt
|
||||||
|
|
||||||
# enable inkycal start at boot
|
# enable inkycal start at boot
|
||||||
sudo -u inky bash -c 'echo "@reboot sleep 60 && cd /home/inky/Inkycal && venv/bin/python inky_run.py &" | crontab -'
|
sudo -u inky bash -c 'echo "@reboot sleep 60 && cd /home/inky/Inkycal && venv/bin/python inky_run.py &" | crontab -'
|
||||||
|
Loading…
Reference in New Issue
Block a user