summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMaciej Borzecki <maciej.borzecki@open-rnd.pl>2014-09-22 13:35:20 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-23 20:35:56 +0100
commit03c7a01d6960f81f8e6c6d2798b753a73cd3593c (patch)
tree68375b08d4b6c77e7684a5269e75e2e4fcf4ecdd /scripts
parent764731edf2937030aa49ccab7d8603997e908582 (diff)
downloadtizen-distro-03c7a01d6960f81f8e6c6d2798b753a73cd3593c.tar.gz
tizen-distro-03c7a01d6960f81f8e6c6d2798b753a73cd3593c.tar.bz2
tizen-distro-03c7a01d6960f81f8e6c6d2798b753a73cd3593c.zip
wic: add sdimage-bootpart kickstart file
Add kickstart for generating a SD card image that should cover most use case scenarios. The layout is as follows: - 16MB vfat partition that IMAGE_BOOT_FILES will be copied to, 4k alignment - ext4 rootfs, 4k alignment (From OE-Core rev: bb01a6be7b32aa675f5003a6012a60a081212e8c) Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/image/canned-wks/sdimage-bootpart.wks6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/image/canned-wks/sdimage-bootpart.wks b/scripts/lib/image/canned-wks/sdimage-bootpart.wks
new file mode 100644
index 0000000000..7ffd632f4a
--- /dev/null
+++ b/scripts/lib/image/canned-wks/sdimage-bootpart.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 --ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16
+part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4