aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/common
diff options
context:
space:
mode:
authorHugo Hromic <[email protected]>2019-02-15 15:25:59 +0000
committerXECDesign <[email protected]>2019-02-18 09:21:10 +0000
commit9e6af470450abae0499acd521ab8bd40ba65c791 (patch)
tree387de61f39cf030e31e32be467fa35fa29bcc32c /scripts/common
parent3b90b7ffed64802fdab9de096ded74dbcc909a90 (diff)
Improve update_issue() function in common script
* Allow to customise pi-gen script name and repository in the generated issue file * Preserve compatibility with existing function calls
Diffstat (limited to 'scripts/common')
-rw-r--r--scripts/common2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/common b/scripts/common
index 05198b7..9db903e 100644
--- a/scripts/common
+++ b/scripts/common
@@ -96,7 +96,7 @@ export -f on_chroot
update_issue() {
local GIT_HASH
GIT_HASH=$(git rev-parse HEAD)
- echo -e "Raspberry Pi reference ${IMG_DATE}\nGenerated using pi-gen, https://github.com/RPi-Distro/pi-gen, ${GIT_HASH}, ${1}" > "${ROOTFS_DIR}/etc/rpi-issue"
+ echo -e "Raspberry Pi reference ${IMG_DATE}\nGenerated using ${PI_GEN}, ${PI_GEN_REPO}, ${GIT_HASH}, ${1}" > "${ROOTFS_DIR}/etc/rpi-issue"
}
export -f update_issue