aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/wic
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-05-06 12:18:41 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-05-09 08:13:10 +0900
commit451321705864e1865b91722ee651b0a6b3b609bd (patch)
tree64fbb7c04f558c2bf18a7b8c55729fb329a2e29b /meta-agl-ic-container/wic
parent5409f17b5ec13f7b41c60845ad902159f7d03ab6 (diff)
Add support out of three image install to support agl demo ivi guests
Existing AGL IC container integration build host and all guest using multi config. When we want to add support agl demo ivi guests, multiconfig based integration require to long build time by single build tree. This patch enable support out of tree image install to support. This method support prebuild ext4 image installation. This method realize to reduce build time for AGL IC developer. Bug-AGL: SPEC-4766 Change-Id: Id4ba092ce89c05bad3440e75845e6602bb0a50ab Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'meta-agl-ic-container/wic')
-rw-r--r--meta-agl-ic-container/wic/agl-ic-container-bootpart-uuid-demo.wks11
-rw-r--r--meta-agl-ic-container/wic/agl-ic-container-noloader-demo.wks11
2 files changed, 22 insertions, 0 deletions
diff --git a/meta-agl-ic-container/wic/agl-ic-container-bootpart-uuid-demo.wks b/meta-agl-ic-container/wic/agl-ic-container-bootpart-uuid-demo.wks
new file mode 100644
index 00000000..5a81288d
--- /dev/null
+++ b/meta-agl-ic-container/wic/agl-ic-container-bootpart-uuid-demo.wks
@@ -0,0 +1,11 @@
+# short-description: Create SD card image with a boot partition
+# long-description: Creates a partitioned SD card image. Boot files
+# are located in the first vfat partition.
+
+part /boot --source bootimg-partition --fstype=vfat --label boot --use-uuid --active --align 4 --size 16
+part / --source rootfs --fstype=ext4 --label host --align 4096 --size 1024
+part --source rawcopy --sourceparams="file=guest-image-cluster-demo.ext4"
+part --source rawcopy --sourceparams="file=guest-image-ivi-demo.ext4"
+part --source rawcopy --sourceparams="file=agl-ivi-demo-platform.ext4"
+part --source rawcopy --sourceparams="file=agl-ivi-demo-platform-flutter.ext4"
+part --source rawcopy --sourceparams="file=agl-ivi-demo-platform-html5.ext4"
diff --git a/meta-agl-ic-container/wic/agl-ic-container-noloader-demo.wks b/meta-agl-ic-container/wic/agl-ic-container-noloader-demo.wks
new file mode 100644
index 00000000..77d1e33d
--- /dev/null
+++ b/meta-agl-ic-container/wic/agl-ic-container-noloader-demo.wks
@@ -0,0 +1,11 @@
+# short-description: Single partition rootfs with UUID and no bootloader
+# long-description: Creates a partitioned image with a single partition in
+# use and does not contain a bootloader.
+
+bootloader --ptable gpt
+part / --source rootfs --fstype=ext4 --label host --align 4096 --size 1024
+part --source rawcopy --sourceparams="file=guest-image-cluster-demo.ext4"
+part --source rawcopy --sourceparams="file=guest-image-ivi-demo.ext4"
+part --source rawcopy --sourceparams="file=agl-ivi-demo-platform.ext4"
+part --source rawcopy --sourceparams="file=agl-ivi-demo-platform-flutter.ext4"
+part --source rawcopy --sourceparams="file=agl-ivi-demo-platform-html5.ext4"