diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-10-26 12:35:16 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-10-26 15:09:36 +0100 |
commit | d57a186e0ee06133843e0674cb0a883c05457761 (patch) | |
tree | c1b9f0022c266e60d9ce1aeeb9e0b6e306f293cb /tests.as-root/tarball-image-is-sensible.script | |
parent | 15243493b945d87bc56d625b722060dd10799d15 (diff) | |
download | morph-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/tarball-image-is-sensible.script')
-rwxr-xr-x | tests.as-root/tarball-image-is-sensible.script | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests.as-root/tarball-image-is-sensible.script b/tests.as-root/tarball-image-is-sensible.script index 6e4af67b..056cc688 100755 --- a/tests.as-root/tarball-image-is-sensible.script +++ b/tests.as-root/tarball-image-is-sensible.script @@ -34,3 +34,4 @@ mkdir -p "$extracted" cd "$extracted" tar -xf "$tar" find . -mindepth 1 | xargs ls -dF | LC_ALL=C sort -u +sed -e 's/ on [0-9\-]\+//' "$extracted/etc/os-release" |