Commit 8035809f authored by amnesia's avatar amnesia

Append live-build version used for the build to /etc/amnesia/version.

parent 7b8051a2
......@@ -52,6 +52,8 @@ echo "${AMNESIA_FULL_VERSION}" > config/chroot_local-includes/etc/amnesia/versio
if git rev-list HEAD 2>&1 >/dev/null; then
git rev-list HEAD | head -n 1 >> config/chroot_local-includes/etc/amnesia/version
echo "live-build: `dpkg-query -W -f='${Version}\n' live-build`" \
>> config/chroot_local-includes/etc/amnesia/version
# changelog
cp debian/changelog config/chroot_local-includes/usr/share/doc/amnesia/Changelog
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment