Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
39055783
Commit
39055783
authored
Sep 09, 2016
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added .cgi, .fcgi to lighttpd conf
parent
3e59ee19
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
elphel-dev.bbclass
classes/elphel-dev.bbclass
+17
-1
lighttpd.conf
recipes-extended/lighttpd/files/lighttpd.conf
+1
-1
No files found.
classes/elphel-dev.bbclass
View file @
39055783
...
...
@@ -7,17 +7,33 @@ do_unpack(){
rm -rf ${S}
fi
ln -sf ${VPATH} ${S}
if [ -d ${VPATH}/sysroots ]; then
rm -rf ${VPATH}/sysroots
fi
ln -sf ${TOPDIR}/tmp/sysroots ${VPATH}/sysroots
if [ -d ${VPATH}/bitbake-logs ]; then
rm -rf ${VPATH}/bitbake-logs
fi
ln -sf ${WORKDIR}/temp ${VPATH}/bitbake-logs
}
ELPHEL393_USERADD = "eval ${FAKEROOTENV} PSEUDO_LOCALSTATEDIR=${STAGING_DIR_TARGET}${localstatedir}/pseudo ${STAGING_DIR_NATIVE}${bindir}/pseudo useradd --root ${STAGING_DIR_HOST}"
ELPHEL393_INSTALL = "install"
ELPHEL393_MKNOD = "mknod"
EXTRA_OEMAKE = " \
INSTALL=${ELPHEL393_INSTALL} \
MKNOD=${ELPHEL393_MKNOD} \
DESTDIR=${D} \
ELPHEL_KERNEL_DIR=${STAGING_KERNEL_DIR} \
STAGING_KERNEL_DIR=${STAGING_KERNEL_DIR} \
STAGING_DIR_HOST=${STAGING_DIR_HOST} \
USERADD='${ELPHEL393_USERADD}' \
REMOTE_USER=${REMOTE_USER} \
REMOTE_IP=${REMOTE_IP} \
"
do_install_append() {
oe_runmake ${EXTRA_OEMAKE} install
}
...
...
recipes-extended/lighttpd/files/lighttpd.conf
View file @
39055783
...
...
@@ -135,7 +135,7 @@ $HTTP["url"] =~ "\.pdf$" {
# which extensions should not be handle via static-file transfer
#
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
static
-
file
.
exclude
-
extensions
= (
".php"
,
".pl"
,
".fcgi"
,
".py"
)
static
-
file
.
exclude
-
extensions
= (
".php"
,
".pl"
,
".fcgi"
,
".py"
,
".cgi"
,
".fcgi"
)
######### Options that are good to be but not neccesary to be changed #######
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment