Chris, > -----Original Message----- > From: yocto-boun...@yoctoproject.org [mailto:yocto- > boun...@yoctoproject.org] On Behalf Of Chris Tapp > Sent: Sunday, November 30, 2014 6:09 PM > To: ChenQi > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] Adding firmware to initramfs > > > On 30 Nov 2014, at 08:06, ChenQi <qi.c...@windriver.com> wrote: > > > Create a bbappend file for core-image-minimal-initramfs, and add the > following line to the bbappend file. > > > > PACKAGE_INSTALL += "linux-firmware" > > Thanks, PACKAGE_INSTALL works great :-) > > I've gone with the following in my local.conf: > > PACKAGE_INSTALL_append_pn-core-image-minimal-initramfs = " linux- > firmware" >
For future management, you may be better off using a .bbappend for the image instead of adding this to your local.conf. If you have your own layer in which you have your own recipes, placing a .bbappend for the image in this layer makes it easy to keep track of everything you changed to customize the image. If you need to start a new build setup from scratch (new developer starts working on the project, hard drive crashes, etc.) you can get a copy of your layer and have all your image customizations ready. Specifically for your case, adding the file recipes-core/images/core-image-minimal-initramfs.bbappend to your layer with the contents: PACKAGE_INSTALL += "linux-firmware" should get you the same results but be easier to maintain. Regards, Bryan > > > > On 11/28/2014 08:37 PM, Chris Tapp wrote: > >> I'm network booting a system using iPXE. The process uses a core-image- > minimal-initramfs image to select the final rootfs that gets loaded. > >> > >> This generally works fine, but I need to be able to install linux-firmware > >> in > the initramfs image (specifically for the NIC that gets used to load the final > rootfs). > >> > >> How do I get linux-firmware to install in core-image-minimal-initramfs? > I've tried adding the following into local.conf, but with no luck: > >> > >> MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-firmware" > >> IMAGE_INSTALL_append = " linux-firmware" > >> CORE_IMAGE_EXTRA_INSTALL += " linux-firmware" > > -- > > Chris Tapp > opensou...@keylevel.com > www.keylevel.com > > ---- > You can tell you're getting older when your car insurance gets real cheap! > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto