* Adding Packages @ 2011-02-03 11:54 Akshat Saha 2011-02-03 16:29 ` Darren Hart 0 siblings, 1 reply; 6+ messages in thread From: Akshat Saha @ 2011-02-03 11:54 UTC (permalink / raw) To: poky [-- Attachment #1: Type: text/plain, Size: 244 bytes --] 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...? -- Thanks and Regards, Akshat Saha [-- Attachment #2: Type: text/html, Size: 473 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Adding Packages 2011-02-03 11:54 Adding Packages Akshat Saha @ 2011-02-03 16:29 ` Darren Hart 2011-02-04 10:25 ` Akshat Saha 0 siblings, 1 reply; 6+ messages in thread From: Darren Hart @ 2011-02-03 16:29 UTC (permalink / raw) To: Akshat Saha; +Cc: poky 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 # # Copyright (C) 2010 Intel Corporation. # require recipes-core/images/poky-image-minimal.bb IMAGE_INSTALL += "dropbear trace-cmd kernelshark" LICENSE = "MIT" $ cat 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Adding Packages 2011-02-03 16:29 ` Darren Hart @ 2011-02-04 10:25 ` Akshat Saha 2011-02-04 12:24 ` Joshua Lock 2011-02-04 19:04 ` Darren Hart 0 siblings, 2 replies; 6+ messages in thread From: Akshat Saha @ 2011-02-04 10:25 UTC (permalink / raw) To: Darren Hart; +Cc: poky [-- Attachment #1: Type: text/plain, Size: 1737 bytes --] 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 \ On Thu, Feb 3, 2011 at 9:59 PM, Darren Hart <dvhart@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 > # > # Copyright (C) 2010 Intel Corporation. > # > require recipes-core/images/poky-image-minimal.bb > IMAGE_INSTALL += "dropbear trace-cmd kernelshark" > LICENSE = "MIT" > > > > $ cat 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 [-- Attachment #2: Type: text/html, Size: 2729 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Adding Packages 2011-02-04 10:25 ` Akshat Saha @ 2011-02-04 12:24 ` Joshua Lock 2011-02-04 19:04 ` Darren Hart 1 sibling, 0 replies; 6+ messages in thread From: Joshua Lock @ 2011-02-04 12:24 UTC (permalink / raw) To: poky On Fri, 2011-02-04 at 15:55 +0530, 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 be a ; not a : Also, the patch variable is no longer requires file://psplash-poky-img.patch \ in the SRC_URI should be enough. Regards, Joshua -- Joshua Lock Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Adding Packages 2011-02-04 10:25 ` Akshat Saha 2011-02-04 12:24 ` Joshua Lock @ 2011-02-04 19:04 ` Darren Hart 2011-02-05 13:33 ` Akshat Saha 1 sibling, 1 reply; 6+ messages in thread From: Darren Hart @ 2011-02-04 19:04 UTC (permalink / raw) To: Akshat Saha; +Cc: poky 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@linux.intel.com > <mailto:dvhart@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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Adding Packages 2011-02-04 19:04 ` Darren Hart @ 2011-02-05 13:33 ` Akshat Saha 0 siblings, 0 replies; 6+ messages in thread From: Akshat Saha @ 2011-02-05 13:33 UTC (permalink / raw) To: Darren Hart; +Cc: poky [-- Attachment #1: Type: text/plain, Size: 2566 bytes --] Hi Thanks Joshua n Darren it worked... :) On Sat, Feb 5, 2011 at 12:34 AM, Darren Hart <dvhart@linux.intel.com> wrote: > 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@linux.intel.com >> <mailto:dvhart@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 > -- Thanks and Regards, Akshat Saha [-- Attachment #2: Type: text/html, Size: 4097 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-02-05 13:34 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-02-03 11:54 Adding Packages Akshat Saha 2011-02-03 16:29 ` Darren Hart 2011-02-04 10:25 ` Akshat Saha 2011-02-04 12:24 ` Joshua Lock 2011-02-04 19:04 ` Darren Hart 2011-02-05 13:33 ` Akshat Saha
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.