[SCM] wiki-content branch, master, updated. f34daeb4689ad6af5204f483e198b58c9175b3e9
Michal Suchanek
hramrach at centrum.cz
Thu Apr 21 11:21:59 UTC 2011
The following commit has been merged in the master branch:
commit f34daeb4689ad6af5204f483e198b58c9175b3e9
Author: Michal Suchanek <hramrach at centrum.cz>
Date: Thu Apr 21 13:15:42 2011 +0200
Add overlayfs guide.
diff --git a/devel/rfc.mdwn b/devel/rfc.mdwn
index 6b35c1b..dc769fb 100644
--- a/devel/rfc.mdwn
+++ b/devel/rfc.mdwn
@@ -5,6 +5,7 @@
* [[multifs]]
* [[multiarch]]
* [[unionmount]]
+ * [[overlayfs]]
* [[tmpfs]]
* [[package validation]]
* [[lxc]]
diff --git a/devel/rfc/overlayfs.mdwn b/devel/rfc/overlayfs.mdwn
new file mode 100644
index 0000000..a8a4a49
--- /dev/null
+++ b/devel/rfc/overlayfs.mdwn
@@ -0,0 +1,29 @@
+## To build debian-live with overlayfs you will need
+
+ * A [patch](http://paste.debian.net/plain/114723) for live-boot until applied upstream
+
+ * A linux kernel with overlayfs support
+ - Get a kernel from [Miklos Szeredi's git repo](http://git.kernel.org/?p=linux/kernel/git/mszeredi/vfs.git;a=shortlog;h=refs/heads/overlayfs.v8). This is a work in progress but using this kernel you should be able to boot Debian Live. You can check the repo for more up-to-date branches.
+ - Configure and build the kernel.
+
+ CONFIG_TMPFS_XATTR=y
+
+ CONFIG_OVERLAYFS_FS=m
+
+
+ make-kpkg --rootcmd fakeroot --initrd --append-to-version -ovfs-i686 kernel-image kernel-headers
+
+ - Unfortunately kernel-package and initramfs-tools package maintainers can't agree on a way to tell initramfs-tools to generate an initramfs so you will need to generate one in a [hook](../zzz-initramfs.sh) (put in chroot_local-hooks). Also cross-building i686 on amd64 seems broken.
+
+
+ * Tell live-initramfs to use overlayfs instead of aufs
+ - Use some arguments like these with lb config
+
+ -k ovfs-i686+ \
+
+ --bootappend-live union=overlayfs \
+
+ --packages "httpfs2 less open-iscsi links2" \
+
+ --linux-packages linux-image-2.6.39-rc3 \
+
--
wiki-content
More information about the debian-live-changes
mailing list