[oe-commits] Maciej Borzecki : wic: add sdimage-bootpart kickstart file

git at git.openembedded.org git at git.openembedded.org
Tue Sep 23 19:06:38 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: ea685a06c1bf603c81c44ed85f40ae1ad46c1179
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ea685a06c1bf603c81c44ed85f40ae1ad46c1179

Author: Maciej Borzecki <maciej.borzecki at open-rnd.pl>
Date:   Mon Sep 22 13:35:20 2014 +0200

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

Signed-off-by: Maciej Borzecki <maciej.borzecki at open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/lib/image/canned-wks/sdimage-bootpart.wks | 6 ++++++
 1 file changed, 6 insertions(+)

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 0000000..7ffd632
--- /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



More information about the Openembedded-commits mailing list