diff options
author | Wouter den Breejen <uu@denbreejen.net> | 2007-10-23 17:56:10 +0000 |
---|---|---|
committer | Wouter den Breejen <uu@denbreejen.net> | 2007-10-23 17:56:10 +0000 |
commit | 02f39c021040656802256cc0419c14161cfea540 (patch) | |
tree | e428acf333aaadf9b743dab059542657a61d51ca /pkgs/os-specific/linux/ext3cow-tools | |
parent | 66799416158a7c9a2a296995bc1bce095b2df47b (diff) |
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
Diffstat (limited to 'pkgs/os-specific/linux/ext3cow-tools')
-rwxr-xr-x | pkgs/os-specific/linux/ext3cow-tools/builder.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/ext3cow-tools/builder.sh b/pkgs/os-specific/linux/ext3cow-tools/builder.sh index 3e29ff4903b30..211b3521f7977 100755 --- a/pkgs/os-specific/linux/ext3cow-tools/builder.sh +++ b/pkgs/os-specific/linux/ext3cow-tools/builder.sh @@ -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.... |