[oe] RFC: make do_install and do_deploy a PACKAGE_FUNC

Koen Kooi koen at dominion.kabel.utwente.nl
Mon May 21 07:56:09 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Purdie schreef:
> On Sat, 2007-05-19 at 19:58 +0200, Koen Kooi wrote:
>> Koen Kooi schreef:
>>> Hi,
>>>
>>> Lately there have been several problems with files not getting packaged, because users
>>> resumed builds after a failure. Richard has come up with a fix:
>>>
>>> http://www.rpsys.net/openzaurus/temp/oe-install-change.patch
>>>
>>> The only bug with that patch is that do_deploy fails, which can be solved by making that a
>>>  PACKAGE_FUNC as well.
>>>
>>> What do you think about that?
>> So this is bugfree and can go in immediately?
> 
> I'm in two minds about this.
> 
> An alternative is we stop populate_packages() moving files around,
> copying them instead. This means deploy can run after install, install
> can be a separate task and builds should continue where they left of if
> interrupted during the packaging phase.
> 
> Opinions?

The copy-don't-move approach sounds good.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGUVCZMkyGM64RGpERAoEMAJ4rFonlztzdou+L5L79M1Rk1hzn8gCePSjP
qXJHJlIfgDOSd+SkD1Bei1c=
=mo1f
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list