forked from mainsail-crew/MainsailOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Will be removed after testing, due revert Signed-off-by: Stephan Wendel <me@stephanwe.de>
- Loading branch information
Showing
3 changed files
with
61 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
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,23 @@ | ||
#!/usr/bin/env bash | ||
# Shebang for better file detection | ||
|
||
# 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_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" | ||
|
||
|
||
MODULES="base(fail_test)" | ||
|
||
|
||
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="pi1-32bit pi2-32bit" |
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,36 @@ | ||
#!/usr/bin/env bash | ||
#### Klipper Install Module | ||
#### | ||
#### Based on work done by Raymond Himle and Stefan Dej | ||
#### | ||
#### Written by Stephan Wendel aka KwadFan <me@stephanwe.de> | ||
#### Copyright 2022 | ||
#### https://github.com/mainsail-crew/MainsailOS | ||
#### | ||
#### This File is distributed under GPLv3 | ||
#### | ||
|
||
# shellcheck enable=require-variable-braces | ||
|
||
### For easier maintainability look to klipper/config. | ||
|
||
## Source error handling, leave this in place | ||
set -Eex | ||
|
||
## Set LC_ALL to prevent errors | ||
export LC_ALL=C | ||
|
||
# Set DEBIAN_FRONTEND to noninteractive | ||
if [[ "${DEBIAN_FRONTEND}" != "noninteractive" ]]; then | ||
export DEBIAN_FRONTEND=noninteractive | ||
fi | ||
|
||
## Source CustomPIOS common.sh | ||
# shellcheck disable=SC1091 | ||
source /common.sh | ||
install_cleanup_trap | ||
|
||
### This module will be removed! Only to have a failing run to test build chain | ||
|
||
|
||
exit 1 |