Skip to contentSkip to conversation

php: cleanup more places where php-fpm is creeping in

PATCH New Denys Dmytriyenko 1 participant 1 message Apr 17, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 php: cleanup more places where php-fpm is creeping in

From: Denys Dmytriyenko <[email protected]>

As php has started giving an error now:

ERROR: php-8.2.16-r0.arago1 do_package: php-fpm does not appear in package list, please add it

---
 meta-arago-distro/recipes-devtools/php/php_%.bbappend | 4 ++++
 1 file changed, 4 insertions(+)
meta-arago-distro/recipes-devtools/php/php_%.bbappend +4 -0
index 7db1f1cb..c2cca255 100644
@@ -11,10 +11,14 @@ SRC_URI:append:virtclass-native = " file://0001-php-native-Fix-host-contaminatio
 # Issue mentioned here: https://bugs.php.net/bug.php?id=60144
 
 EXTRA_OECONF:remove = "--enable-fpm"
+EXTRA_OECONF:append = " --disable-fpm"
 
 PACKAGES:remove = "${PN}-fpm"
 PACKAGES:remove = "${PN}-fpm-apache2"
 
+SYSTEMD_PACKAGES:remove = "${PN}-fpm"
+INITSCRIPT_PACKAGES:remove = "${PN}-fpm"
+
 do_install:prepend:pn-php() {
     # Add the below file even though we aren't going to use it.
     # do_install will complain and fail if this file isn't found.
Signature · 1 line
2.25.1