From e013825c8c1530330c77a5f51d5bc5b9ac8f9125 Mon Sep 17 00:00:00 2001 From: copy Date: Fri, 29 Jul 2016 23:10:37 +0200 Subject: [PATCH] Describe how to build linux image with 9p boot, fixes #81 --- docs/linux-9p-image.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/linux-9p-image.md diff --git a/docs/linux-9p-image.md b/docs/linux-9p-image.md new file mode 100644 index 00000000..aec630c9 --- /dev/null +++ b/docs/linux-9p-image.md @@ -0,0 +1,14 @@ +In order to create a Linux image that can mount the 9p file system, use add the following lines to the kernel config: + +``` +CONFIG_NET_9P=y +CONFIG_NET_9P_VIRTIO=y +CONFIG_NET_9P_DEBUG=y +CONFIG_VIRTIO=y +CONFIG_VIRTIO_PCI=y +CONFIG_9P_FS=y +CONFIG_9P_FSCACHE=y +CONFIG_9P_FS_POSIX_ACL=y +``` + +A Dockerfile for this build is here: https://github.com/ysangkok/build-v86-9p-linux