All of lore.kernel.org
 help / color / mirror / Atom feed
* bbappend files and "ERROR: no recipes available for"
@ 2013-11-01 19:43 Markus Svilans
  2013-11-01 19:48 ` Søren Holm
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Svilans @ 2013-11-01 19:43 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Dear list,

I am working on a compact filesystem image, that contains firmware only 
for the network hardware on the motherboard.

Therefore, I created a linux-firmware.bbappend file, with the following 
contents:

> # Cherrypick the firmware files that we need for our hardware
>
> #FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> PACKAGES += "${PN}-rtl8168d-1"
>
> FILES_${PN}-rtl8168d-1 = " \
>   /lib/firmware/rtl_nic/rtl8168d-1.fw \
> "


However, running "bitbake linux-firmware" fails with this bbappend file 
present:


> ERROR: No recipes available for:
> /home/markus/yocto/genericx86-64-dora-10.0.0/meta-markus/recipes-kernel/linux-firmware/linux-firmware.bbappend
> ERROR: Command execution failed: Exited with 1


Other bbappend files, such as for custom kernel config for linux-yocto, 
worked without complaints.

So far, I was following the instructions for using bbappend files here:
http://www.yoctoproject.org/docs/1.5/dev-manual/dev-manual.html#using-bbappend-files
http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html


 From what I can see, I am setting up my linux-firmware.bbappend file 
consistently with the instructions.

What am I doing wrong here?

Thanks very much
Markus





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bbappend files and "ERROR: no recipes available for"
  2013-11-01 19:43 bbappend files and "ERROR: no recipes available for" Markus Svilans
@ 2013-11-01 19:48 ` Søren Holm
  2013-11-01 20:18   ` Markus Svilans
  0 siblings, 1 reply; 3+ messages in thread
From: Søren Holm @ 2013-11-01 19:48 UTC (permalink / raw)
  To: yocto

Hi

Rename your bbappend-file to the exact name of the original recipe. 

1.5 (dora) contains linux-firmware_git.bb in which case the bbappend should be 
named linux-firmware_git.bbappend.

Fredag den 1. november 2013 15:43:19 skrev Markus Svilans:
> Dear list,
> 
> I am working on a compact filesystem image, that contains firmware only
> for the network hardware on the motherboard.
> 
> Therefore, I created a linux-firmware.bbappend file, with the following
> 
> contents:
> > # Cherrypick the firmware files that we need for our hardware
> > 
> > #FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > 
> > PACKAGES += "${PN}-rtl8168d-1"
> > 
> > FILES_${PN}-rtl8168d-1 = " \
> > 
> >   /lib/firmware/rtl_nic/rtl8168d-1.fw \
> > 
> > "
> 
> However, running "bitbake linux-firmware" fails with this bbappend file
> 
> present:
> > ERROR: No recipes available for:
> > /home/markus/yocto/genericx86-64-dora-10.0.0/meta-markus/recipes-kernel/li
> > nux-firmware/linux-firmware.bbappend ERROR: Command execution failed:
> > Exited with 1
> 
> Other bbappend files, such as for custom kernel config for linux-yocto,
> worked without complaints.
> 
> So far, I was following the instructions for using bbappend files here:
> http://www.yoctoproject.org/docs/1.5/dev-manual/dev-manual.html#using-bbappe
> nd-files http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html
> 
> 
>  From what I can see, I am setting up my linux-firmware.bbappend file
> consistently with the instructions.
> 
> What am I doing wrong here?
> 
> Thanks very much
> Markus
> 
> 
> 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
Søren Holm


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bbappend files and "ERROR: no recipes available for"
  2013-11-01 19:48 ` Søren Holm
@ 2013-11-01 20:18   ` Markus Svilans
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Svilans @ 2013-11-01 20:18 UTC (permalink / raw)
  To: Søren Holm, yocto

Hi Søren,

Thanks very much for the suggestion. It worked.


On the subject, I noticed you have to be careful when using "+=" and 
"=+" to append to variables in bb files. Here is my bbappend file, with 
the proper operator after the PACKAGES variable:

> # Cherrypick the firmware files that we need:
>
> PACKAGES =+ " ${PN}-rtl8168d-1"
>
> FILES_${PN}-rtl8168d-1 = " \
>   /lib/firmware/rtl_nic/rtl8168d-1.fw \
> "


Previously I had "+=", and my custom rtl8168 package file was not being 
generated.

Regards,
Markus



On 11/01/2013 03:48 PM, Søren Holm wrote:
> Hi
>
> Rename your bbappend-file to the exact name of the original recipe.
>
> 1.5 (dora) contains linux-firmware_git.bb in which case the bbappend should be
> named linux-firmware_git.bbappend.
>
> Fredag den 1. november 2013 15:43:19 skrev Markus Svilans:
>> Dear list,
>>
>> I am working on a compact filesystem image, that contains firmware only
>> for the network hardware on the motherboard.
>>
>> Therefore, I created a linux-firmware.bbappend file, with the following
>>
>> contents:
>>> # Cherrypick the firmware files that we need for our hardware
>>>
>>> #FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>>
>>> PACKAGES += "${PN}-rtl8168d-1"
>>>
>>> FILES_${PN}-rtl8168d-1 = " \
>>>
>>>    /lib/firmware/rtl_nic/rtl8168d-1.fw \
>>>
>>> "
>> However, running "bitbake linux-firmware" fails with this bbappend file
>>
>> present:
>>> ERROR: No recipes available for:
>>> /home/markus/yocto/genericx86-64-dora-10.0.0/meta-markus/recipes-kernel/li
>>> nux-firmware/linux-firmware.bbappend ERROR: Command execution failed:
>>> Exited with 1
>> Other bbappend files, such as for custom kernel config for linux-yocto,
>> worked without complaints.
>>
>> So far, I was following the instructions for using bbappend files here:
>> http://www.yoctoproject.org/docs/1.5/dev-manual/dev-manual.html#using-bbappe
>> nd-files http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html
>>
>>
>>   From what I can see, I am setting up my linux-firmware.bbappend file
>> consistently with the instructions.
>>
>> What am I doing wrong here?
>>
>> Thanks very much
>> Markus
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-01 20:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-01 19:43 bbappend files and "ERROR: no recipes available for" Markus Svilans
2013-11-01 19:48 ` Søren Holm
2013-11-01 20:18   ` Markus Svilans

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.