aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-09-22 23:53:01 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-23 14:55:46 +0100
commit7d01a9c80de0cdbac3831301dd996c7b61754c74 (patch)
treeb0649e3f394ec2472a771d961942dbc89b2f6d81
parente890c05e66a21702e9e8ccce794b74cb7f5518ed (diff)
downloadopenembedded-core-contrib-7d01a9c80de0cdbac3831301dd996c7b61754c74.tar.gz
scripts/runqemu: Using a cpio* rootfs has no special network
When booting a system with the rootfs being of cpio* type the networking setup should still work the same as for all other root filesystem types. This change removes the clearing of the NETWORK_CMD variable allowing for the slirp/tap setup to be provided to QEMU. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rwxr-xr-xscripts/runqemu1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 2ed6f9a26e..5095e67817 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -821,7 +821,6 @@ class BaseConfig(object):
self.rootfs_options = '-drive file=%s,if=virtio,format=raw' % self.rootfs
if self.fstype in ('cpio.gz', 'cpio'):
- self.set('NETWORK_CMD', '')
self.kernel_cmdline = 'root=/dev/ram0 rw debugshell'
self.rootfs_options = '-initrd %s' % self.rootfs
else: