mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-20 19:06:54 +01:00
Compare commits
4 Commits
amd64-fatp
...
nodejs-upd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52bc1c9aa4 | ||
|
|
cfded50575 | ||
|
|
142b5197fb | ||
|
|
76267f812b |
4
.github/workflows/amd64-fatpack-image.yml
vendored
4
.github/workflows/amd64-fatpack-image.yml
vendored
@@ -76,9 +76,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Run the build script
|
- name: Run the build script
|
||||||
run: |
|
run: |
|
||||||
echo "Using the variables: --pack fatpack --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop none --image_size 31000"
|
echo "Using the variables: --pack fatpack --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop none"
|
||||||
cd ci/amd64
|
cd ci/amd64
|
||||||
bash packer.build.amd64-debian.sh --pack fatpack --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop none --image_size 31000
|
bash packer.build.amd64-debian.sh --pack fatpack --github_user ${{steps.set_values.outputs.GITHUB_USER}} --branch ${{env.BRANCH_NAME}} --preseed_file preseed.cfg --boot uefi --desktop none
|
||||||
|
|
||||||
- name: Compute checksum of the raw image
|
- name: Compute checksum of the raw image
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
## Ready made images for arm64-rpi
|
## Ready made images for arm64-rpi
|
||||||
* The images are built in GitHub actions
|
* The images are built in GitHub actions
|
||||||
* To see the downloadable artifacts will need to log in to GitHub
|
* To see the downloadable artifacts will need to log in to GitHub
|
||||||
* Find the latest successful build of the default amd64 image:
|
* Find the latest successful build of the default arm64 image:
|
||||||
https://github.com/raspiblitz/raspiblitz/actions/workflows/arm64-rpi-lean-image.yml?query=workflow%3Aarm64-rpi-lean-image-build+is%3Asuccess+branch%3Adev
|
https://github.com/raspiblitz/raspiblitz/actions/workflows/arm64-rpi-lean-image.yml?query=workflow%3Aarm64-rpi-lean-image-build+is%3Asuccess+branch%3Adev
|
||||||
* unpack the artifact to the same directory
|
* unpack the artifact to the same directory
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ variable "boot" { default = "uefi" }
|
|||||||
variable "preseed_file" { default = "preseed.cfg" }
|
variable "preseed_file" { default = "preseed.cfg" }
|
||||||
variable "hostname" { default = "raspiblitz-amd64" }
|
variable "hostname" { default = "raspiblitz-amd64" }
|
||||||
|
|
||||||
variable "image_size" { default = "27000" }
|
variable "disk_size" { default = "27000" }
|
||||||
variable "memory" { default = "4096" }
|
variable "memory" { default = "4096" }
|
||||||
variable "cpus" { default = "4" }
|
variable "cpus" { default = "4" }
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ source "qemu" "debian" {
|
|||||||
boot_command = local.boot_command
|
boot_command = local.boot_command
|
||||||
boot_wait = "5s"
|
boot_wait = "5s"
|
||||||
cpus = var.cpus
|
cpus = var.cpus
|
||||||
disk_size = var.image_size
|
disk_size = var.disk_size
|
||||||
http_directory = "./http"
|
http_directory = "./http"
|
||||||
iso_checksum = var.iso_checksum
|
iso_checksum = var.iso_checksum
|
||||||
iso_url = "https://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/${var.iso_name}"
|
iso_url = "https://cdimage.debian.org/cdimage/release/current/amd64/iso-cd/${var.iso_name}"
|
||||||
|
|||||||
@@ -721,7 +721,7 @@ do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
###############################
|
###############################
|
||||||
# RAID data check (BRTFS)
|
# RAID data check (BTRFS)
|
||||||
###############################
|
###############################
|
||||||
# see https://github.com/rootzoll/raspiblitz/issues/360#issuecomment-467698260
|
# see https://github.com/rootzoll/raspiblitz/issues/360#issuecomment-467698260
|
||||||
|
|
||||||
@@ -729,7 +729,7 @@ do
|
|||||||
recheckRAID=$((($counter % 3600)+1))
|
recheckRAID=$((($counter % 3600)+1))
|
||||||
if [ ${recheckRAID} -eq 1 ]; then
|
if [ ${recheckRAID} -eq 1 ]; then
|
||||||
|
|
||||||
# check if BTRTFS raid is active & scrub
|
# check if BTRFS raid is active & scrub
|
||||||
logger -p info "background.sh - RAID data check"
|
logger -p info "background.sh - RAID data check"
|
||||||
source <(/home/admin/config.scripts/blitz.datadrive.sh status)
|
source <(/home/admin/config.scripts/blitz.datadrive.sh status)
|
||||||
if [ "${isBTRFS}" == "1" ] && [ "${isRaid}" == "1" ]; then
|
if [ "${isBTRFS}" == "1" ] && [ "${isRaid}" == "1" ]; then
|
||||||
|
|||||||
@@ -288,7 +288,7 @@ if [ "${mode}" = "tested" ] || [ "${mode}" = "reckless" ] || [ "${mode}" = "cust
|
|||||||
tar -xvf ${binaryName}
|
tar -xvf ${binaryName}
|
||||||
sudo install -m 0755 -o root -g root -t /usr/local/bin/ bitcoin-${bitcoinVersion}/bin/*
|
sudo install -m 0755 -o root -g root -t /usr/local/bin/ bitcoin-${bitcoinVersion}/bin/*
|
||||||
sleep 3
|
sleep 3
|
||||||
if ! sudo /usr/local/bin/bitcoind --version | grep "${bitcoinVersion}"; then
|
if ! sudo -u bitcoin /usr/local/bin/bitcoind --version | grep "${bitcoinVersion}"; then
|
||||||
echo
|
echo
|
||||||
echo "# BUILD FAILED --> Was not able to install bitcoind version(${bitcoinVersion})"
|
echo "# BUILD FAILED --> Was not able to install bitcoind version(${bitcoinVersion})"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# follows https://github.com/nodesource/distributions/blob/master/README.md#manual-installation
|
# follows https://github.com/nodesource/distributions/blob/master/README.md#manual-installation
|
||||||
|
|
||||||
VERSION="20"
|
VERSION="22"
|
||||||
|
|
||||||
# command info
|
# command info
|
||||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user