From 9ef3bb39e4afa74f4a34c961fb72938d291a0556 Mon Sep 17 00:00:00 2001 From: lionel <> Date: Wed, 20 Apr 2022 12:13:20 +0200 Subject: [PATCH] Show build date and commit hash in debian_version --- make.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/make.sh b/make.sh index 6f891bf..54303b4 100755 --- a/make.sh +++ b/make.sh @@ -105,6 +105,9 @@ _build() printf "\e[96mBuild live OS file system\e[0m\n" lb chroot + # Write commit hash and build date + echo "$(git -C $baseDir log -1 --pretty='%cd %h %s' --date=format:"%F")" >> $build/chroot/etc/debian_version + } _create_squashfs()