Commit df19ce01 authored by Tails developers's avatar Tails developers

Save some information about the built system into /etc/os-release.

Specification:
http://www.freedesktop.org/software/systemd/man/os-release.html
parent 1dc2df46
......@@ -70,6 +70,11 @@ if git rev-list HEAD 2>&1 >/dev/null; then
fi
echo "live-build: `dpkg-query -W -f='${Version}\n' live-build`" \
>> config/chroot_local-includes/etc/amnesia/version
# os-release
cat >> config/chroot_local-includes/etc/os-release <<EOF
TAILS_PRODUCT_NAME="Tails"
TAILS_VERSION_ID="$AMNESIA_VERSION"
EOF
# 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