summaryrefslogtreecommitdiffstats
path: root/target/ext2/genext2fs-02-nosquash_devtable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/ext2/genext2fs-02-nosquash_devtable.patch')
-rw-r--r--target/ext2/genext2fs-02-nosquash_devtable.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/ext2/genext2fs-02-nosquash_devtable.patch b/target/ext2/genext2fs-02-nosquash_devtable.patch
new file mode 100644
index 000000000..947e61ac3
--- /dev/null
+++ b/target/ext2/genext2fs-02-nosquash_devtable.patch
@@ -0,0 +1,13 @@
+--- genext2fs-1.3/genext2fs.c~ 2005-02-15 02:21:18.000000000 -0700
++++ genext2fs-1.3/genext2fs.c 2005-02-15 02:17:09.000000000 -0700
+@@ -1322,10 +1324,6 @@
+ }
+ else
+ {
+- if(squash_uids)
+- uid = gid = 0;
+- if(squash_perms)
+- mode &= ~(FM_IRWXG | FM_IRWXO);
+ mode &= FM_IMASK;
+ path2 = strdup(path);
+ name = basename(path);