[OE-core] [PATCH 2/2] rootfs_rpm.bbclass: don't remove rpmlib when INC_RPM_IMAGE_GEN=1

Mark Hatle mark.hatle at windriver.com
Wed May 9 16:04:15 UTC 2012


On 5/9/12 10:54 AM, Marko Lindqvist wrote:
> On 9 May 2012 18:15, Mark Hatle<mark.hatle at windriver.com>  wrote:
>>>
>>>> On 5/9/12 3:50 AM, Koen Kooi wrote:
>>>>>
>>>>> What happens when I do a build, enable INC_RPM_IMAGE_GEN and do another
>>>>> build?
>>
>> Using the following:
>>
>> . ./oe-init-build-env build-test
>> <setup local.conf w/ rpm packaging and INC_RPM_IMAGE_GEN>
>> bitbake core-image-core
>> --- time passes, git pull pulls in changes ---
>> bitbake core-image-core
>
>   That's not the same sequence. You were supposed to make first build
> with INC_RPM_IMAGE_GEN unset, and set it for second build only.

If the value changes from one build to the next the behavior is undefined.  It 
will probably work, but it's not guaranteed.  (I'd need to look at the full 
implementation to verify that...)

--Mark

>
>   - ML
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core





More information about the Openembedded-core mailing list