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
27b9ff39
Commit
27b9ff39
authored
May 16, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+init_elphel393.sh to images
parent
f93f0fa4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
init-elphel393_1.0.bb
recipes-core/init-elphel393/init-elphel393_1.0.bb
+15
-0
No files found.
recipes-core/init-elphel393/init-elphel393_1.0.bb
View file @
27b9ff39
...
@@ -14,6 +14,7 @@ PV = "${SRCDATE}"
...
@@ -14,6 +14,7 @@ PV = "${SRCDATE}"
PR = "r0"
PR = "r0"
SRC_URI = "file://init_elphel393 \
SRC_URI = "file://init_elphel393 \
file://init_elphel393.sh \
file://LICENSE \
file://LICENSE \
"
"
...
@@ -39,6 +40,20 @@ do_install_append() {
...
@@ -39,6 +40,20 @@ do_install_append() {
fi
fi
install -d ${D}${sysconfdir}/init.d
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/init_elphel393 ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/init_elphel393 ${D}${sysconfdir}/init.d
for RLOC in ${PRODUCTION_ROOT_LOCATION}; do
if [ ! -d ${DEPLOY_DIR_IMAGE}/${RLOC} ]; then
mkdir -p ${DEPLOY_DIR_IMAGE}/${RLOC}
fi
if [ -f ${S}init_elphel393.sh ]; then
if [ -f ${DEPLOY_DIR_IMAGE}/${RLOC}/init_elphel393.sh ]; then
rm ${DEPLOY_DIR_IMAGE}/${RLOC}/init_elphel393.sh
fi
cp ${S}init_elphel393.sh ${DEPLOY_DIR_IMAGE}/${RLOC}/init_elphel393.sh
else
echo "NOT 3 FOUND!"
fi
done
}
}
PACKAGES = " init-elphel393"
PACKAGES = " init-elphel393"
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