Show build date and commit hash in debian_version

This commit is contained in:
lionel 2022-04-20 12:13:20 +02:00 committed by toto
parent e6848308ab
commit 9ef3bb39e4

View File

@ -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()