[yocto] How to debug a custom image creation script?

Spriggs, Jim J.Spriggs at raylase.de
Fri May 22 01:47:23 PDT 2015


Hi Guys,

I'd like to have my custom layer generate an sdcard image, so I've implemented a classes/image_types_xxxxx.bbclass.
This contains, amongst other things, the (bash) function generate_xxxxx_sdcard().
Being a naïve n00b, I assumed that I could just scatter "bbnote"s, "echo"s, or even "set -x" around inside the function to my heart's content,
and would be able to see the output "somewhere".
Trouble is, I can't find it anywhere!

So what is the best/approved/obvious way to get debug traces out of a bbclass function?

If I am already doing the Right Thing, where should I be looking for the output?

Thanks for listening, and for any clues!
--
Jim

PS: sorry about the company sig., I can't switch it off.

________________________________

RAYLASE AG
Argelsrieder Feld 2+4
82234 Wessling
Germany
Tel.: +49-(0)8153/88 98-0
Fax: +49-(0)8153/88 98-10
http://www.raylase.de

District Court Munich, HRB 131450

Board: Peter von Jan (CEO)

Supervisory Board: Dr. Ulrich Lohmann (Chairman)


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



More information about the yocto mailing list