Skip to contentSkip to conversation

polkit: Remove authentication override as it is handled in OE-Core

PATCH In review Otavio Salvador 4 participants 6 messages Mar 8, 2013 – Mar 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 polkit: Remove authentication override as it is handled in OE-Core

OE-Core now handles the detection of authentication so we don't need to do it here. The bbappend file is kept to provide the upgrade path only, or the revision would go backwards.

---
 meta-oe/recipes-extended/polkit/polkit_0.104.bbappend | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
meta-oe/recipes-extended/polkit/polkit_0.104.bbappend +1 -8
index ea82e37..ceb2b6b 100644
@@ -1,8 +1 @@
-PRINC := "${@int(PRINC) + 4}"
-
-POLKITAUTH ??= "consolekit"
-
-PACKAGECONFIG += "${POLKITAUTH}"
-PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
-# there is no --enable/--disable option for consolekit and it's not picked by shlibs, so add it to RDEPENDS
-PACKAGECONFIG[consolekit] = ",,,consolekit"
+PRINC := "${@int(PRINC) + 5}"
Signature · 1 line
1.8.1
#1 lore raw
Quoted 22 lines · On Friday 08 March 2013 15:50:37 Otavio Salvador wrote:

OE-Core now handles the detection of authentication so we don't need to do it here. The bbappend file is kept to provide the upgrade path only, or the revision would go backwards.

---
 meta-oe/recipes-extended/polkit/polkit_0.104.bbappend | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
(quoted diff) +0 -0

b/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend index ea82e37..ceb2b6b 100644

meta-oe/recipes-extended/polkit/polkit_0.104.bbappend +0 -7
@@ -1,8 +1 @@
-PRINC := "${@int(PRINC) + 4}"
-
-POLKITAUTH ??= "consolekit"
-
-PACKAGECONFIG += "${POLKITAUTH}"
-PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
-# there is no --enable/--disable option for consolekit and it's not picked
Quoted 3 lines

by shlibs, so add it to RDEPENDS -PACKAGECONFIG[consolekit] = ",,,consolekit"
+PRINC := "${@int(PRINC) + 5}"

Can't we just bump PR in OE-Core?

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#2 lore raw
Quoted 20 lines · Paul Eggleton
Quoted 19 lines · On Friday 08 March 2013 15:50:37 Otavio Salvador wrote:

OE-Core now handles the detection of authentication so we don't need to do it here. The bbappend file is kept to provide the upgrade path only, or the revision would go backwards.

---
 meta-oe/recipes-extended/polkit/polkit_0.104.bbappend | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
(quoted diff) +0 -0

b/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend index ea82e37..ceb2b6b 100644

meta-oe/recipes-extended/polkit/polkit_0.104.bbappend +0 -4
@@ -1,8 +1 @@
-PRINC := "${@int(PRINC) + 4}"
-
-POLKITAUTH ??= "consolekit"
-
Quoted 8 lines
Quoted 6 lines
meta-oe/recipes-extended/polkit/polkit_0.104.bbappend +0 -3
-PACKAGECONFIG += "${POLKITAUTH}"
-PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
-# there is no --enable/--disable option for consolekit and it's not picked

by shlibs, so add it to RDEPENDS -PACKAGECONFIG[consolekit] = ",,,consolekit"
+PRINC := "${@int(PRINC) + 5}"

Can't we just bump PR in OE-Core?

we dont know which oe-core and meta-oe revisions are used together and this needs to be applied in both at the same time.. so no, we need to wait for PE/PV change in oe-core.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw
Quoted 30 lines · Martin Jansa
Quoted 20 lines · Paul Eggleton
Quoted 19 lines · On Friday 08 March 2013 15:50:37 Otavio Salvador wrote:

OE-Core now handles the detection of authentication so we don't need to do it here. The bbappend file is kept to provide the upgrade path only, or the revision would go backwards.

---
 meta-oe/recipes-extended/polkit/polkit_0.104.bbappend | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
(quoted diff) +0 -0

b/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend index ea82e37..ceb2b6b 100644

meta-oe/recipes-extended/polkit/polkit_0.104.bbappend +0 -4
@@ -1,8 +1 @@
-PRINC := "${@int(PRINC) + 4}"
-
-POLKITAUTH ??= "consolekit"
-
Quoted 8 lines
Quoted 6 lines
meta-oe/recipes-extended/polkit/polkit_0.104.bbappend +0 -3
-PACKAGECONFIG += "${POLKITAUTH}"
-PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
-# there is no --enable/--disable option for consolekit and it's not picked

by shlibs, so add it to RDEPENDS -PACKAGECONFIG[consolekit] = ",,,consolekit"
+PRINC := "${@int(PRINC) + 5}"

Can't we just bump PR in OE-Core?

Quoted 3 lines

we dont know which oe-core and meta-oe revisions are used together and this needs to be applied in both at the same time.. so no, we need to wait for PE/PV change in oe-core.

I agree with Martin here; we cannot know which version combination user is using so we cannot do that.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#4 lore raw
In reply to Martin Jansa
Quoted 32 lines · On Saturday 09 March 2013 07:30:59 Martin Jansa wrote:
Quoted 22 lines · Paul Eggleton
Quoted 21 lines · On Friday 08 March 2013 15:50:37 Otavio Salvador wrote:

OE-Core now handles the detection of authentication so we don't need to do it here. The bbappend file is kept to provide the upgrade path only, or the revision would go backwards.

---

 meta-oe/recipes-extended/polkit/polkit_0.104.bbappend | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
(quoted diff) +0 -0

b/meta-oe/recipes-extended/polkit/polkit_0.104.bbappend index ea82e37..ceb2b6b 100644

meta-oe/recipes-extended/polkit/polkit_0.104.bbappend +0 -5
@@ -1,8 +1 @@
-PRINC := "${@int(PRINC) + 4}"
-
-POLKITAUTH ??= "consolekit"
-
-PACKAGECONFIG += "${POLKITAUTH}"
Quoted 8 lines
Quoted 6 lines
meta-oe/recipes-extended/polkit/polkit_0.104.bbappend +0 -2
-PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
-# there is no --enable/--disable option for consolekit and it's not

picked
by shlibs, so add it to RDEPENDS -PACKAGECONFIG[consolekit] = ",,,consolekit"
+PRINC := "${@int(PRINC) + 5}"

Can't we just bump PR in OE-Core?

Quoted 3 lines

we dont know which oe-core and meta-oe revisions are used together and this needs to be applied in both at the same time.. so no, we need to wait for PE/PV change in oe-core.

I guess you're probably right. Yet another reason to never add any more bbappends to meta-oe.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#5 lore raw
Quoted 6 lines · Paul Eggleton
Quoted 3 lines

we dont know which oe-core and meta-oe revisions are used together and this needs to be applied in both at the same time.. so no, we need to wait for PE/PV change in oe-core.

I guess you're probably right. Yet another reason to never add any more bbappends to meta-oe.

For what it's worth I've got a series I'm about to submit to oe-core/meta-oe that removes polkit from oe-core and moves it to meta-oe, so this problem will just disappear then as we can bump PR in meta-oe.

(the background being that polkit is entirely optional, and new upstreams require a JS interpretter)

Ross