classes: Move package RDEPENDS processing out of debian.bbclass
A message that is not in the archive (sent off-list or not yet received): [email protected]
Jörg Sommer via lists.openembedded.org schrieb am Fr 04. Jul, 14:16 (+0200):
Quoted 8 lines
From: Sergei Zhmylev <[email protected]>
INHERIT_DIRSTOby default includes debian.bbclass which in turn properly establishes dependencies between package management tasks and build process. Debian class also unconditionally renames several packages in a Debian way. In order to allow disabling of such renaming rules, the logic of RDEPENDS handling is moved to a package.bbclass.
This commit also solves the SDK building issue without debian.bbclass.
Is this code in master still required or can it be removed?
```
bitbake/lib/bb/tests/runqueue-tests/classes/base.bbclass:100:DEBIANRDEP = "do_packagedata"
bitbake/lib/bb/tests/runqueue-tests/classes/base.bbclass:101:oo_package_write_ipk[rdeptask] = "${DEBIANRDEP}"
bitbake/lib/bb/tests/runqueue-tests/classes/base.bbclass:102:do_package_write_rpm[rdeptask] = "${DEBIANRDEP}"
```Signature · 6 lines
Navimatix GmbH T: 03641 - 327 99 0 Tatzendpromenade 2 F: 03641 - 526 306 07745 Jena www.navimatix.de Geschäftsführer: Steffen Späthe, Jan Rommeley Registergericht: Amtsgericht Jena, HRB 501480
Quoted 10 lines · Jörg Sommer
Jörg Sommer via lists.openembedded.org schrieb am Fr 04. Jul, 14:16 (+0200):
Quoted 8 lines
From: Sergei Zhmylev <[email protected]>
INHERIT_DIRSTOby default includes debian.bbclass which in turn properly establishes dependencies between package management tasks and build process. Debian class also unconditionally renames several packages in a Debian way. In order to allow disabling of such renaming rules, the logic of RDEPENDS handling is moved to a package.bbclass.
This commit also solves the SDK building issue without debian.bbclass.
Quoted 7 lines
Is this code in master still required or can it be removed?
``` bitbake/lib/bb/tests/runqueue-tests/classes/base.bbclass:100:DEBIANRDEP = "do_packagedata" bitbake/lib/bb/tests/runqueue-tests/classes/base.bbclass:101:oo_package_write_ipk[rdeptask] = "${DEBIANRDEP}" bitbake/lib/bb/tests/runqueue-tests/classes/base.bbclass:102:do_package_write_rpm[rdeptask] = "${DEBIANRDEP}" ```
That is in a bitbake test, specifically testing certani kinds of dependency so wouldn't we still need that? What makes you think it should be removed?
Cheers,
Richard
Richard Purdie schrieb am Fr 04. Jul, 14:39 (+0100):
Quoted 19 lines · Jörg Sommer
Quoted 10 lines
Jörg Sommer via lists.openembedded.org schrieb am Fr 04. Jul, 14:16 (+0200):
Quoted 8 lines
From: Sergei Zhmylev <[email protected]>
INHERIT_DIRSTOby default includes debian.bbclass which in turn properly establishes dependencies between package management tasks and build process. Debian class also unconditionally renames several packages in a Debian way. In order to allow disabling of such renaming rules, the logic of RDEPENDS handling is moved to a package.bbclass.
This commit also solves the SDK building issue without debian.bbclass.Quoted 7 lines
Is this code in master still required or can it be removed?
``` bitbake/lib/bb/tests/runqueue-tests/classes/base.bbclass:100:DEBIANRDEP = "do_packagedata" bitbake/lib/bb/tests/runqueue-tests/classes/base.bbclass:101:oo_package_write_ipk[rdeptask] = "${DEBIANRDEP}" bitbake/lib/bb/tests/runqueue-tests/classes/base.bbclass:102:do_package_write_rpm[rdeptask] = "${DEBIANRDEP}" ```
Quoted 3 lines
That is in a bitbake test, specifically testing certani kinds of dependency so wouldn't we still need that? What makes you think it should be removed?
It uses the variable name of the code before 251a5c88f6bcf347d637b39b8a86e8a083774986 and I suspected that it solved something similar as this commit. But I might be wrong. You know the code much better than me.
Regards, Jörg
Signature · 6 lines
Navimatix GmbH T: 03641 - 327 99 0 Tatzendpromenade 2 F: 03641 - 526 306 07745 Jena www.navimatix.de Geschäftsführer: Steffen Späthe, Jan Rommeley Registergericht: Amtsgericht Jena, HRB 501480