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 --- scripts/lib/image/canned-wks/sdimage-raspberrypi.wks | 6 ------ wic/sdimage-raspberrypi.wks | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 scripts/lib/image/canned-wks/sdimage-raspberrypi.wks create mode 100644 wic/sdimage-raspberrypi.wks diff --git a/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks b/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks deleted file mode 100644 index 353daac..0000000 --- a/scripts/lib/image/canned-wks/sdimage-raspberrypi.wks +++ /dev/null @@ -1,6 +0,0 @@ -# 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 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