Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # my custom layer recipe for network interface :
- /poky/meta-custom/recipes-core/ifupdown$ tree
- .
- ├── init-ifupdown
- │ └── interfaces
- └── init-ifupdown_%.bbappend
- 2 directories, 2 files
- # cat init-ifupdown_%.bbappend
- FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
- # Interfaces file :
- # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
- # The loopback interface
- auto lo
- iface lo inet loopback
- # Wired or wireless interfaces
- auto eth0
- iface eth0 inet static
- address 169.254.1.100
- netmask 255.255.255.0
Advertisement
Add Comment
Please, Sign In to add comment