* How to temporarily disable a package rebuild during an image build? @ 2014-01-29 20:09 Alex J Lennon 2014-01-30 18:40 ` Adam Lee 2014-02-02 20:40 ` Eric Bénard 0 siblings, 2 replies; 8+ messages in thread From: Alex J Lennon @ 2014-01-29 20:09 UTC (permalink / raw) To: yocto Hi, I was wondering if there's a per-package environment variable I could use to contrain the rebuilding of packages? i.e. I am modifying a linux-imx kernel, rebuilding that kernel package and then generating an output filesystem image to boot from an SD card for testing. Each time I modify linux-imx I am finding that qt4 does a rebuild. So whilst I'm making changes to linux-imx for test I'd rather that q4 didn't rebuild when I build the image, and was wondering if there's a way to prevent that? (I could, I suppose, move to a testing model that didn't use a completely rebuilt SD card image but I like this approach as if it works, well, it works, and I can distribute. Perhaps there's a better way?) Thanks, Alex ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to temporarily disable a package rebuild during an image build? 2014-01-29 20:09 How to temporarily disable a package rebuild during an image build? Alex J Lennon @ 2014-01-30 18:40 ` Adam Lee 2014-01-30 23:11 ` Alex J Lennon 2014-02-02 20:40 ` Eric Bénard 1 sibling, 1 reply; 8+ messages in thread From: Adam Lee @ 2014-01-30 18:40 UTC (permalink / raw) To: Alex J Lennon; +Cc: yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 1276 bytes --] I am not sure if that's the correct behaviour at all. If you are building the kernel, it should only build the kernel (and its deps). How are you building it? I suppose you are doing 'bitbake virtual/kernel', but just checking! Adam On Wed, Jan 29, 2014 at 12:09 PM, Alex J Lennon < ajlennon@dynamicdevices.co.uk> wrote: > Hi, > > I was wondering if there's a per-package environment variable I could > use to contrain the rebuilding of packages? > > i.e. I am modifying a linux-imx kernel, rebuilding that kernel package > and then generating an output filesystem image to boot from an SD card > for testing. > > Each time I modify linux-imx I am finding that qt4 does a rebuild. > > So whilst I'm making changes to linux-imx for test I'd rather that q4 > didn't rebuild when I build the image, and was wondering if there's a > way to prevent that? > > (I could, I suppose, move to a testing model that didn't use a > completely rebuilt SD card image but I like this approach as if it > works, well, it works, and I can distribute. Perhaps there's a better way?) > > Thanks, > > Alex > > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > [-- Attachment #2: Type: text/html, Size: 1828 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to temporarily disable a package rebuild during an image build? 2014-01-30 18:40 ` Adam Lee @ 2014-01-30 23:11 ` Alex J Lennon 2014-01-30 23:54 ` Adam Lee 0 siblings, 1 reply; 8+ messages in thread From: Alex J Lennon @ 2014-01-30 23:11 UTC (permalink / raw) To: Adam Lee; +Cc: yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 3314 bytes --] Hi Adam, On 30/01/2014 18:40, Adam Lee wrote: > I am not sure if that's the correct behaviour at all. If you are > building the kernel, it should only build the kernel (and its deps). > How are you building it? I suppose you are doing 'bitbake > virtual/kernel', but just checking! > I'm building an image for test, based on fsl-image-gui out of meta-fsl-arm. It looks like that fsl image pulls in qt4 - https://github.com/Freescale/meta-fsl-demos/blob/master/recipes-fsl/images/fsl-image-gui.bb I don't quite understand why qt4 is rebuilding but if I had to guess perhaps it's got a dependency on framebuffer support or something. I could probably go in and change the image recipes if I really had to, but I'd rather leave them as is, assuming correctness of dependencies, I'd rather change an environment variable during my debug cycle to temporarily contrain rebuilding of packages that I know don't need to be rebuilt, so things revert to "correct" when I'm finished porting the kernel Cheers, Alex > Adam > > > On Wed, Jan 29, 2014 at 12:09 PM, Alex J Lennon > <ajlennon@dynamicdevices.co.uk <mailto:ajlennon@dynamicdevices.co.uk>> > wrote: > > Hi, > > I was wondering if there's a per-package environment variable I could > use to contrain the rebuilding of packages? > > i.e. I am modifying a linux-imx kernel, rebuilding that kernel package > and then generating an output filesystem image to boot from an SD card > for testing. > > Each time I modify linux-imx I am finding that qt4 does a rebuild. > > So whilst I'm making changes to linux-imx for test I'd rather that q4 > didn't rebuild when I build the image, and was wondering if there's a > way to prevent that? > > (I could, I suppose, move to a testing model that didn't use a > completely rebuilt SD card image but I like this approach as if it > works, well, it works, and I can distribute. Perhaps there's a > better way?) > > Thanks, > > Alex > > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> > https://lists.yoctoproject.org/listinfo/yocto > > -- Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/> Alex J Lennon / Director 1 Queensway, Liverpool L22 4RA mobile: +44 (0)7956 668178 Linkedin <http://www.linkedin.com/in/alexjlennon> Skype <skype:alexjlennon?add> This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. Company Name is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company. [-- Attachment #2.1: Type: text/html, Size: 7047 bytes --] [-- Attachment #2.2: ddlogo-4.png --] [-- Type: image/png, Size: 3997 bytes --] [-- Attachment #2.3: linkedin.png --] [-- Type: image/png, Size: 631 bytes --] [-- Attachment #2.4: skype.png --] [-- Type: image/png, Size: 800 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to temporarily disable a package rebuild during an image build? 2014-01-30 23:11 ` Alex J Lennon @ 2014-01-30 23:54 ` Adam Lee 2014-01-31 0:00 ` Alex J Lennon 0 siblings, 1 reply; 8+ messages in thread From: Adam Lee @ 2014-01-30 23:54 UTC (permalink / raw) To: Alex J Lennon; +Cc: yocto@yoctoproject.org [-- Attachment #1.1: Type: text/plain, Size: 3653 bytes --] Hi Alex, so are you bitbaking the entire image every time you make a change to the kernel (The .bb file you linked is the image recipe)? If you only build the kernel (ie bitbake virtual/kernel), your system shouldn't build the entire image. Let me know! Adam On Thu, Jan 30, 2014 at 3:11 PM, Alex J Lennon < ajlennon@dynamicdevices.co.uk> wrote: > Hi Adam, > > > On 30/01/2014 18:40, Adam Lee wrote: > > I am not sure if that's the correct behaviour at all. If you are building > the kernel, it should only build the kernel (and its deps). > How are you building it? I suppose you are doing 'bitbake virtual/kernel', > but just checking! > > > I'm building an image for test, based on fsl-image-gui out of > meta-fsl-arm. > > It looks like that fsl image pulls in qt4 - > > > https://github.com/Freescale/meta-fsl-demos/blob/master/recipes-fsl/images/fsl-image-gui.bb > > I don't quite understand why qt4 is rebuilding but if I had to guess > perhaps it's got a dependency on framebuffer support or something. > > I could probably go in and change the image recipes if I really had to, > but I'd rather leave them as is, assuming correctness of dependencies, > I'd rather change an environment variable during my debug cycle to > temporarily contrain rebuilding of packages that I know don't need to > be rebuilt, so things revert to "correct" when I'm finished porting the > kernel > > Cheers, > > Alex > > > > Adam > > > On Wed, Jan 29, 2014 at 12:09 PM, Alex J Lennon < > ajlennon@dynamicdevices.co.uk> wrote: > >> Hi, >> >> I was wondering if there's a per-package environment variable I could >> use to contrain the rebuilding of packages? >> >> i.e. I am modifying a linux-imx kernel, rebuilding that kernel package >> and then generating an output filesystem image to boot from an SD card >> for testing. >> >> Each time I modify linux-imx I am finding that qt4 does a rebuild. >> >> So whilst I'm making changes to linux-imx for test I'd rather that q4 >> didn't rebuild when I build the image, and was wondering if there's a >> way to prevent that? >> >> (I could, I suppose, move to a testing model that didn't use a >> completely rebuilt SD card image but I like this approach as if it >> works, well, it works, and I can distribute. Perhaps there's a better >> way?) >> >> Thanks, >> >> Alex >> >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >> > > > -- > > [image: Dynamic Devices Ltd] <http://www.dynamicdevices.co.uk/> > > Alex J Lennon / Director > 1 Queensway, Liverpool L22 4RA > > mobile: +44 (0)7956 668178 > > [image: Linkedin] <http://www.linkedin.com/in/alexjlennon> [image: Skype] > > This e-mail message may contain confidential or legally privileged > information and is intended only for the use of the intended recipient(s). > Any unauthorized disclosure, dissemination, distribution, copying or the > taking of any action in reliance on the information herein is prohibited. > E-mails are not secure and cannot be guaranteed to be error free as they > can be intercepted, amended, or contain viruses. Anyone who communicates > with us by e-mail is deemed to have accepted these risks. Company Name is > not responsible for errors or omissions in this message and denies any > responsibility for any damage arising from the use of e-mail. Any opinion > and other statement contained in this message and any attachment are solely > those of the author and do not necessarily represent those of the company. > [-- Attachment #1.2: Type: text/html, Size: 6994 bytes --] [-- Attachment #2: linkedin.png --] [-- Type: image/png, Size: 631 bytes --] [-- Attachment #3: skype.png --] [-- Type: image/png, Size: 800 bytes --] [-- Attachment #4: ddlogo-4.png --] [-- Type: image/png, Size: 3997 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to temporarily disable a package rebuild during an image build? 2014-01-30 23:54 ` Adam Lee @ 2014-01-31 0:00 ` Alex J Lennon 2014-01-31 0:22 ` Adam Lee 0 siblings, 1 reply; 8+ messages in thread From: Alex J Lennon @ 2014-01-31 0:00 UTC (permalink / raw) To: Adam Lee; +Cc: yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 5692 bytes --] On 30/01/2014 23:54, Adam Lee wrote: > Hi Alex, so are you bitbaking the entire image every time you make a > change to the kernel (The .bb file you linked is the image recipe)? > If you only build the kernel (ie bitbake virtual/kernel), your system > shouldn't build the entire image. > > Let me know! > That's exactly right Adam. I'm bitbaking an SD card image, writing that to a uSD card and booting it up :) In theory that should result in the kernel rebuild and a nice image for me to use. In actuality numbers of other things seem to decide they need to be rebuilt, which doesn't appear to be too much of a time-sink, excepting for QT4 > Adam > > > On Thu, Jan 30, 2014 at 3:11 PM, Alex J Lennon > <ajlennon@dynamicdevices.co.uk <mailto:ajlennon@dynamicdevices.co.uk>> > wrote: > > Hi Adam, > > > On 30/01/2014 18:40, Adam Lee wrote: >> I am not sure if that's the correct behaviour at all. If you are >> building the kernel, it should only build the kernel (and its deps). >> How are you building it? I suppose you are doing 'bitbake >> virtual/kernel', but just checking! >> > > I'm building an image for test, based on fsl-image-gui out of > meta-fsl-arm. > > It looks like that fsl image pulls in qt4 - > > https://github.com/Freescale/meta-fsl-demos/blob/master/recipes-fsl/images/fsl-image-gui.bb > > I don't quite understand why qt4 is rebuilding but if I had to > guess perhaps it's got a dependency on framebuffer support or > something. > > I could probably go in and change the image recipes if I really > had to, but I'd rather leave them as is, assuming correctness of > dependencies, > I'd rather change an environment variable during my debug cycle to > temporarily contrain rebuilding of packages that I know don't need to > be rebuilt, so things revert to "correct" when I'm finished > porting the kernel > > Cheers, > > Alex > > > >> Adam >> >> >> On Wed, Jan 29, 2014 at 12:09 PM, Alex J Lennon >> <ajlennon@dynamicdevices.co.uk >> <mailto:ajlennon@dynamicdevices.co.uk>> wrote: >> >> Hi, >> >> I was wondering if there's a per-package environment variable >> I could >> use to contrain the rebuilding of packages? >> >> i.e. I am modifying a linux-imx kernel, rebuilding that >> kernel package >> and then generating an output filesystem image to boot from >> an SD card >> for testing. >> >> Each time I modify linux-imx I am finding that qt4 does a >> rebuild. >> >> So whilst I'm making changes to linux-imx for test I'd rather >> that q4 >> didn't rebuild when I build the image, and was wondering if >> there's a >> way to prevent that? >> >> (I could, I suppose, move to a testing model that didn't use a >> completely rebuilt SD card image but I like this approach as >> if it >> works, well, it works, and I can distribute. Perhaps there's >> a better way?) >> >> Thanks, >> >> Alex >> >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> >> https://lists.yoctoproject.org/listinfo/yocto >> >> > > -- > > Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/> > > Alex J Lennon / Director > 1 Queensway, Liverpool L22 4RA > > mobile: +44 (0)7956 668178 <tel:%2B44%20%280%297956%20668178> > > Linkedin <http://www.linkedin.com/in/alexjlennon> Skype > > This e-mail message may contain confidential or legally privileged > information and is intended only for the use of the intended > recipient(s). Any unauthorized disclosure, dissemination, > distribution, copying or the taking of any action in reliance on > the information herein is prohibited. E-mails are not secure and > cannot be guaranteed to be error free as they can be intercepted, > amended, or contain viruses. Anyone who communicates with us by > e-mail is deemed to have accepted these risks. Company Name is not > responsible for errors or omissions in this message and denies any > responsibility for any damage arising from the use of e-mail. Any > opinion and other statement contained in this message and any > attachment are solely those of the author and do not necessarily > represent those of the company. > > -- Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/> Alex J Lennon / Director 1 Queensway, Liverpool L22 4RA mobile: +44 (0)7956 668178 Linkedin <http://www.linkedin.com/in/alexjlennon> Skype <skype:alexjlennon?add> This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. Company Name is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company. [-- Attachment #2.1: Type: text/html, Size: 13620 bytes --] [-- Attachment #2.2: Type: image/png, Size: 3997 bytes --] [-- Attachment #2.3: Type: image/png, Size: 631 bytes --] [-- Attachment #2.4: Type: image/png, Size: 800 bytes --] [-- Attachment #2.5: ddlogo-4.png --] [-- Type: image/png, Size: 3997 bytes --] [-- Attachment #2.6: linkedin.png --] [-- Type: image/png, Size: 631 bytes --] [-- Attachment #2.7: skype.png --] [-- Type: image/png, Size: 800 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to temporarily disable a package rebuild during an image build? 2014-01-31 0:00 ` Alex J Lennon @ 2014-01-31 0:22 ` Adam Lee 2014-01-31 14:50 ` Alex J Lennon 0 siblings, 1 reply; 8+ messages in thread From: Adam Lee @ 2014-01-31 0:22 UTC (permalink / raw) To: Alex J Lennon; +Cc: yocto@yoctoproject.org [-- Attachment #1.1: Type: text/plain, Size: 5638 bytes --] I see. Why not just build the kernel image (uImage) and copy the file over to your /boot partition? That way you don't have to build and as well as write an entire image to ur card, saving you some time. On Thu, Jan 30, 2014 at 4:00 PM, Alex J Lennon < ajlennon@dynamicdevices.co.uk> wrote: > > On 30/01/2014 23:54, Adam Lee wrote: > > Hi Alex, so are you bitbaking the entire image every time you make a > change to the kernel (The .bb file you linked is the image recipe)? > If you only build the kernel (ie bitbake virtual/kernel), your system > shouldn't build the entire image. > > Let me know! > > > That's exactly right Adam. I'm bitbaking an SD card image, writing that to > a uSD card and booting it up :) > > In theory that should result in the kernel rebuild and a nice image for me > to use. > > In actuality numbers of other things seem to decide they need to be > rebuilt, which doesn't appear to be too much of a time-sink, > excepting for QT4 > > > Adam > > > On Thu, Jan 30, 2014 at 3:11 PM, Alex J Lennon < > ajlennon@dynamicdevices.co.uk> wrote: > >> Hi Adam, >> >> >> On 30/01/2014 18:40, Adam Lee wrote: >> >> I am not sure if that's the correct behaviour at all. If you are building >> the kernel, it should only build the kernel (and its deps). >> How are you building it? I suppose you are doing 'bitbake >> virtual/kernel', but just checking! >> >> >> I'm building an image for test, based on fsl-image-gui out of >> meta-fsl-arm. >> >> It looks like that fsl image pulls in qt4 - >> >> >> https://github.com/Freescale/meta-fsl-demos/blob/master/recipes-fsl/images/fsl-image-gui.bb >> >> I don't quite understand why qt4 is rebuilding but if I had to guess >> perhaps it's got a dependency on framebuffer support or something. >> >> I could probably go in and change the image recipes if I really had to, >> but I'd rather leave them as is, assuming correctness of dependencies, >> I'd rather change an environment variable during my debug cycle to >> temporarily contrain rebuilding of packages that I know don't need to >> be rebuilt, so things revert to "correct" when I'm finished porting the >> kernel >> >> Cheers, >> >> Alex >> >> >> >> Adam >> >> >> On Wed, Jan 29, 2014 at 12:09 PM, Alex J Lennon < >> ajlennon@dynamicdevices.co.uk> wrote: >> >>> Hi, >>> >>> I was wondering if there's a per-package environment variable I could >>> use to contrain the rebuilding of packages? >>> >>> i.e. I am modifying a linux-imx kernel, rebuilding that kernel package >>> and then generating an output filesystem image to boot from an SD card >>> for testing. >>> >>> Each time I modify linux-imx I am finding that qt4 does a rebuild. >>> >>> So whilst I'm making changes to linux-imx for test I'd rather that q4 >>> didn't rebuild when I build the image, and was wondering if there's a >>> way to prevent that? >>> >>> (I could, I suppose, move to a testing model that didn't use a >>> completely rebuilt SD card image but I like this approach as if it >>> works, well, it works, and I can distribute. Perhaps there's a better >>> way?) >>> >>> Thanks, >>> >>> Alex >>> >>> _______________________________________________ >>> yocto mailing list >>> yocto@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/yocto >>> >> >> >> -- >> >> [image: Dynamic Devices Ltd] <http://www.dynamicdevices.co.uk/> >> >> Alex J Lennon / Director >> 1 Queensway, Liverpool L22 4RA >> >> mobile: +44 (0)7956 668178 <%2B44%20%280%297956%20668178> >> >> [image: Linkedin] <http://www.linkedin.com/in/alexjlennon> [image: >> Skype] >> >> This e-mail message may contain confidential or legally privileged >> information and is intended only for the use of the intended recipient(s). >> Any unauthorized disclosure, dissemination, distribution, copying or the >> taking of any action in reliance on the information herein is prohibited. >> E-mails are not secure and cannot be guaranteed to be error free as they >> can be intercepted, amended, or contain viruses. Anyone who communicates >> with us by e-mail is deemed to have accepted these risks. Company Name is >> not responsible for errors or omissions in this message and denies any >> responsibility for any damage arising from the use of e-mail. Any opinion >> and other statement contained in this message and any attachment are solely >> those of the author and do not necessarily represent those of the company. >> > > > -- > > [image: Dynamic Devices Ltd] <http://www.dynamicdevices.co.uk/> > > Alex J Lennon / Director > 1 Queensway, Liverpool L22 4RA > > mobile: +44 (0)7956 668178 > > [image: Linkedin] <http://www.linkedin.com/in/alexjlennon> [image: Skype] > > This e-mail message may contain confidential or legally privileged > information and is intended only for the use of the intended recipient(s). > Any unauthorized disclosure, dissemination, distribution, copying or the > taking of any action in reliance on the information herein is prohibited. > E-mails are not secure and cannot be guaranteed to be error free as they > can be intercepted, amended, or contain viruses. Anyone who communicates > with us by e-mail is deemed to have accepted these risks. Company Name is > not responsible for errors or omissions in this message and denies any > responsibility for any damage arising from the use of e-mail. Any opinion > and other statement contained in this message and any attachment are solely > those of the author and do not necessarily represent those of the company. > [-- Attachment #1.2: Type: text/html, Size: 12615 bytes --] [-- Attachment #2: linkedin.png --] [-- Type: image/png, Size: 631 bytes --] [-- Attachment #3: ddlogo-4.png --] [-- Type: image/png, Size: 3997 bytes --] [-- Attachment #4: Type: image/png, Size: 3997 bytes --] [-- Attachment #5: skype.png --] [-- Type: image/png, Size: 800 bytes --] [-- Attachment #6: Type: image/png, Size: 800 bytes --] [-- Attachment #7: Type: image/png, Size: 631 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to temporarily disable a package rebuild during an image build? 2014-01-31 0:22 ` Adam Lee @ 2014-01-31 14:50 ` Alex J Lennon 0 siblings, 0 replies; 8+ messages in thread From: Alex J Lennon @ 2014-01-31 14:50 UTC (permalink / raw) To: Adam Lee; +Cc: yocto@yoctoproject.org [-- Attachment #1: Type: text/plain, Size: 8627 bytes --] On 31/01/2014 01:22, Adam Lee wrote: > I see. Why not just build the kernel image (uImage) and copy the file > over to your /boot partition? That way you don't have to build and as > well as write an entire image to ur card, saving you some time. > I'm sure you're right Adam. Historically I've run into trouble with building kernel images without the associated modules in the f/s but I may be over-thinking the problem there. Perhaps it's a non issue, or at least would be something I could work around. I also mistakenly assumed that the build system was doing something with the Freescale secret sauce to add bootstream headers to image files before dd'ing into magic offsets in the flash, but I see that with the wonders of u-boot it's a simple matter of loading the uImage from the FAT partition. I do like to do a complete rebuild as things do break on and off and I like to keep an eye on that, but I think I will follow your advice and just build the kernel image for now :) Cheers, Alex > > > > On Thu, Jan 30, 2014 at 4:00 PM, Alex J Lennon > <ajlennon@dynamicdevices.co.uk <mailto:ajlennon@dynamicdevices.co.uk>> > wrote: > > > On 30/01/2014 23:54, Adam Lee wrote: >> Hi Alex, so are you bitbaking the entire image every time you >> make a change to the kernel (The .bb file you linked is the image >> recipe)? >> If you only build the kernel (ie bitbake virtual/kernel), your >> system shouldn't build the entire image. >> >> Let me know! >> > > That's exactly right Adam. I'm bitbaking an SD card image, writing > that to a uSD card and booting it up :) > > In theory that should result in the kernel rebuild and a nice > image for me to use. > > In actuality numbers of other things seem to decide they need to > be rebuilt, which doesn't appear to be too much of a time-sink, > excepting for QT4 > > >> Adam >> >> >> On Thu, Jan 30, 2014 at 3:11 PM, Alex J Lennon >> <ajlennon@dynamicdevices.co.uk >> <mailto:ajlennon@dynamicdevices.co.uk>> wrote: >> >> Hi Adam, >> >> >> On 30/01/2014 18:40, Adam Lee wrote: >>> I am not sure if that's the correct behaviour at all. If you >>> are building the kernel, it should only build the kernel >>> (and its deps). >>> How are you building it? I suppose you are doing 'bitbake >>> virtual/kernel', but just checking! >>> >> >> I'm building an image for test, based on fsl-image-gui out of >> meta-fsl-arm. >> >> It looks like that fsl image pulls in qt4 - >> >> https://github.com/Freescale/meta-fsl-demos/blob/master/recipes-fsl/images/fsl-image-gui.bb >> >> I don't quite understand why qt4 is rebuilding but if I had >> to guess perhaps it's got a dependency on framebuffer support >> or something. >> >> I could probably go in and change the image recipes if I >> really had to, but I'd rather leave them as is, assuming >> correctness of dependencies, >> I'd rather change an environment variable during my debug >> cycle to temporarily contrain rebuilding of packages that I >> know don't need to >> be rebuilt, so things revert to "correct" when I'm finished >> porting the kernel >> >> Cheers, >> >> Alex >> >> >> >>> Adam >>> >>> >>> On Wed, Jan 29, 2014 at 12:09 PM, Alex J Lennon >>> <ajlennon@dynamicdevices.co.uk >>> <mailto:ajlennon@dynamicdevices.co.uk>> wrote: >>> >>> Hi, >>> >>> I was wondering if there's a per-package environment >>> variable I could >>> use to contrain the rebuilding of packages? >>> >>> i.e. I am modifying a linux-imx kernel, rebuilding that >>> kernel package >>> and then generating an output filesystem image to boot >>> from an SD card >>> for testing. >>> >>> Each time I modify linux-imx I am finding that qt4 does >>> a rebuild. >>> >>> So whilst I'm making changes to linux-imx for test I'd >>> rather that q4 >>> didn't rebuild when I build the image, and was wondering >>> if there's a >>> way to prevent that? >>> >>> (I could, I suppose, move to a testing model that didn't >>> use a >>> completely rebuilt SD card image but I like this >>> approach as if it >>> works, well, it works, and I can distribute. Perhaps >>> there's a better way?) >>> >>> Thanks, >>> >>> Alex >>> >>> _______________________________________________ >>> yocto mailing list >>> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> >>> https://lists.yoctoproject.org/listinfo/yocto >>> >>> >> >> -- >> >> Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/> >> >> Alex J Lennon / Director >> 1 Queensway, Liverpool L22 4RA >> >> mobile: +44 (0)7956 668178 <tel:%2B44%20%280%297956%20668178> >> >> Linkedin <http://www.linkedin.com/in/alexjlennon> Skype >> >> This e-mail message may contain confidential or legally >> privileged information and is intended only for the use of >> the intended recipient(s). Any unauthorized disclosure, >> dissemination, distribution, copying or the taking of any >> action in reliance on the information herein is prohibited. >> E-mails are not secure and cannot be guaranteed to be error >> free as they can be intercepted, amended, or contain viruses. >> Anyone who communicates with us by e-mail is deemed to have >> accepted these risks. Company Name is not responsible for >> errors or omissions in this message and denies any >> responsibility for any damage arising from the use of e-mail. >> Any opinion and other statement contained in this message and >> any attachment are solely those of the author and do not >> necessarily represent those of the company. >> >> > > -- > > Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/> > > Alex J Lennon / Director > 1 Queensway, Liverpool L22 4RA > > mobile: +44 (0)7956 668178 <tel:%2B44%20%280%297956%20668178> > > Linkedin <http://www.linkedin.com/in/alexjlennon> Skype > > This e-mail message may contain confidential or legally privileged > information and is intended only for the use of the intended > recipient(s). Any unauthorized disclosure, dissemination, > distribution, copying or the taking of any action in reliance on > the information herein is prohibited. E-mails are not secure and > cannot be guaranteed to be error free as they can be intercepted, > amended, or contain viruses. Anyone who communicates with us by > e-mail is deemed to have accepted these risks. Company Name is not > responsible for errors or omissions in this message and denies any > responsibility for any damage arising from the use of e-mail. Any > opinion and other statement contained in this message and any > attachment are solely those of the author and do not necessarily > represent those of the company. > > -- Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/> Alex J Lennon / Director 1 Queensway, Liverpool L22 4RA mobile: +44 (0)7956 668178 Linkedin <http://www.linkedin.com/in/alexjlennon> Skype <skype:alexjlennon?add> This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. Company Name is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company. [-- Attachment #2.1: Type: text/html, Size: 23134 bytes --] [-- Attachment #2.2: Type: image/png, Size: 3997 bytes --] [-- Attachment #2.3: Type: image/png, Size: 631 bytes --] [-- Attachment #2.4: Type: image/png, Size: 800 bytes --] [-- Attachment #2.5: Type: image/png, Size: 3997 bytes --] [-- Attachment #2.6: Type: image/png, Size: 631 bytes --] [-- Attachment #2.7: Type: image/png, Size: 800 bytes --] [-- Attachment #2.8: ddlogo-4.png --] [-- Type: image/png, Size: 3997 bytes --] [-- Attachment #2.9: linkedin.png --] [-- Type: image/png, Size: 631 bytes --] [-- Attachment #2.10: skype.png --] [-- Type: image/png, Size: 800 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How to temporarily disable a package rebuild during an image build? 2014-01-29 20:09 How to temporarily disable a package rebuild during an image build? Alex J Lennon 2014-01-30 18:40 ` Adam Lee @ 2014-02-02 20:40 ` Eric Bénard 1 sibling, 0 replies; 8+ messages in thread From: Eric Bénard @ 2014-02-02 20:40 UTC (permalink / raw) To: yocto Hi Alex, Le Wed, 29 Jan 2014 20:09:37 +0000, Alex J Lennon <ajlennon@dynamicdevices.co.uk> a écrit : > I was wondering if there's a per-package environment variable I could > use to contrain the rebuilding of packages? > > i.e. I am modifying a linux-imx kernel, rebuilding that kernel package > and then generating an output filesystem image to boot from an SD card > for testing. > > Each time I modify linux-imx I am finding that qt4 does a rebuild. > > So whilst I'm making changes to linux-imx for test I'd rather that q4 > didn't rebuild when I build the image, and was wondering if there's a > way to prevent that? > that because of one of these bbappend : http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/recipes-qt/qt4/qt4-embedded_4.8.5.bbappend http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/tree/recipes-qt/qt4/qt4-x11-free_4.8.5.bbappend If you don't need opengl nor openvg in qt you can disable the options and remove the DEPENDS added in the bbappend. Eric ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-02-02 20:40 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-01-29 20:09 How to temporarily disable a package rebuild during an image build? Alex J Lennon 2014-01-30 18:40 ` Adam Lee 2014-01-30 23:11 ` Alex J Lennon 2014-01-30 23:54 ` Adam Lee 2014-01-31 0:00 ` Alex J Lennon 2014-01-31 0:22 ` Adam Lee 2014-01-31 14:50 ` Alex J Lennon 2014-02-02 20:40 ` Eric Bénard
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.