From 91182a5fe8d12161255ff72e8b3712a8a3640f0f Mon Sep 17 00:00:00 2001 From: Moss Cantwell Date: Thu, 23 Jan 2025 16:04:58 +1300 Subject: [PATCH 1/2] Update release on provisioning-raspberry-pi4.adoc the release var will start to drift from what the stable OS is. I also found dnf4 and dnf5 differ in how they handle the download arguments. I have not worked out how to get dnf5 to reliably download packages for a non native OS. --- modules/ROOT/pages/provisioning-raspberry-pi4.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/provisioning-raspberry-pi4.adoc b/modules/ROOT/pages/provisioning-raspberry-pi4.adoc index 797028a6..562db73c 100644 --- a/modules/ROOT/pages/provisioning-raspberry-pi4.adoc +++ b/modules/ROOT/pages/provisioning-raspberry-pi4.adoc @@ -36,9 +36,9 @@ In this case we can grab these files from the `uboot-images-armv8`, `bcm2711-fir [source, bash] ---- -RELEASE=39 # The target Fedora Release. Use the same one that current FCOS is based on. +RELEASE=41 # The target Fedora Release. Use the same one that current FCOS is based on. mkdir -p /tmp/RPi4boot/boot/efi/ -sudo dnf install -y --downloadonly --release=$RELEASE --forcearch=aarch64 --destdir=/tmp/RPi4boot/ uboot-images-armv8 bcm283x-firmware bcm283x-overlays +sudo dnf4 install -y --downloadonly --release=$RELEASE --forcearch=aarch64 --destdir=/tmp/RPi4boot/ uboot-images-armv8 bcm283x-firmware bcm283x-overlays ---- Now extract the contents of the RPMs and copy the proper `u-boot.bin` for the RPi4 into place: From 58a17f0bf71f33324265eb85aeb6b7f8e544d601 Mon Sep 17 00:00:00 2001 From: Moss Cantwell Date: Tue, 4 Feb 2025 11:36:16 +1300 Subject: [PATCH 2/2] switch to dnf 5 based on feedback and testing --- modules/ROOT/pages/provisioning-raspberry-pi4.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/provisioning-raspberry-pi4.adoc b/modules/ROOT/pages/provisioning-raspberry-pi4.adoc index 562db73c..fc18839b 100644 --- a/modules/ROOT/pages/provisioning-raspberry-pi4.adoc +++ b/modules/ROOT/pages/provisioning-raspberry-pi4.adoc @@ -38,7 +38,7 @@ In this case we can grab these files from the `uboot-images-armv8`, `bcm2711-fir ---- RELEASE=41 # The target Fedora Release. Use the same one that current FCOS is based on. mkdir -p /tmp/RPi4boot/boot/efi/ -sudo dnf4 install -y --downloadonly --release=$RELEASE --forcearch=aarch64 --destdir=/tmp/RPi4boot/ uboot-images-armv8 bcm283x-firmware bcm283x-overlays +dnf download --resolve --releasever=$RELEASE --forcearch=aarch64 --destdir=/tmp/RPi4boot/ uboot-images-armv8 bcm283x-firmware bcm283x-overlays ---- Now extract the contents of the RPMs and copy the proper `u-boot.bin` for the RPi4 into place: