Commit graph

338 commits

Author SHA1 Message Date
openoms
c2c710a9d1
check for /boot/firmware dir during build (#4529) 2024-04-06 21:19:39 +02:00
openoms
8f7f08cea9
check kernel8 image in /boot/firmware/ (#4528) 2024-04-06 09:51:44 +02:00
rootzoll
c7eb225de4 sd card build prevent "unable to resolve host debian" error 2024-04-04 13:30:36 +02:00
rootzoll
4325658924 Merge branch 'de#4517 reactivate watchdogv' into v1.11 2024-04-04 12:12:13 +02:00
/rootzoll
dc5999a3c7
clean release & init startup (rc6) (#4518) 2024-04-03 23:43:40 +02:00
rootzoll
ac9735b8d3 correct config file 2024-04-03 23:25:43 +02:00
/rootzoll
5022cfaf37
fix redis persistence and #4449 2024-04-01 13:35:45 +02:00
openoms
5581a40b2b
base image update: raspios_arm64-2024-03-15 (#4479) 2024-03-17 08:49:01 +01:00
/rootzoll
14e1201d82
Correct branches for WebUI & API 2024-03-15 15:54:03 +01:00
openoms
13ae51c54a
build: fix github web-flow PGPpubkeyFingerprint (#4417)
* build: fix github web-flow PGPpubkeyFingerprint
* git-verify: use extended regular expression to check alternative key
* build: break when external scripts return with error
* git-verify: use extended regular expression to check correctKey
* ci: maximize disk space in gh action
using https://github.com/marketplace/actions/maximize-build-disk-space
2024-02-16 17:23:06 +01:00
openoms
e70f4b7197
revert: build: remove externally-managed flag for python (#4400) (#4410)
This reverts commit 240f28d5dc.
2024-02-11 21:05:57 +01:00
openoms
240f28d5dc
build: remove externally-managed flag for python (#4400) 2024-02-09 16:19:47 +01:00
/rootzoll
81ebfb7902
Remove script stop/block on CL install (#4391)
* mark as v1.11.0rc2
* make non-interactive
* remove rpi-first-boot-wizard
2024-01-31 21:45:04 +01:00
openoms
e6bec47aec
build: use the kernel8.img if page size is not 4k (#4348)
* build: use the kernel8.img if page size is not 4k
* fix: remove invalid raspi-config commands
2024-01-05 09:13:02 +00:00
openoms
186d50dec3
build: fix base image filename in comment 2024-01-05 08:26:24 +01:00
/rootzoll
c290205fb9
#4259 activating nvme hat on sd card build (#4322)
* #4259 activating nvme in config.txt
* adding to CHANGES
* compact config.txt
2023-12-15 01:42:31 +01:00
/rootzoll
fac733a0a1
raspios_arm64-2023-12-06 (#4319)
* raspios_arm64-2023-10-10
* update signature check
* Update Packer
2023-12-14 19:43:30 +01:00
openoms
07cdde07c0
trigger safe shutdown with rpi5 power button (#4312)
* trigger safe shutdown with rpi5 power button
* run blitz.shutdown.sh with sudo everywhere
* blitz.shutdown.sh: remove sudo, fulcrum to stop
2023-12-13 12:11:13 +01:00
openoms
a015d2c399
fix typo 2023-12-12 20:48:13 +01:00
openoms
9f238868e9
fix gnome login screen: create admin as a non system user (#4270) 2023-11-23 13:18:59 +00:00
/rootzoll
624f8ca1a7
Base updates of Bitcoin & LND (#4263)
* Bitcoin Core v25.1 update
* LND v0.17.1 update
* updated protobuffs python renderings
* fix python grpc module
* update CHANGES
* lnd update to v0.17.2-beta

---------

Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
2023-11-22 07:38:00 +00:00
openoms
b57aba6acf
Debian12 Bookworm for RPi in ci (#4238)
* update RPi base image to Debian12 Bookworm in ci
* ci: remove  -d headless for rpi
* docs: ready made images for arm64-rpi
* update python deps, add rsyslog, armbian_deps
* hide wget progress in lean build, keep errors
* apt-get instead of apt
* enable ssh
* apt-get everywhere, remove only if present
* use --quiet for wget for cleaner logs
2023-11-22 07:28:54 +00:00
openoms
c67499b222
ci: fix builds (#4160)
* fix: missing space in amd64 fatpack action
* change tab to space
* determine github user
* use $GITHUB_OUTPUT instead of set-output
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
* update all build workflows

* fix: don't protect system packages from pip
Discussed in: https://github.com/raspiblitz/raspiblitz/issues/4170

* add raspi.list only on aarch64

* create auth.log for fail2ban
related: https://github.com/raspiblitz/raspiblitz/issues/4044

* Broken builds on amd64 for blitz api and core lightning (debian 12) (#4242)
Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>

* remove the arm64-rpi-debian12-lean-image-build
* deactivate automatic fatpack builds in gh actions

---------

Co-authored-by: Akihiko <105069903+0xakihiko@users.noreply.github.com>
2023-11-15 15:12:59 +01:00
Christoph Stenglein
bf9aaa9076
(build) set LC_ALL to C (#4124) 2023-10-23 17:38:38 +02:00
rootzoll
a9f9272388 #4149 add copytruncate to logrotate config 2023-09-21 18:45:54 +02:00
openoms
2c235f3b53
fix adduser + maintenance tasks (#4172)
* fix: add --shell /bin/bash to adduser

* joininbox update to v0.8.1 and install fixes

* CLN update to v23.08.1

* bos update to 15.8.14, improve menu

* lnproxy: deactivate in menu and provision

* copy the skeleton files for user used with login

* deprecate loop single install further

do not install in any case
the uninstall option is still used

* deprecate faraday single install further

do not install in any case
the uninstall option is still used

* deprecate pool single install further

do not install in any case
the uninstall option is still used

* bos: minimize changes to script

* only add --bash oprion to users intended for login

* add info to CHANGES

* add sudo to non-privileged scripts

* bos: don't download source

* ci: run apt update before qemu install
2023-09-20 10:29:15 +02:00
Michael Schmid
ea41275b5d
Fix pip error: This environment is externally managed on Debian 12 (#4153)
* add support for debian12:
- remove python lock which prevents pip from installing modules
- make admin home directory readable
2023-09-20 10:24:04 +02:00
qlrd
a6a15dc834
Recognizing Armbian system and fixing "Bitcoin Install Fails" on Armbian (#4157)
* Update build_sdcard.sh

OrangePi5 was not recognized in line ~255; so recognize it by same 'Debian' method, replacing by 'Armbian'

* Update bitcoin.install.sh

Bitcoin Install Fails during build_sdcard.sh due to PGP key download; see https://github.com/raspiblitz/raspiblitz/issues/3753. Comment it by now

* Update bitcoin.install.sh

changed to secure hkps

* Update home.admin/config.scripts/bitcoin.install.sh

These comments are not needed here. The sole purpose was to describe the move to a PR.

Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>

* Update build_sdcard.sh

Modified the request by OpenOMS where the comments are unnecessary and kept Debian as the first option and moved Armbian down the list as an elif.

---------

Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
2023-09-09 21:38:32 +03:00
openoms
39102b149c
create home folders as 0755 on Debian 12 (#4156)
related: https://github.com/raspiblitz/raspiblitz/issues/4154
2023-09-09 21:36:35 +03:00
rootzoll
7070df161c #4138 raspberrypi optimizations not for debian 2023-08-29 21:36:45 +02:00
rootzoll
329e4a83e9 #4062 fix if statements 2023-08-11 16:45:31 +02:00
rootzoll
d0e5d90bbb update fallback node lists 2023-08-08 16:21:53 +02:00
/rootzoll
fe0e1e518e
#3983 switch on vm.overcommit_memory & higher fs.inotify.max_user_instances (#4041) 2023-08-01 00:14:46 +02:00
/rootzoll
9bfc8237e0
Edit Logrotate: Reduce Complexity & hard set 100M size limit (#4038)
* simplify logrotate and force hard size limit
* default log rotation in build sd card & 100M limit
* changing to size limit for tor logs
* changing to size limit for CLN logs
* force a log rotate on every boot
2023-07-31 22:08:16 +02:00
openoms
0d0e5581a5
ci: UEFI image generation and build updates (#4033)
* ci: use uefi for amd64 image, debian 12.1.0
* build: add amd64 legacyboot image action
* ci: store var values in config, update readme
* fix: add raspi repo on aarch64 only
fixes: https://github.com/raspiblitz/raspiblitz/issues/4029
* docs: guide to extend the root partition
2023-07-30 10:51:33 +02:00
rootzoll
7dfdcf9b3f moved raspiblitz-web into raspiblitz github org 2023-07-29 19:18:01 +02:00
/rootzoll
9878ea8a02
misc updates for v1.10.0rc1 (#4001)
* add lndg update info

* mark v1.10.0rc1 version

* Thunderhub v0.13.19

* changing default repo to raspiblitz org

* LNbits 0.10.9

* lnbits dont delete user on "off"

* BTCPayServer 1.10.3

* switch default branch to v1.10
2023-07-08 19:38:08 +02:00
/rootzoll
68772e3f6d
New RaspiOS 20230503 & cln 23.05.2 & BitcoinCore 25.0 (#3993)
* Update sd card base Image
* update cln to 23.05.2
* bitcoin update to 25.0
* document CHANGES
2023-07-08 15:31:39 +02:00
openoms
d270662b73
ci: update images, add arm64-rpi-debian12 build (#3985)
* ci: update images, add arm64-rpi-debian12 build

* ci: add apt update and concurrency

* fix: use netcat-openbsd in build

* ci: add concurrency to all jobs

* fix: simplify image check and add python 3.11

* ci: update amd64 base image to Debian 12.0.0

* build: separate apt_installs

* add btrfs-progs only if not bookworm on aarch64

* build: remove armbian, add aarch64 debian

---------

Co-authored-by: /rootzoll <christian@geektank.de>
2023-07-08 14:58:00 +02:00
openoms
8d72c83ca9
amd64 image update to Debian 12.0.0 and Python compatibility (#3967)
* build:  use python 3.11 if available

* ci: update amd64 base image to Debian 12.0.0

* use netcat-openbsd package
2023-07-08 14:51:11 +02:00
Dipun Mistry
c3715c2194
minor fixes I found as I ran scripts manually (#3767)
* minor fixes I found as I ran scripts manually
* removed use of sudo & added sudo root check
2023-05-03 17:21:44 +02:00
rootzoll
19a54e1641 move fatpack into external script 2023-04-09 23:19:22 +02:00
rootzoll
2397b3847c update SD CARD base image info 2023-04-04 01:21:06 +02:00
openoms
82e26b118b
disable suspend (#3587)
* disable suspend

* fix typo in the logrotate config
2023-02-03 19:38:20 +01:00
/rootzoll
a382f2b803
fix web api/ui installs (#3567)
* add export build parameter

* Install WebAPI with build_sdcard.sh defaults

* change use of build_sdcard

* make webui work with DEFAULTS

* use web data

* update docs
2022-12-22 00:38:44 +01:00
/rootzoll
4a2a33c081
Fix display settings recover for future lean build releases (#3558)
* modify dev notes

* display recover during lean-build
2022-12-21 14:50:52 +01:00
openoms
4ab6c46a27
Add automated image builds for VM, bare metal (amd64) and RPi (arm64-rpi) (#3486)
* add amd64 image build with lean and fatpack option

* use the pi user for setup

* add notes to ci readme

* add gnome desktop to fatpack image, reduce to 30GB

* documentation updates

* install gnome with --force-yes

* install gnome desktop non-interactively

* change links to rootzoll dev

* pass user and branch to build_sdcard.sh from PR

* add user and branch to Makefile

* Add arm64 rpi image build (#74)

ci:
* add arm64-rpi image build
* rename to raspiblitz-amd64-debian-11.5-lean/fatpack
* use rm -f to not exit with error
* place amd64 images under ci/amd64/builds/
* make /dev/shm world writable for fatpack
* fix vlc remove and --var syntax
* remove sudo-s
* leave update and upgrade to the build_sdcard.sh
* increase image size to 16GB, rename build dir

build_sdcard.sh:
* detect raspios_arm64 with raspi.list
* switch ssmtp to msmtp
related: https://github.com/rootzoll/raspiblitz/pull/2232

Co-authored-by: rootzoll <johndoe@example.com>

* i2pd: unified install from repo, /usr/sbin to PATH

related: #2413, fixes amd64 build

* update CHANGES.md

* fix amd64 path in Makefile

* use only qemu image, run on ubuntu-22.04

* use file_checksum for the arm64-rpi base image

* Fix the local arm64-rpi image generation (#75)

* add selfrun script
* ubuntu: add universe repo and qemu-user-static
* test on ubuntu live (jammy)

* build from branches: [ "dev", "v1.8", "v1.9" ]

* correct Makefile paths for the  local run

* make the local run non-interactive

* improve readme and Makefile

* increase disk image sizes to 32GB

* set image sizes to 30 GB for amd64 and arm64-rpi

* add network-manager for amd64

* add to readme

* skip Code&Compile for VM builds

* add to readme

* amd64 base image update to debian 11.6.0

* remove debian version from filenames

* skip Code&Compile for amd64 builds

* Merge branch 'dev' into add-amd64-image-build

* amd64: increase cpu and RAM, compile mempool last

* trigger workflows only on scripts used or called

* Update ci/arm64-rpi/packer.build.arm64-rpi.sh

Co-authored-by: Daniel Bast <2790401+dbast@users.noreply.github.com>

* arm64 remove setup-qemu-action, leave npm last

* set only manual trigger for fatpack, edit triggers

Co-authored-by: rootzoll <johndoe@example.com>
Co-authored-by: Daniel Bast <2790401+dbast@users.noreply.github.com>
2022-12-20 15:31:51 +01:00
/rootzoll
334792abda
#2891 Prepare JAM install scripts for WebUI (#3545)
* webapi branches

* add thunderhub off

* webui JAM & joinmarket

* fix joinmarket menu

* comment output

* add debug

* remove user delete JAM

* pipe outputs

* add to fatpack

* pipe more debug

* dont remove app

* force https

* #3544 manual merge

* separate install and on option for joinmarket (#3544)

* fix call

* adapt api/webui branches

Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
2022-12-19 12:28:56 +01:00
/rootzoll
edf375860d
fix sdcard build (#3534) 2022-12-16 17:53:32 +01:00
/rootzoll
54c66559e0
added githubapi versioning (#3530) 2022-12-16 11:12:56 +01:00