summaryrefslogtreecommitdiffstats
path: root/meta-yocto-bsp/wic
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-01-09 20:33:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-16 18:06:46 +0000
commit6313c8fffe0dd4c3670ed06eca4c0a815d931e4a (patch)
treeb82cbd58fd9b1278b82d8b0bbc133f30a89b784f /meta-yocto-bsp/wic
parentbecb5f506198d94762e43f1b5a47b50d24b5ab35 (diff)
downloadopenembedded-core-contrib-6313c8fffe0dd4c3670ed06eca4c0a815d931e4a.tar.gz
edgerouter: add edgerouter.wks
Currently edgerouter machine uses sdimage-bootpart.wks from scripts/lib/wic/canned-wks. It'd be easier to find this file if it's name contains machine name and it's located in the same layer. Added edgerouter.wks to meta-yocto-bsp/wic/ to make it independent from changes in oe-core and easier to maintain. [YOCTO #8719] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto-bsp/wic')
-rw-r--r--meta-yocto-bsp/wic/edgerouter.wks4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-yocto-bsp/wic/edgerouter.wks b/meta-yocto-bsp/wic/edgerouter.wks
new file mode 100644
index 0000000000..7176fe436b
--- /dev/null
+++ b/meta-yocto-bsp/wic/edgerouter.wks
@@ -0,0 +1,4 @@
+# short-description: Create SD card image for Edgerouter
+# long-description: Create a partitioned SD card image for MIPS64 Edgerouter reference hardware.
+part /boot --source bootimg-partition --ondisk sda --fstype=vfat --label boot --active --align 4 --size 16
+part / --source rootfs --ondisk sda --fstype=ext4 --label root --align 4