Skip to content

Commit

Permalink
feat: add libre 'LePotato'
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Wendel <[email protected]>
  • Loading branch information
KwadFan committed Oct 28, 2023
1 parent 6c95a7b commit cd79fc2
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
40 changes: 40 additions & 0 deletions config/libre/default
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
13 changes: 13 additions & 0 deletions config/libre/lepotato
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

0 comments on commit cd79fc2

Please sign in to comment.