Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: test branch for wip custompios pr #8

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflow_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@

buildtest:
# armbian based images
- armbian/bananapim2zero
- armbian/orangepi3lts
#- armbian/bananapim2zero
#- armbian/orangepi3lts
- armbian/orangepi4lts
- armbian/orangepi_zero2
#- armbian/orangepi_zero2
# Orange Pi OS based images
# Raspberry Pi OS based images
- raspberry/rpi32
#- raspberry/rpi32
- raspberry/rpi64
- raspberry/rpi64-bullseye
# rpi 64 with KS
- raspberry/rpi64-ks
#- raspberry/rpi64-ks

# This is used to setup release build chain.
# Each entry will be used in setup matrix for releases
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/BuildImages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
uses: ./repository/.github/actions/build
with:
config: ${{ matrix.config }}
custompios-repository: "KwadFan/CustomPiOS"
custompios-ref: "upstream/headless_nm"

- name: Rename image file
id: move-image
Expand Down
2 changes: 1 addition & 1 deletion config/armbian/default
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ BASE_IMAGE_RESIZEROOT=600
# Compress not needed due compression done in workflow
BASE_RELEASE_COMPRESS=no
# Modules are valid for 32bit and 64bit images
MODULES="base(pkgupgrade,udev_fix,armbian(armbian_net,mainsailos,klipper,is_req_preinstall,moonraker,mainsail,timelapse,crowsnest,sonar))"
MODULES="base(pkgupgrade,headless_nm,password-for-sudo)"

# export Variables
export DOWNLOAD_BASE_URL
Expand Down
4 changes: 2 additions & 2 deletions config/armbian/orangepi4lts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
BASE_ARCH="arm64"

# Image source
DOWNLOAD_URL_CHECKSUM="${DOWNLOAD_BASE_URL}/armbian-orangepi4_lts_bullseye.img.xz.sha256"
DOWNLOAD_URL_IMAGE="${DOWNLOAD_BASE_URL}/armbian-orangepi4_lts_bullseye.img.xz"
DOWNLOAD_URL_CHECKSUM="${DOWNLOAD_BASE_URL}/armbian-orangepi4_lts_bookworm.img.xz.sha256"
DOWNLOAD_URL_IMAGE="${DOWNLOAD_BASE_URL}/armbian-orangepi4_lts_bookworm.img.xz"

# export Variables
export BASE_ARCH
Expand Down
10 changes: 6 additions & 4 deletions config/raspberry/default
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@
# 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"

DOWNLOAD_URL_CHECKSUM="https://downloads.raspberrypi.org/raspios_lite_arm64_latest.sha256"
DOWNLOAD_URL_IMAGE="https://downloads.raspberrypi.org/raspios_lite_arm64_latest.torrent"



BASE_IMAGE_ENLARGEROOT=4500
BASE_IMAGE_RESIZEROOT=600
# Compress not needed due compression done in workflow
BASE_RELEASE_COMPRESS=no
# Modules are valid for 32bit and 64bit images
MODULES="base(pkgupgrade,udev_fix,mainsailos(net,piconfig,klipper,is_req_preinstall,moonraker,timelapse,mainsail,crowsnest,sonar,password-for-sudo),postrename)"
MODULES="base(pkgupgrade,headless_nm,password-for-sudo)"

# export Variables
export DOWNLOAD_BASE_URL
Expand Down
23 changes: 23 additions & 0 deletions config/raspberry/rpi64-bullseye
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
# Shebang for better file detection

# Declare Variables before exporting.
# See https://www.shellcheck.net/wiki/SC2155

DOWNLOAD_BASE_URL="https://downloads.raspberrypi.org/raspios_oldstable_lite_arm64/images/raspios_oldstable_lite_arm64-2024-10-28/2024-10-22-raspios-bullseye-arm64-lite.img.xz"
DOWNLOAD_URL_CHECKSUM="${DOWNLOAD_BASE_URL}.sha256"
DOWNLOAD_URL_IMAGE="${DOWNLOAD_BASE_URL}.torrent"


BASE_ARCH="arm64"

# export variables
export BASE_ARCH
export DOWNLOAD_BASE_URL
export DOWNLOAD_URL_CHECKSUM
export DOWNLOAD_URL_IMAGE

### JSON sniplet Setup
### NOTE: Please see all config files for setup variables!!!
# shellcheck disable=SC2034
JSON_SUPPORTED_SBC="pi3-64bit pi4-64bit"
Loading