]> git.openpandora.org Git - openembedded.git/commitdiff
linux-handhelds-2.6: Fix some initramfs support issues.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sat, 8 Mar 2008 11:30:16 +0000 (11:30 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sat, 8 Mar 2008 11:30:16 +0000 (11:30 +0000)
* Be sure to clean up any possible old initramfs.
* Fix bashism.

packages/linux/linux-handhelds-2.6.inc
packages/linux/linux-handhelds-2.6_2.6.21-hh20.bb

index 3bd9f78ea28ce0084314c9cc2ca4cbb1d1b649ea..998711fe76c0585b0c29e477913b7fb37aecf74e 100644 (file)
@@ -55,7 +55,9 @@ do_configure() {
 }
 
 do_compile_prepend() {
-       if [ -n "${KERNEL_INITRAMFS_PATH}" -a "${ANGSTROM_MODE}" == "glibc" ]; then
+       # Clean up any stale initramfs archive
+       rm usr/initramfs_data.cpio.gz
+       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
index 672d0386196a16a2163662116dc89bd6c29221a3..a9cbff4d7e3882c4a1d5704669b3a53510ec7f27 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"