Skip to contentSkip to conversation

RFC: make do_install and do_deploy a PACKAGE_FUNC

DISCUSSION Koen Kooi 3 participants 5 messages May 5, 2007 – May 21, 2007

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

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

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?

regards,

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

iD8DBQFGPJ6pMkyGM64RGpERAs9xAKC7qGcvY8E9wGMsp/o/2MQO/pIMmACeKknh HcvgGS6egpiNlqq9Zx5eQO8=
=CUmR
-----END PGP SIGNATURE-----

author
#1 lore raw

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

Koen Kooi schreef:

Quoted 11 lines

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?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGTzrIMkyGM64RGpERAnN8AJ9NQh73txV4w4h4FyCp8+Zj95R7UQCcChwH ti0bnbez4K1Iqgbt+futJ4A=
=1Jkw
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 6 lines · Koen Kooi

Koen Kooi schreef:

Quoted 5 lines

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:

Quoted 8 lines
Quoted 6 lines

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?

Richard

#3 lore raw

Hello,

Quoted 7 lines · Richard Purdie

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?

Looks sane to me.

Leon.

author
#4 lore raw
In reply to Richard Purdie

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

Richard Purdie schreef:

Quoted 15 lines · Koen Kooi
Quoted 6 lines

Koen Kooi schreef:

Quoted 5 lines

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:

Quoted 7 lines
Quoted 6 lines

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?

Quoted 8 lines

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-----