|
From: | Stuart Hughes |
Subject: | [Ltib] pkg_map issues (was Re: (no subject)) |
Date: | Thu, 23 Aug 2012 09:13:11 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.28) Gecko/20120313 Lightning/1.0b2 Thunderbird/3.1.20 |
Hi Aaron,I just took a look at the code (I guess you mean from CVS?). The pkg_map override stuff is in the ltib script around line 3331. It says (for entries that are not in the main pkg_map):
# insert just before sysconfig (3rd from last) splice(@{$pcac->{mk_buildlist}}, -3, 0, $key);So I would expect that the order of your new packages is the order in your config/_platform_/pkg_map file. These will appear as the last packages in the build order before the sysconfig package.
If this is not the case, can you put in some debug and see if you can figure out what is going wrong. Try changing the order and see what happens. If this doesn't shed any light, then can you send your patches, or some subset test-case that the list can look at.
Regards, Stuart On 21/08/12 21:12, Aaron Wegner wrote:
Sorry for the no subject on that email, just forgot. Well, in my case I was using the per-platform pkg_map as you say in option "2/", where I was adding two new packages. They just weren't obeying the order I was used to working with the other pkg_map where I list the one I want to build first, so I was getting a little confused.Hi Aaron, You can user the per-platform pkg_map to 1/ Override the .spec file that will be built for a given package name. The idea is to allow you to build a different version than the stock package. 2/ You can add new packages: ones that are not already mentioned in the config/userspace/pkg_map. For these packages, you have control over the order. By design, you can't override the build order of the existing packages. These are supposed to be correct, or at least the best overall compromise. If you think the order of any packages are incorrect, then please let us know your thoughts. Regards, Stuart On 16/08/12 20:45, Aaron Wegner wrote:Hi Stuart, I know that I can use ltib/config/userspace/pkg_map to control the build order, and it might be something wrong in my configuration or I'm using an older LTIB (I don't think it's all that old), but I don't seem to be able to control the build order with the file config/platform/${platform}/pkg_map PKG_FIRST = first PKG_SECOND = second I have entries like the above, and second is getting build before first every time. Thanks, Aaron
[Prev in Thread] | Current Thread | [Next in Thread] |