linux/linux-handhelds-2.6: Readd check that ${KERNEL_INITRAMFS_PATH} exists.
authorPaul Sokolovsky <pmiscml@gmail.com>
Fri, 14 Mar 2008 08:27:48 +0000 (08:27 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Fri, 14 Mar 2008 08:27:48 +0000 (08:27 +0000)
packages/linux/linux-handhelds-2.6.inc
packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb

index 5970ace..48e4911 100644 (file)
@@ -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
index 9d493c3..3df1102 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 = "r19"
+PR = "r20"
 
 DEFAULT_PREFERENCE = "-1"