diff options
author | Maciej Borzecki <maciej.borzecki@open-rnd.pl> | 2014-12-10 13:12:05 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2015-01-25 20:39:58 +0200 |
commit | 1ed383d466534c81fadea5d359e013587c734867 (patch) | |
tree | e609fdcfb5ac77e870afbdd2c30eb624826146e5 /scripts/lib/image/canned-wks | |
parent | eb3f087a56a296ee32973f1fd3ac4783ae1bdcef (diff) | |
download | meta-raspberrypi-1ed383d466534c81fadea5d359e013587c734867.tar.gz |
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>
Diffstat (limited to 'scripts/lib/image/canned-wks')
-rw-r--r-- | scripts/lib/image/canned-wks/sdimage-raspberrypi.wks | 6 |
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 @@ | |||
1 | # short-description: Create Raspberry Pi SD card image | ||
2 | # long-description: Creates a partitioned SD card image for use with | ||
3 | # Raspberry Pi. Boot files are located in the first vfat partition. | ||
4 | |||
5 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 20 | ||
6 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||