aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej Borzecki <maciej.borzecki@open-rnd.pl>2014-12-10 13:12:05 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2015-01-25 20:39:58 +0200
commit1ed383d466534c81fadea5d359e013587c734867 (patch)
treee609fdcfb5ac77e870afbdd2c30eb624826146e5
parenteb3f087a56a296ee32973f1fd3ac4783ae1bdcef (diff)
downloadmeta-raspberrypi-1ed383d466534c81fadea5d359e013587c734867.tar.gz
meta-raspberrypi-1ed383d466534c81fadea5d359e013587c734867.tar.bz2
meta-raspberrypi-1ed383d466534c81fadea5d359e013587c734867.zip
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 <maciej.borzecki@open-rnd.pl> Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com> Acked-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r--scripts/lib/image/canned-wks/sdimage-raspberrypi.wks6
1 files changed, 6 insertions, 0 deletions
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