[elbe-devel] [PATCH v2 3/3] examples: x86_64-pc-hdimg-grub-uefi-buster.xml: Add losetup/command example

Olivier Dion dion at linutronix.de
Mon Jun 29 21:00:41 CEST 2020


This example will simply list the content of the firt partition of
'sda.img'.

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 examples/x86_64-pc-hdimg-grub-uefi-buster.xml | 3 +++
 1 file changed, 3 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..36a0058b 100644
--- a/examples/x86_64-pc-hdimg-grub-uefi-buster.xml
+++ b/examples/x86_64-pc-hdimg-grub-uefi-buster.xml
@@ -82,6 +82,9 @@
 			<losetup img="sda.img">
 				<extract_partition part="1">sda1.img</extract_partition>
 				<extract_partition part="2">sda2.img</extract_partition>
+				<command part="1">
+				  ls $ELBE_MNT
+				</command>
 			</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