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
0cea9b9b
Commit
0cea9b9b
authored
Oct 25, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moving network setup to network/interfaces
parent
5d60d2dd
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
5 deletions
+14
-5
elphel-dev.bbclass
classes/elphel-dev.bbclass
+5
-0
init-elphel393_1.0.bb
recipes-core/init-elphel393/init-elphel393_1.0.bb
+3
-3
interfaces
recipes-core/init-ifupdown/files/interfaces
+1
-1
init-ifupdown_1.0.bbappend
recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend
+4
-0
init_1.0.bb
recipes-core/init/init_1.0.bb
+1
-1
No files found.
classes/elphel-dev.bbclass
View file @
0cea9b9b
...
@@ -35,6 +35,9 @@ ELPHEL393_MKNOD = "mknod"
...
@@ -35,6 +35,9 @@ ELPHEL393_MKNOD = "mknod"
INITSTRING ??= "somescript.sh"
INITSTRING ??= "somescript.sh"
REMOTE_NETMASK ??= "255.255.255.0"
REMOTE_GATEWAY ??= "192.168.0.15"
EXTRA_OEMAKE = " \
EXTRA_OEMAKE = " \
INSTALL=${ELPHEL393_INSTALL} \
INSTALL=${ELPHEL393_INSTALL} \
MKNOD=${ELPHEL393_MKNOD} \
MKNOD=${ELPHEL393_MKNOD} \
...
@@ -45,6 +48,8 @@ EXTRA_OEMAKE = " \
...
@@ -45,6 +48,8 @@ EXTRA_OEMAKE = " \
USERADD='${ELPHEL393_USERADD}' \
USERADD='${ELPHEL393_USERADD}' \
REMOTE_USER=${REMOTE_USER} \
REMOTE_USER=${REMOTE_USER} \
REMOTE_IP=${REMOTE_IP} \
REMOTE_IP=${REMOTE_IP} \
REMOTE_NETMASK=${REMOTE_NETMASK} \
REMOTE_GATEWAY=${REMOTE_GATEWAY} \
SRCREV=${SRCREV} \
SRCREV=${SRCREV} \
VERSION='${PE}.${PV}.${PR}' \
VERSION='${PE}.${PV}.${PR}' \
INITSTRING='${INITSTRING}' \
INITSTRING='${INITSTRING}' \
...
...
recipes-core/init-elphel393/init-elphel393_1.0.bb
View file @
0cea9b9b
...
@@ -20,7 +20,7 @@ SRCDATE = "20131202"
...
@@ -20,7 +20,7 @@ SRCDATE = "20131202"
inherit elphel-misc
inherit elphel-misc
VPATH = "${TOPDIR}/../../fpga-elphel/x393"
VPATH = "${TOPDIR}/../../fpga-elphel/x393"
RDEPENDS_${PN} += "\
RDEPENDS_${PN} += "\
python-core \
python-core \
"
"
...
@@ -52,10 +52,10 @@ do_install_append() {
...
@@ -52,10 +52,10 @@ 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
#install init script to /etc
#install init script to /etc
install -m 0755 ${WORKDIR}/init_elphel393.sh ${D}${sysconfdir}/
install -m 0755 ${WORKDIR}/init_elphel393.sh ${D}${sysconfdir}/
for RLOC in ${PRODUCTION_ROOT_LOCATION}; do
for RLOC in ${PRODUCTION_ROOT_LOCATION}; do
if [ ! -d ${DEPLOY_DIR_IMAGE}/${RLOC} ]; then
if [ ! -d ${DEPLOY_DIR_IMAGE}/${RLOC} ]; then
mkdir -p ${DEPLOY_DIR_IMAGE}/${RLOC}
mkdir -p ${DEPLOY_DIR_IMAGE}/${RLOC}
...
...
recipes-core/init-ifupdown/files/interfaces
View file @
0cea9b9b
# This is a simple dummy config file. The real file is to be generated by
# This is a simple dummy config file. The real file is to be generated by
#
init-elphel393
yocto poky recipe.
#
"init"
yocto poky recipe.
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
...
...
recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend
View file @
0cea9b9b
FILESEXTRAPATHS_prepend_elphel393 := "${THISDIR}/files:"
FILESEXTRAPATHS_prepend_elphel393 := "${THISDIR}/files:"
do_install_append () {
rm -rf ${D}/etc/network/interfaces
}
\ No newline at end of file
recipes-core/init/init_1.0.bb
View file @
0cea9b9b
SUMMARY = "init scripts"
SUMMARY = "init scripts"
AUTHOR = "Elphel Inc."
AUTHOR = "Elphel Inc."
HOMEPAGE = "http://www3.elphel.com/"
HOMEPAGE = "http://www3.elphel.com/"
...
...
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