linux-x86: Add deploying of kernel image again.
authorFlorian Boor <florian.boor@kernelconcepts.de>
Tue, 3 Jul 2007 16:49:42 +0000 (16:49 +0000)
committerFlorian Boor <florian.boor@kernelconcepts.de>
Tue, 3 Jul 2007 16:49:42 +0000 (16:49 +0000)
packages/linux/linux-x86_2.6.20.bb

index ec79c94..cfc8af6 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Linux Kernel for x86 compatible machines"
 SECTION = "kernel"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 " 
 
@@ -29,3 +29,12 @@ do_configure_prepend_i686() {
        install -m 0644 ${WORKDIR}/i686-defconfig ${S}/.config
 }
 
+
+do_deploy() {
+        install -d ${DEPLOY_DIR_IMAGE}
+        install -m 0644 arch/i386/boot/${KERNEL_IMAGETYPE}  ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME} 
+}   
+
+do_deploy[dirs] = "${S}"
+
+addtask deploy before do_populate_staging after do_compile