summaryrefslogtreecommitdiff
path: root/mkosi.build
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-06 23:17:57 +0100
committerLennart Poettering <lennart@poettering.net>2016-12-14 18:29:30 +0100
commit6344a7eb5cf1534d868aba47eb10fe3d0ac9cd5b (patch)
treee6584d4bec3cd68e740d0d3ec3975c2cdc703fb5 /mkosi.build
parentab13cfb85ae527879b2fb9b325af3d02c3286d55 (diff)
mkosi: change /etc/issue text a bit for mkosi images build from systemd tree
Diffstat (limited to 'mkosi.build')
-rwxr-xr-xmkosi.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/mkosi.build b/mkosi.build
index 0178e78dc9..872841eb63 100755
--- a/mkosi.build
+++ b/mkosi.build
@@ -25,3 +25,11 @@ make -j `nproc`
make check
make install
+
+mkdir -p $DESTDIR/etc
+
+cat > $DESTDIR/etc/issue <<EOF
+\S (built from systemd tree)
+Kernel \r on an \m (\l)
+
+EOF