From 56b1139ef2660535b112d0be4ddb2806f75298a8 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Mon, 23 May 2016 17:53:36 +0200 Subject: 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 --- meta-netboot/conf/layer.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-netboot/conf/layer.conf (limited to 'meta-netboot/conf/layer.conf') diff --git a/meta-netboot/conf/layer.conf b/meta-netboot/conf/layer.conf new file mode 100644 index 000000000..4077e6d66 --- /dev/null +++ b/meta-netboot/conf/layer.conf @@ -0,0 +1,10 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have recipes-* directories, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-netboot" +BBFILE_PATTERN_meta-netboot = "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-netboot = "20" -- cgit 1.2.3-korg