3
0
Fork 0
forked from mirrors/nixpkgs

There is a bug in ext3cow causing all rights to reset too root after a remount. The devvers at ext3cow.com are too lazy too release a new version, but the bug is fixed in their svn sources, so ive made a patch from those sources, which ive tested and it works.

svn path=/nixpkgs/trunk/; revision=9515
This commit is contained in:
Wouter den Breejen 2007-10-23 17:56:10 +00:00
parent 6679941615
commit 02f39c0210
4 changed files with 18467 additions and 1 deletions

View file

@ -10,3 +10,5 @@ make
#make check #almost all checks fail... maybe they have to be done on a ext3cow fs ???
make install
#we must rename according to the manual of e3cfprogs
cp misc/mke2fs $out/sbin/mkfs.ext3cow

View file

@ -3,6 +3,8 @@ source $stdenv/setup
tar -zxvf $src
cd ext3cow-tools/
echo "Using: $kernel"
kernelslashed=$(echo $kernel | sed 's/\//\\\//g')
sed -i "s/linux\/ext3cow_fs.h/$kernelslashed\/lib\/modules\/2.6.21.5-default\/build\/include\/linux\/ext3cow_fs.h/" ext3cow_tools.h #ugh dirty header rewrite....

File diff suppressed because it is too large Load diff

View file

@ -2807,7 +2807,7 @@ rec {
inherit fetchurl stdenv perl mktemp module_init_tools;
kernelPatches = [
{ name = "ext3cow";
patch = ../os-specific/linux/kernel/linux-2.6.20.3-ext3cow.patch;
patch = ../os-specific/linux/kernel/linux-2.6.21.7-ext3cow_wouter.patch;
extraConfig =
"CONFIG_EXT3COW_FS=m\n" +
"CONFIG_EXT3COW_FS_XATTR=y\n" +