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
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
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
No files found.
classes/elphel-dev.bbclass
View file @
0cea9b9b
...
...
@@ -35,6 +35,9 @@ ELPHEL393_MKNOD = "mknod"
INITSTRING ??= "somescript.sh"
REMOTE_NETMASK ??= "255.255.255.0"
REMOTE_GATEWAY ??= "192.168.0.15"
EXTRA_OEMAKE = " \
INSTALL=${ELPHEL393_INSTALL} \
MKNOD=${ELPHEL393_MKNOD} \
...
...
@@ -45,6 +48,8 @@ EXTRA_OEMAKE = " \
USERADD='${ELPHEL393_USERADD}' \
REMOTE_USER=${REMOTE_USER} \
REMOTE_IP=${REMOTE_IP} \
REMOTE_NETMASK=${REMOTE_NETMASK} \
REMOTE_GATEWAY=${REMOTE_GATEWAY} \
SRCREV=${SRCREV} \
VERSION='${PE}.${PV}.${PR}' \
INITSTRING='${INITSTRING}' \
...
...
recipes-core/init-elphel393/init-elphel393_1.0.bb
View file @
0cea9b9b
recipes-core/init-ifupdown/files/interfaces
View file @
0cea9b9b
# 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)
...
...
recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend
View file @
0cea9b9b
FILESEXTRAPATHS_prepend_elphel393 := "${THISDIR}/files:"
do_install_append () {
rm -rf ${D}/etc/network/interfaces
}
\ No newline at end of file
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