summaryrefslogtreecommitdiff
path: root/tests.as-root/syslinux-disk-builds-rootfs-and-kernel.script
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-10-26 12:35:16 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-10-26 15:09:36 +0100
commitd57a186e0ee06133843e0674cb0a883c05457761 (patch)
treec1b9f0022c266e60d9ce1aeeb9e0b6e306f293cb /tests.as-root/syslinux-disk-builds-rootfs-and-kernel.script
parent15243493b945d87bc56d625b722060dd10799d15 (diff)
downloadmorph-d57a186e0ee06133843e0674cb0a883c05457761.tar.gz
Write /etc/os-release in system images
This is intended to for human consumption, with the full set of metadata in /baserock/system-artifact-name.meta. It currently lists system name, the symbolic ref of the system morphology and build date.
Diffstat (limited to 'tests.as-root/syslinux-disk-builds-rootfs-and-kernel.script')
-rwxr-xr-xtests.as-root/syslinux-disk-builds-rootfs-and-kernel.script1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests.as-root/syslinux-disk-builds-rootfs-and-kernel.script b/tests.as-root/syslinux-disk-builds-rootfs-and-kernel.script
index 746ca3c5..ffe6c1cf 100755
--- a/tests.as-root/syslinux-disk-builds-rootfs-and-kernel.script
+++ b/tests.as-root/syslinux-disk-builds-rootfs-and-kernel.script
@@ -113,5 +113,6 @@ trap 'cd /; umount -d "$device"' INT TERM ERR
cd "$DATADIR/mnt"
find | LC_ALL=C sort -u
+sed -e 's/ on [0-9\-]\+//' "$DATADIR/mnt/factory-run/etc/os-release"
cd "$DATADIR"
umount -d "$device"