[oe-commits] org.oe.dev linux/linux-handhelds-2.6: Readd check that ${KERNEL_INITRAMFS_PATH} exists.

pfalcon commit oe at amethyst.openembedded.net
Mon Mar 17 08:54:46 UTC 2008


linux/linux-handhelds-2.6: Readd check that ${KERNEL_INITRAMFS_PATH} exists.

Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: b54f849e3abe2877a2579b6348c60e2c6c1a08ca
ViewMTN: http://monotone.openembedded.org/revision/info/b54f849e3abe2877a2579b6348c60e2c6c1a08ca
Files:
1
packages/linux/linux-handhelds-2.6.inc
packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb
Diffs:

#
# mt diff -rfeaef11fd24deab7efbd540e5201e3622f39ce49 -rb54f849e3abe2877a2579b6348c60e2c6c1a08ca
#
#
#
# patch "packages/linux/linux-handhelds-2.6.inc"
#  from [98a6f0f9f040fedbfaf3ba13c0c39685da9f4c34]
#    to [6ee762ca50690741aee1b59934653c4e6899f3ff]
# 
# patch "packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb"
#  from [77d66be7e651da29ca286c2f28474b976270f746]
#    to [358d89b41f8bf41044bf9fb95edf85da0b2238b9]
#
============================================================
--- packages/linux/linux-handhelds-2.6.inc	98a6f0f9f040fedbfaf3ba13c0c39685da9f4c34
+++ packages/linux/linux-handhelds-2.6.inc	6ee762ca50690741aee1b59934653c4e6899f3ff
@@ -38,6 +38,11 @@ do_configure() {
 	fi
 
 	if [ -n "${KERNEL_INITRAMFS_PATH}" -a "${ANGSTROM_MODE}" = "glibc" ]; then
+		if [ ! -f ${KERNEL_INITRAMFS_PATH} ]; then
+		    echo "${KERNEL_INITRAMFS_PATH} does not exist, you may need to bitbake it separately"
+		    exit 1
+		fi
+
 		# Kernel expects non-compressed cpio
 		gzip -d -c ${KERNEL_INITRAMFS_PATH} >${WORKDIR}/initramfs.cpio
 		echo "CONFIG_INITRAMFS_SOURCE=\"${WORKDIR}/initramfs.cpio\"" >> ${S}/.config
============================================================
--- packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb	77d66be7e651da29ca286c2f28474b976270f746
+++ packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb	358d89b41f8bf41044bf9fb95edf85da0b2238b9
@@ -1,7 +1,7 @@ LICENSE = "GPL"
 SECTION = "kernel"
 DESCRIPTION = "handhelds.org Linux kernel 2.6 for PocketPCs and other consumer handheld devices."
 LICENSE = "GPL"
-PR = "r19"
+PR = "r20"
 
 DEFAULT_PREFERENCE = "-1"
 






More information about the Openembedded-commits mailing list