From 15b889ddf93ef93ba18343afd06644fe3e46f32b Mon Sep 17 00:00:00 2001 From: desertwitch <24509509+desertwitch@users.noreply.github.com> Date: Thu, 20 Nov 2025 08:04:51 +0100 Subject: [PATCH] chore: add warning about customization to ISO Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com> --- board/shredos/README-ISO.txt | 5 +++++ board/shredos/populate_efi_partition.sh | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 board/shredos/README-ISO.txt diff --git a/board/shredos/README-ISO.txt b/board/shredos/README-ISO.txt new file mode 100644 index 0000000000..23232b0f49 --- /dev/null +++ b/board/shredos/README-ISO.txt @@ -0,0 +1,5 @@ +Do not modify the grub.cfg file in this folder trying to customize ShredOS +behavior. The ISO file does not support such customizations, and you should use +the IMG release instead (where you can modify the actual GRUB configuration) + +Get it from: https://github.com/PartialVolume/shredos.x86_64 diff --git a/board/shredos/populate_efi_partition.sh b/board/shredos/populate_efi_partition.sh index 8aeaca9f8a..1694f658de 100755 --- a/board/shredos/populate_efi_partition.sh +++ b/board/shredos/populate_efi_partition.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # # BR2_ROOTFS_POST_BUILD_SCRIPT for shredos_iso_aio configurations # @@ -18,6 +18,7 @@ mkdir -p "${BINARIES_DIR}/efi-part/boot/" cp "board/shredos/autorun.inf" "${BINARIES_DIR}/efi-part/autorun.inf" || exit 1 cp "board/shredos/README.txt" "${BINARIES_DIR}/efi-part/README.txt" || exit 1 +cp "board/shredos/README-ISO.txt" "${BINARIES_DIR}/efi-part/EFI/BOOT/README.txt" || exit 1 cp "board/shredos/shredos.ico" "${BINARIES_DIR}/efi-part/shredos.ico" || exit 1 cp "board/shredos/fsoverlay/etc/shredos/version.txt" "${BINARIES_DIR}/efi-part/boot/version.txt" || exit 1