diff --git a/.github/workflows/push_pr_release.yml b/.github/workflows/push_pr_release.yml
index 98f05e5..bfbca7f 100644
--- a/.github/workflows/push_pr_release.yml
+++ b/.github/workflows/push_pr_release.yml
@@ -42,7 +42,9 @@ jobs:
path: pi-gen
- name: 🔧 Prepare
- run: sudo apt-get update && sudo apt-get install -y coreutils quilt parted qemu-utils qemu-user-static debootstrap zerofree zip dosfstools libarchive-tools libcap2-bin grep rsync xz-utils file git curl bc kmod kpartx
+ run: |
+ sudo apt-get update && sudo apt-get install -y coreutils quilt parted qemu-utils qemu-user-static debootstrap zerofree zip dosfstools libarchive-tools libcap2-bin grep rsync xz-utils file git curl bc kmod kpartx
+ echo "HYPERBIAN='HyperBian-${{ env.PLATFORM }}-${{ matrix.pi-gen.architecture }}'" >> $GITHUB_ENV
- name: 👷 Build
run: |
@@ -53,7 +55,6 @@ jobs:
echo "Suites: ${{ env.PLATFORM }}" >> "./stage-hyperbian/00-install-hyperion/files/hyperion.sources"
echo "Architectures: ${{ matrix.pi-gen.architecture }}" >> "./stage-hyperbian/00-install-hyperion/files/hyperion.sources"
echo "RELEASE='${{ env.PLATFORM }}'" >> "./config"
- echo "HYPERBIAN='HyperBian-${{ env.PLATFORM }}-${{ matrix.pi-gen.architecture }}'" >> $GITHUB_ENV
sudo IMG_FILENAME=${{ env.HYPERBIAN }} ARCHIVE_FILENAME=${{ env.HYPERBIAN }} ./build.sh
- name: 📦 Upload
diff --git a/.github/workflows/template.md b/.github/workflows/template.md
index 7228283..8f9dcf4 100644
--- a/.github/workflows/template.md
+++ b/.github/workflows/template.md
@@ -1,7 +1,7 @@
-Raspberry Pi OS Lite with [Hyperion](https://github.com/hyperion-project/hyperion.ng) pre installed. Also called HyperBian.
+Raspberry Pi OS Lite with [Hyperion](https://github.com/hyperion-project/hyperion.ng) pre installed. Also called HyperBian.
We provide two different versions (arm64/armhf) according to your preferred hardware platform.
-**Recommendation:**
+**Recommendation:**
Use the arm64 image to benefit from a true 64 bit system.
In case you run a Raspberry Pi 1, 2 or Zero v1, go for the armhf one.
diff --git a/stage-hyperbian/00-install-hyperion/00-run.sh b/stage-hyperbian/00-install-hyperion/00-run.sh
index b4da0b8..7df0f3d 100755
--- a/stage-hyperbian/00-install-hyperion/00-run.sh
+++ b/stage-hyperbian/00-install-hyperion/00-run.sh
@@ -21,7 +21,7 @@ install -m 755 files/motd-hyperbian "${ROOTFS_DIR}"/etc/update-motd.d/10-hyperbi
# Remove the "last login" information
sed -i "s/^#PrintLastLog yes.*/PrintLastLog no/" ${ROOTFS_DIR}/etc/ssh/sshd_config
-# Add Hyperion DEB822 source file and update package information
+# Add Hyperion DEB822 sources file, download public gpg key and update package information
echo '---> Integrate Hyperion Project Repository into HyperBian'
install -m 644 files/hyperion.sources ${ROOTFS_DIR}/etc/apt/sources.list.d/
-on_chroot <<< "apt-get -y update"
\ No newline at end of file
+on_chroot <<< "curl --silent --show-error --location 'https://releases.hyperion-project.org/hyperion.pub.key' | gpg --dearmor -o /etc/apt/keyrings/hyperion.pub.gpg && apt-get update"
\ No newline at end of file
diff --git a/stage-hyperbian/00-install-hyperion/files/hyperion.sources b/stage-hyperbian/00-install-hyperion/files/hyperion.sources
index df6e9e5..a1434e9 100644
--- a/stage-hyperbian/00-install-hyperion/files/hyperion.sources
+++ b/stage-hyperbian/00-install-hyperion/files/hyperion.sources
@@ -3,56 +3,4 @@ Enabled: yes
Types: deb
URIs: https://apt.releases.hyperion-project.org
Components: main
-Signed-By:
- -----BEGIN PGP PUBLIC KEY BLOCK-----
- .
- mQINBGP3wgwBEACtbZsVUvJdeZ9HcisU/ir1Nr1ODPkNpEPIRjPOnDyzGqhTlJHb
- f6/kWNBQp0I58/FGZuNat29GSkk6I4PTVS2PAHo6yFQKpyEQMs6BCnHoYDLkr7Dn
- 4vWTrtCVppEnpL+TC6W3gkvVEKdX+bP2gGKYZKUuxnDg9+7qOHDkxv8sKAca7Xxf
- GDj7RmV6gwPY4E7A0YXtRpkawARFR1BJveH3Myp1BxyborVzUr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