All of lore.kernel.org
 help / color / mirror / Atom feed
* DEPLOY_DIR and package_stagefile_shell
@ 2011-10-19 21:39 George C. Huntington, III
  2011-10-20 20:55 ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: George C. Huntington, III @ 2011-10-19 21:39 UTC (permalink / raw)
  To: openembedded-devel

It appears that if you override DEPLOY_DIR to make the DEPLOY directory
outside of TMPDIR, then recipes that call package_stagefile_shell fail. the
sed magic in package_stagefile_shell assumes that the path will be in
TMPDIR.  Should the package_stagefile_shell be fixed, or should the recipes
that call it with ${DEPLOY_DIR_IMAGE} be changed.  the u-boot.inc and the
linux.inc have this problem.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEPLOY_DIR and package_stagefile_shell
  2011-10-19 21:39 DEPLOY_DIR and package_stagefile_shell George C. Huntington, III
@ 2011-10-20 20:55 ` Denys Dmytriyenko
  2011-10-20 21:11   ` George C. Huntington, III
  0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2011-10-20 20:55 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Oct 19, 2011 at 05:39:45PM -0400, George C. Huntington, III wrote:
> It appears that if you override DEPLOY_DIR to make the DEPLOY directory
> outside of TMPDIR, then recipes that call package_stagefile_shell fail. the
> sed magic in package_stagefile_shell assumes that the path will be in
> TMPDIR.  Should the package_stagefile_shell be fixed, or should the recipes
> that call it with ${DEPLOY_DIR_IMAGE} be changed.  the u-boot.inc and the
> linux.inc have this problem.

Well, it's an old issue - I first faced it over 3 years ago[1]. I had it 
"fixed" or worked around, by modifying the sed magic. Then it got broken again 
and there wasn't any good fixes available since then. That's the way packaged 
staging works, as pstage had to be relative to deploy dir, which both reside 
in TMPDIR by default.

At one point I even disabled packaged staging in Arago in order to allow 
re-defining DEPLOY_DIR, but later on it got mandated and I just gave in to not 
being able to move DEPLOY_DIR outside of TMPDIR. :)

Either way it's a moot point now with oe-core and shared state...

[1] http://thread.gmane.org/gmane.comp.handhelds.openembedded/19300

-- 
Denys



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEPLOY_DIR and package_stagefile_shell
  2011-10-20 20:55 ` Denys Dmytriyenko
@ 2011-10-20 21:11   ` George C. Huntington, III
  2011-10-20 23:07     ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: George C. Huntington, III @ 2011-10-20 21:11 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Oct 20, 2011 at 4:55 PM, Denys Dmytriyenko <denis@denix.org> wrote:

> On Wed, Oct 19, 2011 at 05:39:45PM -0400, George C. Huntington, III wrote:
> > It appears that if you override DEPLOY_DIR to make the DEPLOY directory
> > outside of TMPDIR, then recipes that call package_stagefile_shell fail.
> the
> > sed magic in package_stagefile_shell assumes that the path will be in
> > TMPDIR.  Should the package_stagefile_shell be fixed, or should the
> recipes
> > that call it with ${DEPLOY_DIR_IMAGE} be changed.  the u-boot.inc and the
> > linux.inc have this problem.
>
> Well, it's an old issue - I first faced it over 3 years ago[1]. I had it
> "fixed" or worked around, by modifying the sed magic. Then it got broken
> again
> and there wasn't any good fixes available since then. That's the way
> packaged
> staging works, as pstage had to be relative to deploy dir, which both
> reside
> in TMPDIR by default.
>
> At one point I even disabled packaged staging in Arago in order to allow
> re-defining DEPLOY_DIR, but later on it got mandated and I just gave in to
> not
> being able to move DEPLOY_DIR outside of TMPDIR. :)
>
> Either way it's a moot point now with oe-core and shared state...
>
> [1] http://thread.gmane.org/gmane.comp.handhelds.openembedded/19300
>
> --
> Denys
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

That kind of sucks for people who have to use the 2011.03-maintenance branch


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: DEPLOY_DIR and package_stagefile_shell
  2011-10-20 21:11   ` George C. Huntington, III
@ 2011-10-20 23:07     ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2011-10-20 23:07 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Oct 20, 2011 at 2:11 PM, George C. Huntington, III
<george.huntingtoniii@gmail.com> wrote:
> On Thu, Oct 20, 2011 at 4:55 PM, Denys Dmytriyenko <denis@denix.org> wrote:
>
>> On Wed, Oct 19, 2011 at 05:39:45PM -0400, George C. Huntington, III wrote:
>> > It appears that if you override DEPLOY_DIR to make the DEPLOY directory
>> > outside of TMPDIR, then recipes that call package_stagefile_shell fail.
>> the
>> > sed magic in package_stagefile_shell assumes that the path will be in
>> > TMPDIR.  Should the package_stagefile_shell be fixed, or should the
>> recipes
>> > that call it with ${DEPLOY_DIR_IMAGE} be changed.  the u-boot.inc and the
>> > linux.inc have this problem.
>>
>> Well, it's an old issue - I first faced it over 3 years ago[1]. I had it
>> "fixed" or worked around, by modifying the sed magic. Then it got broken
>> again
>> and there wasn't any good fixes available since then. That's the way
>> packaged
>> staging works, as pstage had to be relative to deploy dir, which both
>> reside
>> in TMPDIR by default.
>>
>> At one point I even disabled packaged staging in Arago in order to allow
>> re-defining DEPLOY_DIR, but later on it got mandated and I just gave in to
>> not
>> being able to move DEPLOY_DIR outside of TMPDIR. :)
>>
>> Either way it's a moot point now with oe-core and shared state...
>>
>> [1] http://thread.gmane.org/gmane.comp.handhelds.openembedded/19300
>>
>> --
>> Denys
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> That kind of sucks for people who have to use the 2011.03-maintenance branch

I understand but like any other software new features come in new
releases and this problem has been fixed
from design point of view so this could be your motivation to upgrade
to newer oe-core based release.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-20 23:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-19 21:39 DEPLOY_DIR and package_stagefile_shell George C. Huntington, III
2011-10-20 20:55 ` Denys Dmytriyenko
2011-10-20 21:11   ` George C. Huntington, III
2011-10-20 23:07     ` Khem Raj

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.