summaryrefslogtreecommitdiff
path: root/export-image
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.com>2023-11-29 01:32:10 +0000
committerSerge Schneider <serge@raspberrypi.com>2023-11-29 01:32:10 +0000
commitae818349453dea51fa26c66f0d616e3d48aed1e3 (patch)
treefcc2f6ac2f3eddb5d3c7fc9f6810aff129e9a8f3 /export-image
parent399a5c2bcd46ff4ee18a9652fceca579d317acc7 (diff)
export-image: Add issue.txt symlink
Diffstat (limited to 'export-image')
-rwxr-xr-xexport-image/05-finalise/01-run.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/export-image/05-finalise/01-run.sh b/export-image/05-finalise/01-run.sh
index eae7d6e..826198f 100755
--- a/export-image/05-finalise/01-run.sh
+++ b/export-image/05-finalise/01-run.sh
@@ -57,6 +57,10 @@ rm -f "${ROOTFS_DIR}/etc/vnc/updateid"
update_issue "$(basename "${EXPORT_DIR}")"
install -m 644 "${ROOTFS_DIR}/etc/rpi-issue" "${ROOTFS_DIR}/boot/firmware/issue.txt"
+if ! [ -L "${ROOTFS_DIR}/boot/issue.txt" ]; then
+ ln -s firmware/issue.txt "${ROOTFS_DIR}/boot/issue.txt"
+fi
+
cp "$ROOTFS_DIR/etc/rpi-issue" "$INFO_FILE"