From 1ed383d466534c81fadea5d359e013587c734867 Mon Sep 17 00:00:00 2001 From: Maciej Borzecki Date: Wed, 10 Dec 2014 13:12:05 +0100 Subject: sdimage-raspberrypi.wks: kickstart image definition Although the sdimage-bootpart.wks kickstrt file in Poky works fine with Raspberry Pi, this patch adds a kickstart file that mirrors sdcard_image-rpi.bbclass layout. Change-Id: I34e60a9c89c9074ea9e114951165cb4fbffcb5c4 Signed-off-by: Maciej Borzecki Signed-off-by: Maciek Borzecki Acked-by: Andrei Gherzan --- scripts/lib/image/canned-wks/sdimage-raspberrypi.wks | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 scripts/lib/image/canned-wks/sdimage-raspberrypi.wks (limited to 'scripts/lib') diff --git a/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks b/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks new file mode 100644 index 0000000..353daac --- /dev/null +++ b/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks @@ -0,0 +1,6 @@ +# short-description: Create Raspberry Pi SD card image +# long-description: Creates a partitioned SD card image for use with +# Raspberry Pi. 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 rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 -- cgit v1.2.3-54-g00ecf