summaryrefslogtreecommitdiffstats
path: root/meta-sota/scripts/lib/wic/canned-wks/sdimage-sota.wks
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-04-06 19:21:25 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-04-06 19:21:25 +0000
commit0ce00dac113c83456bdacbf711b08a2f19244f55 (patch)
tree6cb7ee56ed725e5a1b30d5b96f018b73582b8c33 /meta-sota/scripts/lib/wic/canned-wks/sdimage-sota.wks
parent1c2571e37c6fa5e0ac3bb035173ae07a187648c5 (diff)
parent607029521eb71dcf873ed911eae4a721a1d2605f (diff)
Merge "Add WKS for OTA-enabled bootable SD cards."
Diffstat (limited to 'meta-sota/scripts/lib/wic/canned-wks/sdimage-sota.wks')
-rw-r--r--meta-sota/scripts/lib/wic/canned-wks/sdimage-sota.wks7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-sota/scripts/lib/wic/canned-wks/sdimage-sota.wks b/meta-sota/scripts/lib/wic/canned-wks/sdimage-sota.wks
new file mode 100644
index 0000000..c31c3a5
--- /dev/null
+++ b/meta-sota/scripts/lib/wic/canned-wks/sdimage-sota.wks
@@ -0,0 +1,7 @@
+# short-description: Create OTA-enabled SD card image
+# long-description: Creates a partitioned SD card image with OSTree
+# physical sysroot as a payload. Boot files are located in the
+# first vfat partition.
+
+part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 20
+part / --source otaimage --ondisk mmcblk --fstype=ext4 --label root --align 4096