From: Jan Kiszka <[email protected]>

This brings the target-specific files. For the tuning of securetty, a
Debian patch is already pending.

Signed-off-by: Jan Kiszka <[email protected]>
---
 recipes-core/customizations/files/.bash_history-ultra96 | 14 ++++++++++++++
 recipes-core/customizations/files/postinst-ultra96      | 12 ++++++++++++
 2 files changed, 26 insertions(+)
 create mode 100644 recipes-core/customizations/files/.bash_history-ultra96
 create mode 100644 recipes-core/customizations/files/postinst-ultra96

diff --git a/recipes-core/customizations/files/.bash_history-ultra96 
b/recipes-core/customizations/files/.bash_history-ultra96
new file mode 100644
index 0000000..7c3c325
--- /dev/null
+++ b/recipes-core/customizations/files/.bash_history-ultra96
@@ -0,0 +1,14 @@
+jailhouse enable /etc/jailhouse/ultra96.cell
+jailhouse console
+jailhouse cell create /etc/jailhouse/ultra96-gic-demo.cell
+jailhouse cell load gic-demo /usr/libexec/jailhouse/demos/gic-demo.bin
+jailhouse cell start gic-demo
+jailhouse cell stats gic-demo
+jailhouse cell destroy gic-demo
+jailhouse cell linux /etc/jailhouse/ultra96-linux-demo.cell \
+                     /boot/vmlinuz* \
+                     -d /etc/jailhouse/dts/inmate-zynqmp.dtb \
+                     -i /usr/libexec/jailhouse/demos/rootfs.cpio \
+                     -c "console=ttyPS0,115200 ip=192.168.19.2"
+ssh 192.168.19.2
+jailhouse disable
diff --git a/recipes-core/customizations/files/postinst-ultra96 
b/recipes-core/customizations/files/postinst-ultra96
new file mode 100644
index 0000000..b23b885
--- /dev/null
+++ b/recipes-core/customizations/files/postinst-ultra96
@@ -0,0 +1,12 @@
+#
+# Jailhouse, a Linux-based partitioning hypervisor
+#
+# Copyright (c) Siemens AG, 2018
+#
+# Authors:
+#  Jan Kiszka <[email protected]>
+#
+# SPDX-License-Identifier: MIT
+#
+
+echo "ttyPS0" >> /etc/securetty
-- 
2.16.4

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to