summaryrefslogtreecommitdiff
path: root/recipes-devtools/php/php_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/php/php_%.bbappend')
-rw-r--r--recipes-devtools/php/php_%.bbappend13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-devtools/php/php_%.bbappend b/recipes-devtools/php/php_%.bbappend
new file mode 100644
index 0000000..004c0f8
--- /dev/null
+++ b/recipes-devtools/php/php_%.bbappend
@@ -0,0 +1,13 @@
+SRC_URI_append_class-target += "file://php-fpm.conf.patch;patchdir=.. \
+ file://init.d.php-rpm.patch \
+ file://php-fpm.default \
+ "
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+do_install_append_class-target() {
+ install -d ${D}/${sysconfdir}/default
+ install -m 0644 ${WORKDIR}/php-fpm.default ${D}/${sysconfdir}/default/php-fpm
+}
+
+FILES_${PN}-fpm += "${sysconfdir}/default" \ No newline at end of file