[OE-core] [PATCH 1/1] prelink: Uprev prelink to latest version (V2)

Mark Hatle mark.hatle at windriver.com
Sat Jun 25 04:36:09 UTC 2011


On 6/24/11 3:51 PM, Khem Raj wrote:
> On (24/06/11 14:42), Mark Hatle wrote:
>> The latest cross-prelink version tracks the prelink r190 SVN.
>>
>> Fix two minor issues as well.  If we remove the package, we would
>> unprelink the filesystem after the rm was finished.  This is
>> incorrect.. we need to do this prerm.
>>
>> Move the cron and cron configuration file to a new package split.
>> This item is not valid for most embedded users.
>>
>> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
>> ---
>>  .../prelink/prelink/prelink.default                |    2 +-
>>  meta/recipes-devtools/prelink/prelink_git.bb       |   25 +++++++++++++++++--
>>  2 files changed, 23 insertions(+), 4 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/prelink/prelink/prelink.default b/meta/recipes-devtools/prelink/prelink/prelink.default
>> index 901258e..d8802f8 100644
>> --- a/meta/recipes-devtools/prelink/prelink/prelink.default
>> +++ b/meta/recipes-devtools/prelink/prelink/prelink.default
>> @@ -2,7 +2,7 @@
>>  # or to yes to enable it.
>>  # (if you change this from yes to no prelink -ua
>>  # will be run next night to undo prelinking)
>> -PRELINKING=unknown
>> +PRELINKING=yes
>>  
> 
> this is a functionality change. Will it have system wide effects ?

If the user previously had the prelinker installed onto the target, and had the
cron system installed to run the daily scripts, and never bothered to configure
prelink before..  whenever the script ran it would undo any prelinking that had
occurred.

After the change, it's now optional to install the cron scripts.  If they are
installed, they default to -on- which means that if cron runs the script it will
attempt to update the prelinking on the system.

This does not affect the build-time prelinking in any way.  For many systems
there is no reason to have the prelinker on the target, it's only needed for
field upgrades.

So, I consider this an enhancement (splitting the script out to make it
optional), and a bug-fix -- enabling re-prelink functionality if the script is
installed -- vs the previous "un-prelink" being the default.

--Mark

> _______________________________________________
> 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