about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--data/issue.in (renamed from data/issue)2
-rw-r--r--mklive.sh.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/issue b/data/issue.in
index 093632c..fb0daaa 100644
--- a/data/issue
+++ b/data/issue.in
@@ -1,7 +1,7 @@
  _                    __ 
 | |_  _ _ _ __  _ __ / _|
 | ' \\| '_| '  \\| '_ \\  _|
-|_||_|_| |_|_|_| .__/_|    version 0.1.90  "Kiasoachbomba"
+|_||_|_| |_|_|_| .__/_|    @@VERSION@@
                |_|       
 
 Welcome to the hrmpf rescue system, built on Void Linux.
diff --git a/mklive.sh.in b/mklive.sh.in
index 4b12642..31dbd0d 100644
--- a/mklive.sh.in
+++ b/mklive.sh.in
@@ -385,7 +385,7 @@ install_prereqs
 
 mkdir -p "$ROOTFS"/etc
 [ -s data/motd ] && cp data/motd $ROOTFS/etc
-[ -s data/issue ] && cp data/issue $ROOTFS/etc
+[ -s data/issue.in ] && sed "s/@@VERSION@@/hrmpf-${BASE_ARCH}-${KERNELVERSION}-$(date +%Y%m%d)/" data/issue.in >$ROOTFS/etc/issue
 
 info_msg "[3/9] Installing void pkgs into the rootfs: ${PACKAGE_LIST} ..."
 install_packages