Show build date and commit hash in debian_version
This commit is contained in:
parent
e6848308ab
commit
9ef3bb39e4
3
make.sh
3
make.sh
@ -105,6 +105,9 @@ _build()
|
|||||||
printf "\e[96mBuild live OS file system\e[0m\n"
|
printf "\e[96mBuild live OS file system\e[0m\n"
|
||||||
lb chroot
|
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()
|
_create_squashfs()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user