Skip to content

Commit

Permalink
chore: update urls and base image version (#288)
Browse files Browse the repository at this point in the history
* chore: update urls and base image version

Updates urls and uses latest bullseye image

Signed-off-by: Stephan Wendel <[email protected]>

* fix: fix typo in arch url

Signed-off-by: Stephan Wendel <[email protected]>

* chore: change url layout

Signed-off-by: Stephan Wendel <[email protected]>

* refactor: refactor URL layout

Signed-off-by: Stephan Wendel <[email protected]>

* refactor: set full url, set file extensions

Signed-off-by: Stephan Wendel <[email protected]>

* fix: fix typo in URL

Signed-off-by: Stephan Wendel <[email protected]>

* refactor: set 64bit legacy as default

Keep latest entrys for bookworm changes

Signed-off-by: Stephan Wendel <[email protected]>

* chore: remove unesseccary comments

Signed-off-by: Stephan Wendel <[email protected]>

---------

Signed-off-by: Stephan Wendel <[email protected]>
  • Loading branch information
KwadFan authored Mar 21, 2024
1 parent 257f28d commit 47096a7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 30 deletions.
8 changes: 8 additions & 0 deletions config/raspberry/default
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
# Declare Variables before exporting.
# See https://www.shellcheck.net/wiki/SC2155

# New locations after Bullseye turned into 'oldstable'
DOWNLOAD_BASE_URL="https://downloads.raspberrypi.org/raspios_oldstable_lite_arm64/images/raspios_oldstable_lite_arm64-2023-12-06/2023-12-05-raspios-bullseye-arm64-lite.img.xz"
DOWNLOAD_URL_CHECKSUM="${DOWNLOAD_BASE_URL}.sha256"
DOWNLOAD_URL_IMAGE="${DOWNLOAD_BASE_URL}.torrent"

BASE_IMAGE_ENLARGEROOT=4500
BASE_IMAGE_RESIZEROOT=600
# Compress not needed due compression done in workflow
Expand All @@ -12,6 +17,9 @@ BASE_RELEASE_COMPRESS=no
MODULES="base,pkgupgrade,udev_fix,mainsailos(net,piconfig,klipper,is_req_preinstall,moonraker,timelapse,mainsail,crowsnest,sonar,password-for-sudo),postrename"

# export Variables
export DOWNLOAD_BASE_URL
export DOWNLOAD_URL_CHECKSUM
export DOWNLOAD_URL_IMAGE
export BASE_IMAGE_ENLARGEROOT
export BASE_IMAGE_RESIZEROOT
export BASE_RELEASE_COMPRESS
Expand Down
10 changes: 4 additions & 6 deletions config/raspberry/rpi32
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
# Declare Variables before exporting.
# See https://www.shellcheck.net/wiki/SC2155

# Keep for Bookworm template
# DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.org/raspios_lite_armhf_latest.sha256"
# DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.org/raspios_lite_armhf_latest.torrent"

# New locations after Bullseye turned into 'oldstable'
DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.com/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2023-10-10/2023-05-03-raspios-bullseye-armhf-lite.img.xz.sha256"
DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.com/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2023-10-10/2023-05-03-raspios-bullseye-armhf-lite.img.xz.torrent"
DOWNLOAD_BASE_URL="https://downloads.raspberrypi.org/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2023-12-06/2023-12-05-raspios-bullseye-armhf-lite.img.xz"
DOWNLOAD_URL_CHECKSUM="${DOWNLOAD_BASE_URL}.sha256"
DOWNLOAD_URL_IMAGE="${DOWNLOAD_BASE_URL}.torrent"

export DOWNLOAD_BASE_URL
export DOWNLOAD_URL_CHECKSUM
export DOWNLOAD_URL_IMAGE

Expand Down
11 changes: 0 additions & 11 deletions config/raspberry/rpi64
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,8 @@

BASE_ARCH="arm64"

# Keep for Bookworm template
# DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.org/raspios_lite_arm64_latest.sha256"
# DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.org/raspios_lite_arm64_latest.torrent"

# New locations after Bullseye turned into 'oldstable'
DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.com/raspios_oldstable_lite_arm64/images/raspios_oldstable_lite_arm64-2023-10-10/2023-05-03-raspios-bullseye-arm64-lite.img.xz.sha256"
DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.com/raspios_oldstable_lite_arm64/images/raspios_oldstable_lite_arm64-2023-10-10/2023-05-03-raspios-bullseye-arm64-lite.img.xz.torrent"


# export variables
export BASE_ARCH
export DOWNLOAD_URL_CHECKSUM
export DOWNLOAD_URL_IMAGE

### JSON sniplet Setup
### NOTE: Please see all config files for setup variables!!!
Expand Down
14 changes: 1 addition & 13 deletions config/raspberry/rpi64-ks
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,12 @@

BASE_ARCH="arm64"

# Keep for Bookworm template
# DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.org/raspios_lite_arm64_latest.sha256"
# DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.org/raspios_lite_arm64_latest.torrent"

# New locations after Bullseye turned into 'oldstable'
DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.com/raspios_oldstable_lite_arm64/images/raspios_oldstable_lite_arm64-2023-10-10/2023-05-03-raspios-bullseye-arm64-lite.img.xz.sha256"
DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.com/raspios_oldstable_lite_arm64/images/raspios_oldstable_lite_arm64-2023-10-10/2023-05-03-raspios-bullseye-arm64-lite.img.xz.torrent"


# Changed modules
# shellcheck disable=SC2034
MODULES="base,pkgupgrade,udev_fix,mainsailos(net,piconfig,klipper,is_req_preinstall,moonraker,timelapse,mainsail,klipperscreen,crowsnest,sonar,password-for-sudo),postrename"


# export variables
export BASE_ARCH
export DOWNLOAD_URL_CHECKSUM
export DOWNLOAD_URL_IMAGE
export MODULES

### JSON sniplet Setup
### NOTE: Please see all config files for setup variables!!!
Expand Down

0 comments on commit 47096a7

Please sign in to comment.