linux-handhelds 2.6.21-hh20: add patch to stop the kernel from blowing away our initr...
authorKoen Kooi <koen@openembedded.org>
Sat, 8 Mar 2008 10:21:48 +0000 (10:21 +0000)
committerKoen Kooi <koen@openembedded.org>
Sat, 8 Mar 2008 10:21:48 +0000 (10:21 +0000)
packages/linux/linux-handhelds-2.6-2.6.21/keep-initramfs.patch [new file with mode: 0644]
packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb

diff --git a/packages/linux/linux-handhelds-2.6-2.6.21/keep-initramfs.patch b/packages/linux/linux-handhelds-2.6-2.6.21/keep-initramfs.patch
new file mode 100644 (file)
index 0000000..b503a63
--- /dev/null
@@ -0,0 +1,11 @@
+--- /tmp/Makefile      2008-03-08 11:13:58.939360172 +0100
++++ kernel26/usr/Makefile      2008-03-08 11:14:03.270190232 +0100
+@@ -34,7 +34,7 @@
+ endif
+ quiet_cmd_initfs = GEN     $@
+-      cmd_initfs = $(initramfs) -o $@ $(ramfs-args) $(ramfs-input)
++      cmd_initfs = echo
+ targets := initramfs_data.cpio.gz
+ # do not try to update files included in initramfs
index 672d038..d9ec0ef 100644 (file)
@@ -1,7 +1,7 @@
 SECTION = "kernel"
 DESCRIPTION = "handhelds.org Linux kernel 2.6 for PocketPCs and other consumer handheld devices."
 LICENSE = "GPL"
-PR = "r15"
+PR = "r16"
 
 DEFAULT_PREFERENCE = "-1"
 
@@ -12,6 +12,7 @@ FILESPATH = "${FILE_DIRNAME}/linux-handhelds-2.6-2.6.21/${MACHINE}:${FILE_DIRNAM
 SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26;tag=${@'K' + bb.data.getVar('PV',d,1).replace('.', '-')} \
            file://linux-2.6.git-9d20fdd58e74d4d26dc5216efaaa0f800c23dd3a.patch;patch=1 \
            http://www.rpsys.net/openzaurus/patches/archive/export_atags-r0a.patch;patch=1 \
-           file://defconfig"
+           file://keep-initramfs.patch;patch=1 \
+          file://defconfig"
 
 require linux-handhelds-2.6.inc