]> code.ossystems Code Review - openembedded-core.git/commit
ifupdown: create file interfaces if not exist
authorKai Kang <kai.kang@windriver.com>
Mon, 23 Mar 2020 02:24:14 +0000 (10:24 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Mar 2020 17:16:56 +0000 (17:16 +0000)
commit4e692daf66d2c9d51d418706e20f4527505dc0bd
tree3e80cf9fe774f4ab426865f0f6e08e03ed1e9b12
parent6b408f40b6c214d05433c41f0cd6200c715cc615
ifupdown: create file interfaces if not exist

It fails to run ifup if /etc/network/interfaces doesn't exist:

| ifup: couldn't open interfaces file "/etc/network/interfaces": No such
|       file or directory

Create the config file if not exist.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/ifupdown/ifupdown_0.8.35.bb