git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e891e3
)
kernel.bbclass: copy gz, lzo, lzma initramfs cpio images. - since 2.6.30 there is...
author
Andrea Adami
<andrea.adami@gmail.com>
Wed, 30 Dec 2009 22:29:53 +0000
(23:29 +0100)
committer
Andrea Adami
<andrea.adami@gmail.com>
Wed, 30 Dec 2009 23:26:50 +0000
(
00:26
+0100)
classes/kernel.bbclass
patch
|
blob
|
history
diff --git
a/classes/kernel.bbclass
b/classes/kernel.bbclass
index
069dceb
..
83530b5
100644
(file)
--- a/
classes/kernel.bbclass
+++ b/
classes/kernel.bbclass
@@
-208,8
+208,12
@@
kernel_do_install() {
kernel_do_configure() {
yes '' | oe_runmake oldconfig
if [ ! -z "${INITRAMFS_IMAGE}" ]; then
- cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz" initramfs.cpio.gz
- fi
+ for img in cpio.gz cpio.lzo cpio.lzma; do
+ if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" ]; then
+ cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" initramfs.$img
+ fi
+ done
+ fi
}
do_menuconfig() {