summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/97-versions
blob: c7709645a8e3dd45e016064ca5a2bf86478826a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

# Append some version information to /etc/amnesia/version

echo "Appending some version information to /etc/amnesia/version"

echo "live-boot: `dpkg-query -W -f='${Version}\n' live-boot`" \
   >> /etc/amnesia/version

echo "live-config: `dpkg-query -W -f='${Version}\n' live-config`" \
   >> /etc/amnesia/version