ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Package upgrade procedure (DOCU)


From: Stuart Hughes
Subject: Re: [Ltib] Package upgrade procedure (DOCU)
Date: Fri, 11 Jun 2010 10:19:23 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Marten,

This is a valid reason to want to upgrade.  So please follow the steps
outlined in my earlier email.  If you get stuck, or it's not clear,
please send more email to the list.

To start with, try without any additional patches.  Once that's
building/working, look to see if any of the patches in the older spec
file are still relevant.

Regards, Stuart

Marten Lootsma wrote:
> Hello Stuart,
> 
> Thanks for the clarification.
> 
> The problems that we face (currenly working with LTIB with busybox 1.11)
> are bugs regarding PID's and cron. As I understood correctly it would be
> solved in busybox 1.16 (and not 1.15, which is included in the new LTIB
> for iMX35).
> 
> To examine if the bugfixes in busybox 1.16 are as we expect I would like
> to try it. Maybe there is a simpeler way to test it. But as I see
> busybox it quite integrated into the file system and therefore I thought
> it is usefull to upgrade it in LTIB instead of test it separete. Or do
> you have another suggestion?
> 
> Thanks,
> Marten
> 
> On 11 June 2010 11:00, Stuart Hughes <address@hidden
> <mailto:address@hidden>> wrote:
> 
>     Hi Marten,
> 
>     Unless you have a very good reason to upgrade a package, I would advise
>     against it.  If you do, you'll have to maintain it forever.
> 
>     If you do want to upgrade, you can follow the section in
>     http://ltib.org/documentation-LtibFaq#ref_89 as a guide (although this
>     is for new packages).   In your case:
> 
>     1. copy the old .spec file to a new name:
> 
>     cp dist/lfs-5.1/busybox.spec dist/lfs-5.1/busybox-1.16.spec
> 
>     2. Edit this and change the version number. It is your responsibility to
>     figure out if any of the patches are still needed and port them.
> 
>     3. Place the new source tarball in /opt/ltib/pkgs (or
>     /opt/freescale/pkg, depending on your baseline):
> 
>     4. Follow the FAQ information for single package building: e.g. ./ltib
>     -m prep busybox-1.16.spec  (scbuild, scdeploy etc).
> 
>     5.  When it seems to work, you can add an override so this is your new
>     default busybox for whichever platform you are working on.  To do this,
>     edit/create: config/platform/_your_target_/pkg_map, and add to it:
> 
>     PKG_BUSYBOX                      = busybox-1.16
> 
>     PS: Just to re-iterate, I advise against doing this unless there is a
>     very good reason to do so.
> 
>     Regards, Stuart
> 
> 
>     Marten Lootsma wrote:
>     > Hello,
>     >
>     > I'm a newbe on LTIB, and I have a rather basic question.
>     >
>     > What is the best way to upgrade a package? Particual in my situation I
>     > am using the LTIB from the iMX35 3DS board, in which would like to
>     > upgrade the included Busybox 1.15 to 1.16.
>     >
>     > I would be happy if you could give my any direction with best practice
>     > steps or where I can find documentation on that.
>     >
>     > Thanks you,
>     > Marten
>     >
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]