chore: add warning about customization to ISO

Signed-off-by: desertwitch <24509509+desertwitch@users.noreply.github.com>
This commit is contained in:
desertwitch
2025-11-20 08:04:51 +01:00
parent 2e90372692
commit 15b889ddf9
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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