From: Jan Kiszka <[email protected]>

Nothing special about this for the RPi 4, just needs the right names.

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

diff --git a/recipes-core/customizations/files/.bash_history-rpi4 
b/recipes-core/customizations/files/.bash_history-rpi4
new file mode 100644
index 0000000..3595205
--- /dev/null
+++ b/recipes-core/customizations/files/.bash_history-rpi4
@@ -0,0 +1,14 @@
+jailhouse enable /etc/jailhouse/rpi4.cell
+jailhouse console
+jailhouse cell create /etc/jailhouse/rpi4-inmate-demo.cell
+jailhouse cell load inmate-demo /usr/libexec/jailhouse/demos/gic-demo.bin
+jailhouse cell start inmate-demo
+jailhouse cell stats inmate-demo
+jailhouse cell destroy inmate-demo
+jailhouse cell linux /etc/jailhouse/rpi4-linux-demo.cell \
+                     /boot/vmlinuz* \
+                     -d /etc/jailhouse/dts/inmate-rpi4.dtb \
+                     -i /usr/libexec/jailhouse/demos/rootfs.cpio \
+                     -c "console=ttyS0,115200 ip=192.168.19.2"
+ssh 192.168.19.2
+jailhouse disable
diff --git a/recipes-core/customizations/files/postinst-rpi4 
b/recipes-core/customizations/files/postinst-rpi4
new file mode 100644
index 0000000..2dde661
--- /dev/null
+++ b/recipes-core/customizations/files/postinst-rpi4
@@ -0,0 +1 @@
+# Nothing to do
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/a8da1c93aa96e331c62f192fb4c94ad0c17675da.1579170887.git.jan.kiszka%40siemens.com.

Reply via email to