From 9b5aec701685f4304004d215c791a14e6d4ac142 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Mon, 30 May 2016 14:50:47 +0200 Subject: Add nbd boot support to renesas kernel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds the necessary kernel modules to boot an nbdroot filesystem. Change-Id: I95968fa5034dedf5fd57578de4c7c97a76a83b2b Signed-off-by: Jan-Simon Möller --- meta-rcar-gen2/recipes-kernel/linux/linux.inc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/meta-rcar-gen2/recipes-kernel/linux/linux.inc b/meta-rcar-gen2/recipes-kernel/linux/linux.inc index 49f182e..806be22 100644 --- a/meta-rcar-gen2/recipes-kernel/linux/linux.inc +++ b/meta-rcar-gen2/recipes-kernel/linux/linux.inc @@ -157,6 +157,19 @@ do_configure_prepend() { kernel_configure_variable PID_NS y kernel_configure_variable NET_NS y + # nbdroot support + kernel_configure_variable BLK_DEV_LOOP y + kernel_configure_variable BLK_DEV_NBD y + kernel_configure_variable BLK_DEV_INITRD y + kernel_configure_variable RD_GZIP y + kernel_configure_variable RD_BZIP2 y + kernel_configure_variable RD_XZ y + kernel_configure_variable EXT4_FS y + kernel_configure_variable EXT4_USE_FOR_EXT23 y + kernel_configure_variable BLK_DEV_RAM y + kernel_configure_variable BLK_DEV_RAM_COUNT 2 + kernel_configure_variable BLK_DEV_RAM_SIZE 16384 + # only when distro is built for debug if [ "${DISTRO_TYPE}" = "debug" ]; then kernel_configure_variable BLK_DEV_LOOP y -- cgit 1.2.3-korg