Remove rootfstype for Raspberry Pi 5 (#3037)

This commit is contained in:
Stefan Agner 2024-01-04 21:26:55 +01:00 committed by GitHub
parent 714912a2a9
commit 0ec5c22d3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ install_boot() {
if [ "$RAUC_SYSTEM_COMPATIBLE" = "haos-rpi5-64" ]; then
rm -rf "${BOOT_MNT}/slot-default"
cp -r "${BOOT_NEW}/slot-A" "${BOOT_MNT}/slot-default"
sed -i "1 s/rootfstype=squashfs //" /mnt/boot/cmdline.txt
else
# Backup boot config
cp -f "${BOOT_MNT}"/*.txt "${BOOT_TMP}/" || true