summaryrefslogtreecommitdiff
path: root/package/genext2fs/genext2fs-1.4-nosquash.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-04-09 16:16:44 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-04-09 16:16:44 +0200
commit6bb35a38c244b20bbd6e85fd16f69ff2c4f0ed72 (patch)
tree432513fc67dcff844ecf5c48f38bdcf1a9fe3523 /package/genext2fs/genext2fs-1.4-nosquash.patch
parentb6ebab842dbb0581526f907bf5b39cad0ac1f756 (diff)
parent0b79c5022d32b15180a18087a0fba5a2f1af5cc7 (diff)
Merge branch 'fs-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/genext2fs/genext2fs-1.4-nosquash.patch')
-rw-r--r--package/genext2fs/genext2fs-1.4-nosquash.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/genext2fs/genext2fs-1.4-nosquash.patch b/package/genext2fs/genext2fs-1.4-nosquash.patch
new file mode 100644
index 000000000..236dfccdf
--- /dev/null
+++ b/package/genext2fs/genext2fs-1.4-nosquash.patch
@@ -0,0 +1,14 @@
+diff -ru genext2fs-1.4/genext2fs.c genext2fs-1.4-nosquash/genext2fs.c
+--- genext2fs-1.4/genext2fs.c 2006-12-19 17:45:31.000000000 +0100
++++ genext2fs-1.4-nosquash/genext2fs.c 2007-02-09 10:47:05.000000000 +0100
+@@ -1629,10 +1629,6 @@
+ mtime = st.st_mtime;
+ name = dent->d_name;
+ mode = get_mode(&st);
+- if(squash_uids)
+- uid = gid = 0;
+- if(squash_perms)
+- mode &= ~(FM_IRWXG | FM_IRWXO);
+ if(stats)
+ switch(st.st_mode & S_IFMT)
+ {