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:
parent
6679941615
commit
02f39c0210
@ -10,3 +10,5 @@ make
|
|||||||
#make check #almost all checks fail... maybe they have to be done on a ext3cow fs ???
|
#make check #almost all checks fail... maybe they have to be done on a ext3cow fs ???
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
#we must rename according to the manual of e3cfprogs
|
||||||
|
cp misc/mke2fs $out/sbin/mkfs.ext3cow
|
||||||
|
@ -3,6 +3,8 @@ source $stdenv/setup
|
|||||||
tar -zxvf $src
|
tar -zxvf $src
|
||||||
cd ext3cow-tools/
|
cd ext3cow-tools/
|
||||||
|
|
||||||
|
echo "Using: $kernel"
|
||||||
|
|
||||||
kernelslashed=$(echo $kernel | sed 's/\//\\\//g')
|
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....
|
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....
|
||||||
|
|
||||||
|
18462
pkgs/os-specific/linux/kernel/linux-2.6.21.7-ext3cow_wouter.patch
Normal file
18462
pkgs/os-specific/linux/kernel/linux-2.6.21.7-ext3cow_wouter.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -2807,7 +2807,7 @@ rec {
|
|||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
{ name = "ext3cow";
|
{ 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 =
|
extraConfig =
|
||||||
"CONFIG_EXT3COW_FS=m\n" +
|
"CONFIG_EXT3COW_FS=m\n" +
|
||||||
"CONFIG_EXT3COW_FS_XATTR=y\n" +
|
"CONFIG_EXT3COW_FS_XATTR=y\n" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user