[poky] Adding Packages
Darren Hart
dvhart at linux.intel.com
Fri Feb 4 11:04:50 PST 2011
On 02/04/2011 02:25 AM, Akshat Saha wrote:
> Hi Darren,
>
> Thanks a lot for your help.
> Till now, I was working with poky-green(3.3.1) but I am shifting to
> laverne(4.0) now.
> Will let you know if it works with it also.
>
> Can you also help me how to add patches.
> I have put he .patch file in files folder of the psplash package
>
> and in SRC_URI Added file://psplash-poky-img.patch:patch=1 \
That should work provided the directory is named either files of
${PN}-{PV}, the latter being preferred.
--
Darren
>
>
> On Thu, Feb 3, 2011 at 9:59 PM, Darren Hart <dvhart at linux.intel.com
> <mailto:dvhart at linux.intel.com>> wrote:
>
> On 02/03/2011 03:54 AM, Akshat Saha wrote:
>
> Hi All,
>
> I want to meta/packages/psplash package to my rfs. I
> compiled poky-image-minimal-live, with the following command
>
> $ bitbake poky-image-minimal-live
>
> Can any one guide me, how...?
>
>
> There are a few ways to go about this I'm sure. What I've done is
> either:
>
> 1) Create a layer with .bbappend for the image
> 2) Create your own image recipe
>
> For example, the following recipes create a new image,
> poky-image-dvhart (as well as a live version), and add dropbear,
> trace-cmd, and kernelshark to the list of packages installed.
>
>
> $ cat poky-image-dvhart.bb <http://poky-image-dvhart.bb>
> #
> # Copyright (C) 2010 Intel Corporation.
> #
> require recipes-core/images/poky-image-minimal.bb
> <http://poky-image-minimal.bb>
> IMAGE_INSTALL += "dropbear trace-cmd kernelshark"
> LICENSE = "MIT"
>
>
>
> $ cat poky-image-dvhart-live.bb <http://poky-image-dvhart-live.bb>
> DESCRIPTION = "Bootable Live Image"
> require recipes-core/images/poky-image-live.inc
> LABELS += "boot install"
> ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-dvhart-${MACHINE}.ext3"
> LICENSE = "MIT"
> do_bootimg[depends] += "poky-image-dvhart:do_rootfs"
>
>
> --
> Darren Hart
> Intel Open Source Technology Center
> Yocto Project - Linux Kernel
>
>
>
>
> --
> Thanks and Regards,
>
> Akshat Saha
>
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the poky
mailing list