From 6bafea4f37fc50d0905edcc49699326d6158aaa3 Mon Sep 17 00:00:00 2001 From: Maciej Borzecki Date: Mon, 27 Feb 2017 12:46:05 +0100 Subject: 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 --- wic/sdimage-raspberrypi.wks | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 wic/sdimage-raspberrypi.wks (limited to 'wic') 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 -- cgit v1.2.3-54-g00ecf