Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[meta-oe] devtools/php: remove the failing ${D}/${TMPDIR} code #292

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions meta-oe/recipes-devtools/php/php_7.4.9.bb
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ do_install_prepend_class-target() {
# fixme
do_install_append_class-target() {
install -d ${D}${sysconfdir}/
rm -rf ${D}/${TMPDIR}
rm -rf ${D}/.registry
rm -rf ${D}/.channels
rm -rf ${D}/.[a-z]*
Expand All @@ -179,14 +178,6 @@ do_install_append_class-target() {
${D}${systemd_unitdir}/system/php-fpm.service
fi

TMP=`dirname ${D}/${TMPDIR}`
while test ${TMP} != ${D}; do
if [ -d ${TMP} ]; then
rmdir ${TMP}
fi
TMP=`dirname ${TMP}`;
done

if ${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'true', 'false', d)}; then
install -d ${D}${sysconfdir}/apache2/modules.d
install -d ${D}${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION}
Expand Down