add layer meta-netboot to enable network boot over NBD (Network Block Device) 33/5633/7
authorStephane Desneux <stephane.desneux@iot.bzh>
Mon, 23 May 2016 15:53:36 +0000 (17:53 +0200)
committerGerrit Code Review <gerrit@172.30.200.200>
Sun, 29 May 2016 10:21:30 +0000 (10:21 +0000)
commit56b1139ef2660535b112d0be4ddb2806f75298a8
tree7e71661d2d9f9a407fe58da7e572f7cffa3f51f6
parent04dad68c951f206bd100e4dd82f9a77475e81f9d
add layer meta-netboot to enable network boot over NBD (Network Block Device)

To enable the build of network bootable images, the following line must be
added to conf/local.conf:

   INHERIT += "netboot"

This layer contains recipes for the following components:
* busybox: activate the built-in NBD client
* initramfs-netboot: contains the init script started by the kernel,
  responsible for mounting the remote root filesystem then pivoting and
  exec'ing systemd
* initramfs-netboot-image: image to specify for building the initrd

More details are available in meta-netboot/README.

Bug-AGL: SPEC-175

Change-Id: Id2328dd9233d238cde77311e64e58344be244988
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
meta-netboot/README [new file with mode: 0644]
meta-netboot/README.porter [new file with mode: 0644]
meta-netboot/classes/netboot.bbclass [new file with mode: 0644]
meta-netboot/conf/layer.conf [new file with mode: 0644]
meta-netboot/recipes-core/busybox/busybox_%.bbappend [new file with mode: 0644]
meta-netboot/recipes-core/busybox/files/enable_nbd.cfg [new file with mode: 0644]
meta-netboot/recipes-core/images/initramfs-netboot-image.bb [new file with mode: 0644]
meta-netboot/recipes-core/initramfs-netboot/files/init.sh [new file with mode: 0644]
meta-netboot/recipes-core/initramfs-netboot/initramfs-netboot_1.0.bb [new file with mode: 0644]