Commit 35d8b73e authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

+php.ini

parent 003a5d41
upload_max_filesize = 200M
post_max_size = 200M
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append += " file://php.ini"
EXTRA_OECONF += "--enable-elphel \ EXTRA_OECONF += "--enable-elphel \
--with-curl=${STAGING_LIBDIR}/.. \ --with-curl=${STAGING_LIBDIR}/.. \
--with-readline=${STAGING_LIBDIR}/.. \ --with-readline=${STAGING_LIBDIR}/.. \
--with-config-file-path=${sysconfdir}/php \
" "
DEPENDS += " curl" DEPENDS += " curl"
...@@ -64,7 +68,9 @@ ELPHEL_PR = "${@version_update('${VPATH}','${VFILE}',2)}" ...@@ -64,7 +68,9 @@ ELPHEL_PR = "${@version_update('${VPATH}','${VFILE}',2)}"
FILES_${PN} += " /etc/*" FILES_${PN} += " /etc/*"
do_install_append(){ do_install_append(){
install -d ${D}/etc/elphel393/packages install -d ${D}/etc/elphel393/packages -d ${D}/etc/php
install -m 0644 ${WORKDIR}/php.ini ${D}/etc/php
echo "${ELPHEL_PE}.${ELPHEL_PV}.${ELPHEL_PR}" > ${D}/etc/elphel393/packages/apps-php-extension echo "${ELPHEL_PE}.${ELPHEL_PV}.${ELPHEL_PR}" > ${D}/etc/elphel393/packages/apps-php-extension
tar -czvf ${WORKDIR}/image.tar.gz -C ${WORKDIR}/image . tar -czvf ${WORKDIR}/image.tar.gz -C ${WORKDIR}/image .
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment