summaryrefslogtreecommitdiffstats
path: root/meta-sota/scripts/lib/wic/canned-wks/sdimage-sota.wks
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2017-02-20 10:45:20 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2017-04-06 10:20:31 +0200
commit607029521eb71dcf873ed911eae4a721a1d2605f (patch)
tree07d4fcb50c2d36e0986f7c01ac9838bbf28ab9cc /meta-sota/scripts/lib/wic/canned-wks/sdimage-sota.wks
parent497d7db5bfc71367c6393a09a2f768b812fce83f (diff)
Add WKS for OTA-enabled bootable SD cards.
[oytis]: v2 deleted 'sleep 2' [oytis]: v3 disabled wic for devices that don't yet support sota+wic Bug-AGL: SPEC-413 Change-Id: I52a31c9bc66001ed83e83c2f883d046d99ee3c67 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
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