From 53c799182126effe9b206a615c6527764c7b9c85 Mon Sep 17 00:00:00 2001 From: notplants Date: Thu, 13 Jan 2022 10:32:42 -0500 Subject: [PATCH 1/2] remove unused packages from release_index.html --- raspi_master.yaml | 14 ++++++++++++-- templates/release_index.html | 8 +------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/raspi_master.yaml b/raspi_master.yaml index 75cd71f..5c6c348 100644 --- a/raspi_master.yaml +++ b/raspi_master.yaml @@ -61,7 +61,7 @@ steps: - chroot: / shell: | - apt-get update + apt-get update --allow-releaseinfo-change unless: rootfs_unpacked - apt: install @@ -142,15 +142,25 @@ steps: - gnupg2 tag: / + - shell: | + # because the linux kernel updates its vesrion + # we need to make sure that we keep config.txt_i2c in sync with this + # e.g. kernel=vmlinuz-4.19.0-18-arm64 + # this copy command helps us see what the linux kernel version is (TODO: better way to do this) + cp "${ROOT?}/boot/firmware/config.txt" /srv/peachcloud/automation/peach-img-builder/peach-img-kernel-config.log + root-fs: / + - chroot: / shell: | pip3 install setuptools echo "deb http://apt.peachcloud.org/ buster main" > /etc/apt/sources.list.d/peach.list wget -O /tmp/pubkey.gpg http://apt.peachcloud.org/pubkey.gpg apt-key add /tmp/pubkey.gpg - apt-get update + apt-get update --allow-releaseinfo-change apt-get install -y peach-config RUST_LOG=info /usr/bin/peach-config setup -i -n -d + # set default password for peach-web to peachcloud + RUST_LOG=info /usr/bin/peach-config changepassword -p peachcloud # lastly log which versions of microservices were installed and copy the provenance to the host machine - chroot: / diff --git a/templates/release_index.html b/templates/release_index.html index f250724..1e23c4c 100644 --- a/templates/release_index.html +++ b/templates/release_index.html @@ -27,14 +27,8 @@

PeachCloud Package Builds

The above image contains the following packages:

From 795f7b8c0f1eaeadceefffe8ea626b769c0a4a4a Mon Sep 17 00:00:00 2001 From: notplants Date: Thu, 13 Jan 2022 11:26:33 -0500 Subject: [PATCH 2/2] Update git link --- templates/release_index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/release_index.html b/templates/release_index.html index 1e23c4c..ab7b488 100644 --- a/templates/release_index.html +++ b/templates/release_index.html @@ -38,7 +38,7 @@

For online documentation please refer to docs.peachcloud.org.
Code repositories can be found at -github.com/peachcloud.
+git.coopcloud.tech/PeachCloud.
Support our efforts at opencollective.com/peachcloud.