summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/wic
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-03-07 17:19:42 -0500
committerTom Rini <trini@konsulko.com>2018-03-08 07:44:54 -0500
commitc3ee35ba9daf8c0f43f787a63cfb10925612842d (patch)
treeecf018083c9a35ece49a84d7ab1f4fd5618e7c8c /meta-agl-bsp/wic
parentaad0373e5a247fa99bedd0a982d028da36c1e760 (diff)
dra7xx-evm, beaglebone: Switch to sdimage-bootpart-uuid for wic
Introduce a new wks file, sdimage-bootpart-uuid.wks that differs from sdimage-bootpart.wks in that it uses --use-uuid rather than --ondisk as PARTUUID is more portable and we do not use busybox mount in our images. Bug-AGL: SPEC-1336 Change-Id: Ib98d1e49406f8b8ac13c3947f4efbc4360cf9865 Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'meta-agl-bsp/wic')
-rw-r--r--meta-agl-bsp/wic/sdimage-bootpart-uuid.wks6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-agl-bsp/wic/sdimage-bootpart-uuid.wks b/meta-agl-bsp/wic/sdimage-bootpart-uuid.wks
new file mode 100644
index 000000000..1f51a0bd4
--- /dev/null
+++ b/meta-agl-bsp/wic/sdimage-bootpart-uuid.wks
@@ -0,0 +1,6 @@
+# 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 root --align 4 --use-uuid