* Re: [oe-commits] Joshua Lock : relocatable: Class to post-process packages for relocatability
[not found] <E1NxKhE-0007AO-Bh@melo.openembedded.org>
@ 2010-04-01 22:07 ` Tom Rini
2010-04-02 7:40 ` Koen Kooi
0 siblings, 1 reply; 6+ messages in thread
From: Tom Rini @ 2010-04-01 22:07 UTC (permalink / raw)
To: openembedded-devel
On Thu, 2010-04-01 at 13:44 +0000, git version control wrote:
> Module: openembedded.git
> Branch: rpurdie/work-in-progress
> Commit: 2365530efff7681fa34b2a466cf5f78acac10274
> URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2365530efff7681fa34b2a466cf5f78acac10274
>
> Author: Joshua Lock <josh@linux.intel.com>
> Date: Wed Mar 31 11:41:58 2010 +0100
>
> relocatable: Class to post-process packages for relocatability
[snip]
> +def rpath_replace (path, d):
> + bindirs = bb.data.expand("${bindir} ${sbindir} ${base_sbindir} ${base_bindir} ${libdir} ${base_libdir} ${PREPROCESS_RELOCATE_DIRS}", d).split()
Is that last variable there to let recipes add non-standard locations to
the search path?
[snip]
> - required_utilities = "patch help2man diffstat texi2html
makeinfo cvs svn bzip2 tar gzip gawk md5sum"
> + required_utilities = "patch help2man diffstat texi2html
makeinfo cvs svn bzip2 tar gzip gawk md5sum chrpath"
How hard would it be to add a chrpath-native recipe and maybe treat this
like we used to treat qemu? Don't see it in yum on my rhel5 box.
Thanks.
--
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [oe-commits] Joshua Lock : relocatable: Class to post-process packages for relocatability
2010-04-01 22:07 ` [oe-commits] Joshua Lock : relocatable: Class to post-process packages for relocatability Tom Rini
@ 2010-04-02 7:40 ` Koen Kooi
2010-04-02 16:26 ` Tom Rini
2010-04-02 21:23 ` Richard Purdie
0 siblings, 2 replies; 6+ messages in thread
From: Koen Kooi @ 2010-04-02 7:40 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02-04-10 00:07, Tom Rini wrote:
> On Thu, 2010-04-01 at 13:44 +0000, git version control wrote:
>> Module: openembedded.git
>> Branch: rpurdie/work-in-progress
>> Commit: 2365530efff7681fa34b2a466cf5f78acac10274
>> URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2365530efff7681fa34b2a466cf5f78acac10274
>>
>> Author: Joshua Lock <josh@linux.intel.com>
>> Date: Wed Mar 31 11:41:58 2010 +0100
>>
>> relocatable: Class to post-process packages for relocatability
> [snip]
>> +def rpath_replace (path, d):
>> + bindirs = bb.data.expand("${bindir} ${sbindir} ${base_sbindir} ${base_bindir} ${libdir} ${base_libdir} ${PREPROCESS_RELOCATE_DIRS}", d).split()
>
> Is that last variable there to let recipes add non-standard locations to
> the search path?
>
> [snip]
>> - required_utilities = "patch help2man diffstat texi2html
> makeinfo cvs svn bzip2 tar gzip gawk md5sum"
>> + required_utilities = "patch help2man diffstat texi2html
> makeinfo cvs svn bzip2 tar gzip gawk md5sum chrpath"
>
> How hard would it be to add a chrpath-native recipe and maybe treat this
> like we used to treat qemu? Don't see it in yum on my rhel5 box.
> Thanks.
We already have that from our previous chrpath experiments :) See
recipes/chrpath
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLtZ9sMkyGM64RGpERAptOAJ9tPe40kbEGIn8YOcHfd8AqS+b0HgCeI0+s
4iPCr2JzhEwC9cjeJ9b/3lg=
=0C5K
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [oe-commits] Joshua Lock : relocatable: Class to post-process packages for relocatability
2010-04-02 7:40 ` Koen Kooi
@ 2010-04-02 16:26 ` Tom Rini
2010-05-03 23:49 ` Tom Rini
2010-04-02 21:23 ` Richard Purdie
1 sibling, 1 reply; 6+ messages in thread
From: Tom Rini @ 2010-04-02 16:26 UTC (permalink / raw)
To: openembedded-devel
On Fri, 2010-04-02 at 09:40 +0200, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 02-04-10 00:07, Tom Rini wrote:
> > On Thu, 2010-04-01 at 13:44 +0000, git version control wrote:
> >> Module: openembedded.git
> >> Branch: rpurdie/work-in-progress
> >> Commit: 2365530efff7681fa34b2a466cf5f78acac10274
> >> URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2365530efff7681fa34b2a466cf5f78acac10274
> >>
> >> Author: Joshua Lock <josh@linux.intel.com>
> >> Date: Wed Mar 31 11:41:58 2010 +0100
> >>
> >> relocatable: Class to post-process packages for relocatability
> > [snip]
> >> +def rpath_replace (path, d):
> >> + bindirs = bb.data.expand("${bindir} ${sbindir} ${base_sbindir} ${base_bindir} ${libdir} ${base_libdir} ${PREPROCESS_RELOCATE_DIRS}", d).split()
> >
> > Is that last variable there to let recipes add non-standard locations to
> > the search path?
> >
> > [snip]
> >> - required_utilities = "patch help2man diffstat texi2html
> > makeinfo cvs svn bzip2 tar gzip gawk md5sum"
> >> + required_utilities = "patch help2man diffstat texi2html
> > makeinfo cvs svn bzip2 tar gzip gawk md5sum chrpath"
> >
> > How hard would it be to add a chrpath-native recipe and maybe treat this
> > like we used to treat qemu? Don't see it in yum on my rhel5 box.
> > Thanks.
>
> We already have that from our previous chrpath experiments :) See
> recipes/chrpath
Great, lets rework to use that version.
--
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [oe-commits] Joshua Lock : relocatable: Class to post-process packages for relocatability
2010-04-02 7:40 ` Koen Kooi
2010-04-02 16:26 ` Tom Rini
@ 2010-04-02 21:23 ` Richard Purdie
2010-04-02 22:33 ` Tom Rini
1 sibling, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2010-04-02 21:23 UTC (permalink / raw)
To: openembedded-devel
On Fri, 2010-04-02 at 09:40 +0200, Koen Kooi wrote:
> On 02-04-10 00:07, Tom Rini wrote:
> > On Thu, 2010-04-01 at 13:44 +0000, git version control wrote:
> >> +def rpath_replace (path, d):
> >> + bindirs = bb.data.expand("${bindir} ${sbindir} ${base_sbindir} ${base_bindir} ${libdir} ${base_libdir} ${PREPROCESS_RELOCATE_DIRS}", d).split()
> >
> > Is that last variable there to let recipes add non-standard locations to
> > the search path?
Yes, as long as all users append to it, it will work like that and that
use makes sense.
> > [snip]
> >> - required_utilities = "patch help2man diffstat texi2html
> > makeinfo cvs svn bzip2 tar gzip gawk md5sum"
> >> + required_utilities = "patch help2man diffstat texi2html
> > makeinfo cvs svn bzip2 tar gzip gawk md5sum chrpath"
> >
> > How hard would it be to add a chrpath-native recipe and maybe treat this
> > like we used to treat qemu? Don't see it in yum on my rhel5 box.
> > Thanks.
>
> We already have that from our previous chrpath experiments :) See
> recipes/chrpath
As does Poky. The tricky bit isn't the recipes, its the dependencies and
making sure we don't end up with any binaries that haven't had the
relocation treatment.
Cheers,
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [oe-commits] Joshua Lock : relocatable: Class to post-process packages for relocatability
2010-04-02 21:23 ` Richard Purdie
@ 2010-04-02 22:33 ` Tom Rini
0 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2010-04-02 22:33 UTC (permalink / raw)
To: openembedded-devel
On Fri, 2010-04-02 at 22:23 +0100, Richard Purdie wrote:
> On Fri, 2010-04-02 at 09:40 +0200, Koen Kooi wrote:
> > On 02-04-10 00:07, Tom Rini wrote:
> > > On Thu, 2010-04-01 at 13:44 +0000, git version control wrote:
> > > [snip]
> > >> - required_utilities = "patch help2man diffstat texi2html
> > > makeinfo cvs svn bzip2 tar gzip gawk md5sum"
> > >> + required_utilities = "patch help2man diffstat texi2html
> > > makeinfo cvs svn bzip2 tar gzip gawk md5sum chrpath"
> > >
> > > How hard would it be to add a chrpath-native recipe and maybe treat this
> > > like we used to treat qemu? Don't see it in yum on my rhel5 box.
> > > Thanks.
> >
> > We already have that from our previous chrpath experiments :) See
> > recipes/chrpath
>
> As does Poky. The tricky bit isn't the recipes, its the dependencies and
> making sure we don't end up with any binaries that haven't had the
> relocation treatment.
That... is a problem, yeah.
--
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [oe-commits] Joshua Lock : relocatable: Class to post-process packages for relocatability
2010-04-02 16:26 ` Tom Rini
@ 2010-05-03 23:49 ` Tom Rini
0 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2010-05-03 23:49 UTC (permalink / raw)
To: openembedded-devel
On Fri, 2010-04-02 at 09:26 -0700, Tom Rini wrote:
> On Fri, 2010-04-02 at 09:40 +0200, Koen Kooi wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 02-04-10 00:07, Tom Rini wrote:
> > > On Thu, 2010-04-01 at 13:44 +0000, git version control wrote:
> > >> Module: openembedded.git
> > >> Branch: rpurdie/work-in-progress
> > >> Commit: 2365530efff7681fa34b2a466cf5f78acac10274
> > >> URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2365530efff7681fa34b2a466cf5f78acac10274
> > >>
> > >> Author: Joshua Lock <josh@linux.intel.com>
> > >> Date: Wed Mar 31 11:41:58 2010 +0100
> > >>
> > >> relocatable: Class to post-process packages for relocatability
> > > [snip]
> > >> +def rpath_replace (path, d):
> > >> + bindirs = bb.data.expand("${bindir} ${sbindir} ${base_sbindir} ${base_bindir} ${libdir} ${base_libdir} ${PREPROCESS_RELOCATE_DIRS}", d).split()
> > >
> > > Is that last variable there to let recipes add non-standard locations to
> > > the search path?
> > >
> > > [snip]
> > >> - required_utilities = "patch help2man diffstat texi2html
> > > makeinfo cvs svn bzip2 tar gzip gawk md5sum"
> > >> + required_utilities = "patch help2man diffstat texi2html
> > > makeinfo cvs svn bzip2 tar gzip gawk md5sum chrpath"
> > >
> > > How hard would it be to add a chrpath-native recipe and maybe treat this
> > > like we used to treat qemu? Don't see it in yum on my rhel5 box.
> > > Thanks.
> >
> > We already have that from our previous chrpath experiments :) See
> > recipes/chrpath
>
> Great, lets rework to use that version.
Did anything happen here? I don't see it on the test branch and I'm
asking because things like RHEL don't easily have chrpath available.
--
Tom Rini <tom_rini@mentor.com>
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-05-03 23:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1NxKhE-0007AO-Bh@melo.openembedded.org>
2010-04-01 22:07 ` [oe-commits] Joshua Lock : relocatable: Class to post-process packages for relocatability Tom Rini
2010-04-02 7:40 ` Koen Kooi
2010-04-02 16:26 ` Tom Rini
2010-05-03 23:49 ` Tom Rini
2010-04-02 21:23 ` Richard Purdie
2010-04-02 22:33 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.