Skip to contentSkip to conversation

php: allow php as empty

PATCH In review Changqing Li 2 participants 2 messages Mar 11, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 php: allow php as empty

From: Changqing Li <[email protected]>

Since commit c4ffcaa2[php: split out phpdbg into a separate package], package php is empty, we might met error:
nothing provides php needed by php-cli-7.4.9-r0.corei7_64

---
 meta-oe/recipes-devtools/php/php_7.4.9.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/php/php_7.4.9.bb +2 -0
index f8a8755b9..e19d5dd21 100644
@@ -214,6 +214,8 @@ RDEPENDS_${PN}-cli = "${PN}"
 RDEPENDS_${PN}-modphp = "${PN} apache2"
 RDEPENDS_${PN}-opcache = "${PN}"
 
+ALLOW_EMPTY_${PN} = "1"
+
 INITSCRIPT_PACKAGES = "${PN}-fpm"
 inherit update-rc.d
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 25 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Changqing Li via lists.openembedded.org
Sent: 11 March 2021 01:56
To: [email protected]
Subject: [oe] [PATCH] php: allow php as empty

From: Changqing Li <[email protected]>

Since commit c4ffcaa2[php: split out phpdbg into a separate package], package php is empty, we might met error:
nothing provides php needed by php-cli-7.4.9-r0.corei7_64

---
 meta-oe/recipes-devtools/php/php_7.4.9.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes- renamed from meta-oe/recipes-devtools/php/php_7.4.9.bb +0 -0

devtools/php/php_7.4.9.bb
index f8a8755b9..e19d5dd21 100644

meta-oe/recipes-devtools/php/php_7.4.9.bb RDEPENDS_${PN}-cli = "${PN}" · line 221

Quoted 8 lines
meta-oe/recipes-devtools/php/php_7.4.9.bb +2 -0
@@ -214,6 +214,8 @@ RDEPENDS_${PN}-cli = "${PN}"
 RDEPENDS_${PN}-modphp = "${PN} apache2"
 RDEPENDS_${PN}-opcache = "${PN}"
 
+ALLOW_EMPTY_${PN} = "1"
+
 INITSCRIPT_PACKAGES = "${PN}-fpm"
 inherit update-rc.d
 

LGTM

Signature · 3 lines
Diego Santa Cruz, PhD
Technology Architect
spinetix.com