The ramdisk does not have 'rootfs' in the name, fix this.

  ERROR: initramdisk-petalinux-initramfs-image-1.0-r0 do_install: Unable to 
find expected initramfs: 
petalinux-initramfs-image-vck-sc-zynqmp.rootfs.cpio.gz.u-boot

See:
  
https://git.yoctoproject.org/poky/commit/meta/classes-recipe/image-artifact-names.bbclass?id=6f6c79029bc2020907295858449c725952d560a1

Signed-off-by: Mark Hatle <[email protected]>
---
 .../recipes-bsp/initramdisk/initramdisk-xilinx.bb         | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-xilinx-core/recipes-bsp/initramdisk/initramdisk-xilinx.bb 
b/meta-xilinx-core/recipes-bsp/initramdisk/initramdisk-xilinx.bb
index 2114eafd..af786e7e 100644
--- a/meta-xilinx-core/recipes-bsp/initramdisk/initramdisk-xilinx.bb
+++ b/meta-xilinx-core/recipes-bsp/initramdisk/initramdisk-xilinx.bb
@@ -18,18 +18,18 @@ do_install[vardepsexclude] += "DEPLOY_DIR_IMAGE"
 do_install[depends] += "${INITRAMFS_IMAGE}:do_image_complete"
 do_install[cleandirs] = "${D}"
 do_install() {
-       if [ -e 
${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.rootfs.cpio.gz.u-boot ]; then
+       if [ -e 
${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz.u-boot ]; then
                install -d ${D}/boot/
-               install -m 0644 
${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.rootfs.cpio.gz.u-boot 
${D}/boot/.
+               install -m 0644 
${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz.u-boot ${D}/boot/.
        else
-               bbfatal "Unable to find expected initramfs: 
${INITRAMFS_IMAGE}-${MACHINE}.rootfs.cpio.gz.u-boot"
+               bbfatal "Unable to find expected initramfs: 
${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz.u-boot"
        fi
 }
 
 PACKAGES = "${PACKAGE_BEFORE_PN} ${PN}"
 
 RPROVIDES:${PN} = "initramdisk"
-FILES:${PN} = "/boot/${INITRAMFS_IMAGE}-${MACHINE}.rootfs.cpio.gz.u-boot"
+FILES:${PN} = "/boot/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz.u-boot"
 
 python() {
     if not d.getVar('INITRAMFS_IMAGE'):
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5399): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5399
Mute This Topic: https://lists.yoctoproject.org/mt/106609989/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to