This layer creates a new supplementary initrd image which can be downloaded through TFTP with the kernel. At boot time, the init script will try to mount the rootfs based on the following kernel command line parameters: * nbd.server: IP address to reach the NBD server * nbd.dev: nbd device to use (default: /dev/nbd0) * nbd.debug: activate debug mode (init script is then interruptible) For nbd v2: * nbd.port: TCP port on which server is listening (default: 10809) For nbd v3: * nbd.namev3: The name of the image served by nbd-server. The layer meta-netboot contains recipes for the following components: * busybox: activate the built-in NBD client * initramfs-netboot: contains the init script started by the kernel: basically, this script mounts the real root filesystem, then pivot_root on it and finally exec systemd. * initramfs-netboot-image: image to specify for building the initrd To enable the build of the netboot initrd and ext4 rootfs, add the following line in conf/local.conf: INHERIT += "netboot"

Setup information Mailing list

Git repository

https://gerrit.automotivelinux.org/gerrit/AGL/meta-agl web repo

(actual branch next)

Subdirectory

meta-netboot

Last commit: 2 weeks, 4 days ago (next branch)

Maintainer

  • Jan-Simon Möller email

Dependencies

The meta-netboot layer depends upon:

Recipe name Version Description
initramfs-netboot 1.0 Extremely basic live image init script
initramfs-netboot-image 1.0
resolv-conf-relabel 1.0 System unit to relabel resolve.conf
Date/time Errors Warnings
Aug. 29, 2024, 12:02 p.m.
Aug. 26, 2024, 3:02 p.m.
Aug. 21, 2024, 3:02 p.m.