aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches/203-fix_initrd_duplication.patch
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-06-20 18:57:30 +0000
committerMike Baker <mbm@openwrt.org>2006-06-20 18:57:30 +0000
commitfcd89327c90fc428c6b5e322c4093c17cdf88442 (patch)
tree68ff9a7ecec61976176138894240919e89633001 /target/linux/generic-2.6/patches/203-fix_initrd_duplication.patch
parentf3ad9f9763f5e2f5fc10f29b3bb3fec62de91af7 (diff)
downloadmaster-187ad058-fcd89327c90fc428c6b5e322c4093c17cdf88442.tar.gz
master-187ad058-fcd89327c90fc428c6b5e322c4093c17cdf88442.tar.bz2
master-187ad058-fcd89327c90fc428c6b5e322c4093c17cdf88442.zip
annoying initrd bug introduced by 2.6.17
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4027 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/patches/203-fix_initrd_duplication.patch')
-rw-r--r--target/linux/generic-2.6/patches/203-fix_initrd_duplication.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches/203-fix_initrd_duplication.patch b/target/linux/generic-2.6/patches/203-fix_initrd_duplication.patch
new file mode 100644
index 0000000000..4cef893003
--- /dev/null
+++ b/target/linux/generic-2.6/patches/203-fix_initrd_duplication.patch
@@ -0,0 +1,13 @@
+diff -Nurb linux-2.6.17/usr/Makefile linux-2.6.17/usr/Makefile
+--- linux-2.6.17/usr/Makefile 2006-06-20 11:51:27.000000000 -0700
++++ linux-2.6.17/usr/Makefile 2006-06-20 11:51:34.000000000 -0700
+@@ -21,8 +21,7 @@
+ $(CONFIG_INITRAMFS_SOURCE),-d)
+ ramfs-args := \
+ $(if $(CONFIG_INITRAMFS_ROOT_UID), -u $(CONFIG_INITRAMFS_ROOT_UID)) \
+- $(if $(CONFIG_INITRAMFS_ROOT_GID), -g $(CONFIG_INITRAMFS_ROOT_GID)) \
+- $(ramfs-input)
++ $(if $(CONFIG_INITRAMFS_ROOT_GID), -g $(CONFIG_INITRAMFS_ROOT_GID))
+
+ # .initramfs_data.cpio.gz.d is used to identify all files included
+ # in initramfs and to detect if any files are added/removed.