Joshua Lock : packaged-staging: post-process non-binary files to fix paths packages
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · git version control
Module: openembedded.git Branch: rpurdie/work-in-progress Commit: 5df536641049c5af6413e410aa20bb97880fe897 URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5df536641049c5af6413e410aa20bb97880fe897Author: Joshua Lock <[email protected]> Date: Wed Mar 31 11:22:02 2010 +0100
Quoted 7 lines
packaged-staging: post-process non-binary files to fix paths packages
Add tooling from Poky to scan packages and fix up paths in libtool files, we then build on this to further post-process native packages (native, cross, sdk) and fix up any references to the
STAGING_DIRin non-binary files.Signed-off-by Joshua Lock <[email protected]>
There's a lot more than just .la files that get these paths wrong. If you use the scan_cmd you set on native/etc for everything you can fix them all up.
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
Quoted 15 lines · Tom Rini
Quoted 14 lines · git version control
Module: openembedded.git Branch: rpurdie/work-in-progress Commit: 5df536641049c5af6413e410aa20bb97880fe897 URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5df536641049c5af6413e410aa20bb97880fe897Author: Joshua Lock <[email protected]> Date: Wed Mar 31 11:22:02 2010 +0100packaged-staging: post-process non-binary files to fix paths packages
Add tooling from Poky to scan packages and fix up paths in libtool files, we then build on this to further post-process native packages (native, cross, sdk) and fix up any references to the
STAGING_DIRin non-binary files.
Quoted 5 lines
Quoted 1 line
Signed-off-by Joshua Lock <[email protected]>There's a lot more than just .la files that get these paths wrong. If you use the
scan_cmdyou set on native/etc for everything you can fix them all up.
It scans everything for -native packages and just .la files for target packages. I'd argue that for target packages we're better off fixing the problems at source since the real target packages are probably also bust?
Cheers,
Richard
Quoted 18 lines · Richard Purdie
Quoted 17 lines · Tom Rini
Quoted 15 lines · git version control
Module: openembedded.git Branch: rpurdie/work-in-progress Commit: 5df536641049c5af6413e410aa20bb97880fe897 URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5df536641049c5af6413e410aa20bb97880fe897Author: Joshua Lock <[email protected]> Date: Wed Mar 31 11:22:02 2010 +0100packaged-staging: post-process non-binary files to fix paths packages
Add tooling from Poky to scan packages and fix up paths in libtool files, we then build on this to further post-process native packages (native, cross, sdk) and fix up any references to the
STAGING_DIRin non-binary files.Signed-off-by Joshua Lock <[email protected]>
Quoted 8 lines
Quoted 3 lines
There's a lot more than just .la files that get these paths wrong. If you use the
scan_cmdyou set on native/etc for everything you can fix them all up.It scans everything for -native packages and just .la files for target packages. I'd argue that for target packages we're better off fixing the problems at source since the real target packages are probably also bust?
Ah, hmm. It's possibly just the .la files on the target (which some of us would like to see die and I can't argue against), I hadn't really bothered to differentiate (and I don't think it's a noticeable time diff). Less logic also brings it closer to working for relocation of everything.
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
Quoted 10 lines · Tom Rini
Quoted 8 lines · Richard Purdie
Quoted 3 lines
There's a lot more than just .la files that get these paths wrong. If you use the
scan_cmdyou set on native/etc for everything you can fix them all up.It scans everything for -native packages and just .la files for target packages. I'd argue that for target packages we're better off fixing the problems at source since the real target packages are probably also bust?
Quoted 5 lines
Ah, hmm. It's possibly just the .la files on the target (which some of us would like to see die and I can't argue against), I hadn't really bothered to differentiate (and I don't think it's a noticeable time diff). Less logic also brings it closer to working for relocation of everything.
But at the cost our target packages are most likely buggy. We accept the .la files are a problem and there is a solution (libtool sysroot support) but we're not there yet.
I'd like to see the other problems addressed, not brushed under the carpet so to speak.
You can trivially make this work on all files in your local.conf/distro.conf anyway. I'd not like to see that the default.
Cheers,
Richard
Quoted 21 lines · Richard Purdie
Quoted 10 lines · Tom Rini
Quoted 8 lines · Richard Purdie
Quoted 3 lines
There's a lot more than just .la files that get these paths wrong. If you use the
scan_cmdyou set on native/etc for everything you can fix them all up.It scans everything for -native packages and just .la files for target packages. I'd argue that for target packages we're better off fixing the problems at source since the real target packages are probably also bust?
Quoted 5 lines
Ah, hmm. It's possibly just the .la files on the target (which some of us would like to see die and I can't argue against), I hadn't really bothered to differentiate (and I don't think it's a noticeable time diff). Less logic also brings it closer to working for relocation of everything.
But at the cost our target packages are most likely buggy. We accept the .la files are a problem and there is a solution (libtool sysroot support) but we're not there yet.
Quoted 5 lines
I'd like to see the other problems addressed, not brushed under the carpet so to speak.
You can trivially make this work on all files in your
local.conf/distro.confanyway. I'd not like to see that the default.
My worry is that we're missing something important. What level of relocation torture have you put this through? I'm thinking on if I can merge what you've got into my version easily enough to give it a workout over the weekend.
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation