-
-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Stephan Wendel <[email protected]>
- Loading branch information
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env bash | ||
# Shebang for better file detection | ||
|
||
# Declare Variables before exporting. | ||
# See https://www.shellcheck.net/wiki/SC2155 | ||
|
||
# shellcheck disable=all | ||
|
||
BASE_ARCH="arm64" | ||
|
||
# Base User | ||
BASE_ADD_USER="yes" | ||
BASE_USER="pi" | ||
BASE_USER_PASSWORD="lepotato" | ||
|
||
# Needed while building for non rpi sbc | ||
BASE_DISTRO="raspbian" | ||
BASE_IMAGE_RASPBIAN="yes" | ||
|
||
# partition resizing | ||
BASE_ROOT_PARTITION="2" | ||
BASE_IMAGE_ENLARGEROOT=5300 | ||
#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,mainsailos(mainsailos,klipper,moonraker,mainsail,timelapse,crowsnest,sonar)" | ||
MODULES="base,pkgupgrade,udev_fix,mainsailos(net,klipper,is_req_preinstall,moonraker,timelapse,mainsail,crowsnest,sonar,password-for-sudo)" | ||
|
||
# export Variables | ||
export BASE_ADD_USER | ||
export BASE_USER | ||
export BASE_USER_PASSWORD | ||
export BASE_DISTRO | ||
export BASE_IMAGE_RASPBIAN | ||
export BASE_ROOT_PARTITION | ||
export BASE_IMAGE_ENLARGEROOT | ||
export BASE_IMAGE_RESIZEROOT | ||
export BASE_RELEASE_COMPRESS | ||
export MODULES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
# Shebang for better file detection | ||
|
||
# Declare Variables before exporting. | ||
# See https://www.shellcheck.net/wiki/SC2155 | ||
|
||
# shellcheck disable=all | ||
|
||
DOWNLOAD_URL_CHECKSUM="https://distro.libre.computer/ci/raspbian/11/SHA256SUMS" | ||
DOWNLOAD_URL_IMAGE="https://distro.libre.computer/ci/raspbian/11/2023-05-03-raspbian-bullseye-arm64-lite%2Baml-s905x-cc.img.xz" | ||
|
||
export DOWNLOAD_URL_CHECKSUM | ||
export DOWNLOAD_URL_IMAGE |