[yocto] Installing only part of linux-firmware

Chris Tapp opensource at keylevel.com
Sun Feb 7 13:49:08 PST 2016


On 7 Feb 2016, at 16:50, Chris Tapp <opensource at keylevel.com> wrote:
> 
> Is there a way I can just pull in part of the linux-firmware package into my image? I need rtl_nic, but to get this I have to pull in the whole of linux-firmware, which is 54M and forms over 1/3 of the final image.
> 
> It looks to me as if I’m going to have to find some way of packaging this myself?
> 
> I’m currently building under ‘daisy’.

I’ve now done this by creating a bbappend for linux-firmware:

PACKAGES =+ "${PN}-rtl_nic"

FILES_${PN}-rtl_nic = " \
  /lib/firmware/rtl_nic/* \
“

Does what I want, but is that the best way of doing it?

> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

--

Chris Tapp
opensource at keylevel.com
www.keylevel.com

----
You can tell you're getting older when your car insurance gets real cheap!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160207/566662c9/attachment.pgp>


More information about the yocto mailing list