[elbe-devel] [PATCH 3/3] examples: x86_64-pc-hdimg-grub-uefi-buster.xml: Add losetup/sh example
Olivier Dion
dion at linutronix.de
Mon Jun 22 19:14:48 CEST 2020
This example will simply list the content of the firt partition of
'sda.img'. Setting debugging information, i.e. 'set -x' is purely
optional but gives a verbose trace in log.txt of what's happening.
Signed-off-by: Olivier Dion <dion at linutronix.de>
---
examples/x86_64-pc-hdimg-grub-uefi-buster.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/examples/x86_64-pc-hdimg-grub-uefi-buster.xml b/examples/x86_64-pc-hdimg-grub-uefi-buster.xml
index cf3f70d9..0814c2e5 100644
--- a/examples/x86_64-pc-hdimg-grub-uefi-buster.xml
+++ b/examples/x86_64-pc-hdimg-grub-uefi-buster.xml
@@ -82,6 +82,11 @@
<losetup img="sda.img">
<extract_partition part="1">sda1.img</extract_partition>
<extract_partition part="2">sda2.img</extract_partition>
+ <sh part="1">
+ #!/bin/sh
+ set -x
+ ls $ELBE_MNT
+ </sh>
</losetup>
<set_packer packer="none">sda1.img</set_packer>
<set_packer packer="tarxz">sda2.img</set_packer>
--
2.27.0
More information about the elbe-devel
mailing list