summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.28
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.28')
-rw-r--r--target/linux/s3c24xx/patches-2.6.28/001-merge-openmoko.patch (renamed from target/linux/s3c24xx/patches-2.6.28/0001-merge-openmoko.patch)0
-rw-r--r--target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch12
-rw-r--r--target/linux/s3c24xx/patches-2.6.28/003-disable-xt-chaos.patch (renamed from target/linux/s3c24xx/patches-2.6.28/0002-disable-xt-chaos.patch)0
3 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.28/0001-merge-openmoko.patch b/target/linux/s3c24xx/patches-2.6.28/001-merge-openmoko.patch
index 77be550..77be550 100644
--- a/target/linux/s3c24xx/patches-2.6.28/0001-merge-openmoko.patch
+++ b/target/linux/s3c24xx/patches-2.6.28/001-merge-openmoko.patch
diff --git a/target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch b/target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch
new file mode 100644
index 0000000..19ecbf9
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.28/002-call-preinit-instead-of-init.patch
@@ -0,0 +1,12 @@
+Index: linux-2.6.28/init/main.c
+===================================================================
+--- linux-2.6.28.orig/init/main.c 2009-01-03 13:03:03.000000000 +0100
++++ linux-2.6.28/init/main.c 2009-01-03 13:03:14.000000000 +0100
+@@ -825,6 +825,7 @@ static int noinline init_post(void)
+ printk(KERN_WARNING "Failed to execute %s. Attempting "
+ "defaults...\n", execute_command);
+ }
++ run_init_process("/etc/preinit");
+ run_init_process("/sbin/init");
+ run_init_process("/etc/init");
+ run_init_process("/bin/init");
diff --git a/target/linux/s3c24xx/patches-2.6.28/0002-disable-xt-chaos.patch b/target/linux/s3c24xx/patches-2.6.28/003-disable-xt-chaos.patch
index e1b017f..e1b017f 100644
--- a/target/linux/s3c24xx/patches-2.6.28/0002-disable-xt-chaos.patch
+++ b/target/linux/s3c24xx/patches-2.6.28/003-disable-xt-chaos.patch