[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3588/8267] kernel.bbclass: allow uncompressed initramfs archives



commit 68b2a6320a294867df802256ff8de95afe053902
Author: Andreas Oberritter <obi opendreambox org>
Date:   Thu Dec 1 00:36:47 2016 +0100

    kernel.bbclass: allow uncompressed initramfs archives
    
    The code failed to copy the initramfs in case it was a plain
    cpio archive.
    
    (From OE-Core rev: 7dbdb4ea91aa027866da2bd46c65fe65a25c848f)
    
    Signed-off-by: Andreas Oberritter <obi opendreambox org>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/kernel.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 17e85a4..71d543b 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -165,7 +165,7 @@ copy_initramfs() {
        mkdir -p ${B}/usr
        # Find and use the first initramfs image archive type we find
        rm -f ${B}/usr/${INITRAMFS_IMAGE}-${MACHINE}.cpio
-       for img in cpio.gz cpio.lz4 cpio.lzo cpio.lzma cpio.xz; do
+       for img in cpio cpio.gz cpio.lz4 cpio.lzo cpio.lzma cpio.xz; do
                if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" ]; then
                        cp ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img ${B}/usr/.
                        case $img in


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]