From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mailcuda.itwwelds.com ([206.197.156.65]) by metis.ext.pengutronix.de with esmtp (Exim 4.84_2) (envelope-from ) id 1db6P1-00011h-Jm for meta-rauc@pengutronix.de; Fri, 28 Jul 2017 16:38:09 +0200 Received: from webmail.itwwelds.com (exch13mb01.itwwelds.com [10.52.121.20]) by mailcuda.itwwelds.com with ESMTP id Nx0diOP18t7YhoSX for ; Fri, 28 Jul 2017 09:37:59 -0500 (CDT) From: Jeremy Overesch Date: Fri, 28 Jul 2017 14:37:58 +0000 Message-ID: <8ce17c2303ab42dbbdf02fdaf20dbcc4@EXCH13MB02.itwwelds.com> Content-Language: en-US MIME-Version: 1.0 Subject: [meta-rauc] bundle.bbclass accessing non-existent task do_image_complete List-Id: meta-rauc Layer for Yocto - Discussion List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1874057337==" Errors-To: meta-rauc-bounces@pengutronix.de Sender: "meta-rauc" To: "meta-rauc@pengutronix.de" --===============1874057337== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_8ce17c2303ab42dbbdf02fdaf20dbcc4EXCH13MB02itwweldscom_" --_000_8ce17c2303ab42dbbdf02fdaf20dbcc4EXCH13MB02itwweldscom_ Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Hello, I'm attempting to add a kernel to my rauc bundle, based off of phytec's "li= nux-ti" kernel: https://git.phytec.de/meta-phytec/tree/recipes-kernel/linux= /linux-ti_4.4.52-phy2.bb However, when I add the kernel, I'm getting an er= ror "bundle.bb depends upon non-existent task do_image_complete". It appea= rs that the only class which contains "do_image_complete" is the image clas= s, but as far as I understood, the kernel shouldn't be a system image. I a= m able to create a file with just the file system, but adding a kernel or d= ts file does not work. Looking inside the bundle.bbclass file, it appears that it is using the do_= image_complete task for fetching dependencies. Am I supposed to create thi= s task for my kernel somehow? What is it looking for as a return value? Below is my bundle.bb file: inherit bundle RAUC_KEY_FILE =3D "${THISDIR}/development-1.key.pem" RAUC_CERT_FILE =3D "${THISDIR}/development-1.cert.pem" RAUC_BUNDLE_COMPATIBLE=3D "277264" RAUC_BUNDLE_SLOTS=3D"rootfs kernel" RAUC_SLOT_rootfs=3D"phytec-qtdemo" RAUC_SLOT_rootfs[fstype]=3D"ubifs" RAUC_SLOT_kernel=3D"linux-ti" RAUC_SLOT_kernel[type]=3D"kernel" Jeremy Overesch Software Engineer Miller Electric Mfg. Co. An ITW Welding Company 1635 West Spencer St., P.O. Box 1079, Appleton, WI 54912-1079 Phone: 920.7= 35.4579 MillerWelds.com =81 Facebook =81 Twitter = =81 YouTube ________________________________ This message (including any attachments) is intended for the sole use of th= e intended recipient/s and may contain material that is CONFIDENTIAL AND PR= IVATE COMPANY INFORMATION. If you are not the intended recipient of this me= ssage, you are hereby notified that you must delete the message without dis= seminating, copying or taking any action in reliance upon it. If you have r= eceived this message in error, please notify the sender via return e-mail. = Thank you. --_000_8ce17c2303ab42dbbdf02fdaf20dbcc4EXCH13MB02itwweldscom_ Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable

Hello,

 

I’m attempting to add a kernel to my rauc bund= le, based off of phytec’s “linux-ti” kernel: https://git.phytec.de/meta-phytec/tree/recipes-kernel/linux/linux-ti_4.4.52= -phy2.bb  However, when I add the kernel, I’m getting an err= or “bundle.bb depends upon non-existent task do_image_complete”= .  It appears that the only class which contains “do_image_compl= ete” is the image class, but as far as I understood, the kernel shouldn’t= be a system image.  I am able to create a file with just the file sys= tem, but adding a kernel or dts file does not work.

 

Looking inside the bundle.bbclass file, it appears t= hat it is using the do_image_complete task for fetching dependencies.  = ;Am I supposed to create this task for my kernel somehow?  What is it = looking for as a return value?

 

Below is my bundle.bb file:

 

inherit bundle

 

RAUC_KEY_FILE =3D "${THISDIR}/development-1.key= .pem"

RAUC_CERT_FILE =3D "${THISDIR}/development-1.ce= rt.pem"

RAUC_BUNDLE_COMPATIBLE=3D "277264"

 

RAUC_BUNDLE_SLOTS=3D"rootfs kernel"

 

RAUC_SLOT_rootfs=3D"phytec-qtdemo"

RAUC_SLOT_rootfs[fstype]=3D"ubifs"

 

RAUC_SLOT_kernel=3D"linux-ti"

RAUC_SLOT_kernel[type]=3D"kernel"

 

Jeremy Overesch

Software Engineer=

 

Miller Electric Mfg. Co.  An ITW Welding Company

1635 West Spencer St., P.O. Box 1079, Appl= eton, WI 54912-1079  Phone: 920= .735.4579

MillerWelds.com  =81  Facebook  =81  Twitter  =81  YouTube

 




This message (including any attachments) is intended for the sole use of th= e intended recipient/s and may contain material that is CONFIDENTIAL AND PR= IVATE COMPANY INFORMATION. If you are not the intended recipient of this me= ssage, you are hereby notified that you must delete the message without disseminating, copying or taking any a= ction in reliance upon it. If you have received this message in error, plea= se notify the sender via return e-mail. Thank you.
--_000_8ce17c2303ab42dbbdf02fdaf20dbcc4EXCH13MB02itwweldscom_-- --===============1874057337== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbWV0YS1yYXVj IG1haWxpbmcgbGlzdAo= --===============1874057337==--