README.md: add PI_GEN_RELEASE (#720)

This is the text written to "/etc/issue.txt" by update_issue(). The
default is the name used by official Raspberry Pi builds.

Fixes #719
This commit is contained in:
Stefan Becker
2023-10-23 14:11:43 +03:00
committed by GitHub
parent 0ef867e5eb
commit d966897395
3 changed files with 7 additions and 1 deletions

View File

@@ -99,7 +99,7 @@ on_chroot() {
export -f on_chroot
update_issue() {
echo -e "Raspberry Pi reference ${IMG_DATE}\nGenerated using ${PI_GEN}, ${PI_GEN_REPO}, ${GIT_HASH}, ${1}" > "${ROOTFS_DIR}/etc/rpi-issue"
echo -e "${PI_GEN_RELEASE} ${IMG_DATE}\nGenerated using ${PI_GEN}, ${PI_GEN_REPO}, ${GIT_HASH}, ${1}" > "${ROOTFS_DIR}/etc/rpi-issue"
}
export -f update_issue