aboutsummaryrefslogtreecommitdiffstats
path: root/wic
diff options
context:
space:
mode:
authorMaciej Borzecki <maciej.borzecki@rndity.com>2017-02-27 12:46:05 +0100
committerKhem Raj <raj.khem@gmail.com>2017-03-11 04:39:14 -0800
commit6bafea4f37fc50d0905edcc49699326d6158aaa3 (patch)
tree65b06f98c810265b355aebfa041f6fdfcab30fd3 /wic
parentff914ff62267336a602c3dc96e959900795f5617 (diff)
downloadmeta-raspberrypi-6bafea4f37fc50d0905edcc49699326d6158aaa3.tar.gz
meta-raspberrypi-6bafea4f37fc50d0905edcc49699326d6158aaa3.tar.bz2
meta-raspberrypi-6bafea4f37fc50d0905edcc49699326d6158aaa3.zip
wic: move sdimage-raspberrypi to toplevel wic location
Wic supports picking up image files from toplevel LAYERDIR/wic directory. Using this location has the benefit that image files are easier to find (compare that to previously used scripts/lib/image/canned-wks/ location). Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com>
Diffstat (limited to 'wic')
-rw-r--r--wic/sdimage-raspberrypi.wks6
1 files changed, 6 insertions, 0 deletions
diff --git a/wic/sdimage-raspberrypi.wks b/wic/sdimage-raspberrypi.wks
new file mode 100644
index 0000000..353daac
--- /dev/null
+++ b/wic/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