summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
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:56:39 +0100
commit0156812271075a96deb30e2d914343c2abd09466 (patch)
treee4e1166ae688c5eb84e3c598c30148db5ad43155 /scripts/runqemu
parentdeba7cac00c9ff72409f021a8aef0a4a4692864d (diff)
downloadpoky-0156812271075a96deb30e2d914343c2abd09466.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. (From OE-Core rev: 7d01a9c80de0cdbac3831301dd996c7b61754c74) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-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):
821 self.rootfs_options = '-drive file=%s,if=virtio,format=raw' % self.rootfs 821 self.rootfs_options = '-drive file=%s,if=virtio,format=raw' % self.rootfs
822 822
823 if self.fstype in ('cpio.gz', 'cpio'): 823 if self.fstype in ('cpio.gz', 'cpio'):
824 self.set('NETWORK_CMD', '')
825 self.kernel_cmdline = 'root=/dev/ram0 rw debugshell' 824 self.kernel_cmdline = 'root=/dev/ram0 rw debugshell'
826 self.rootfs_options = '-initrd %s' % self.rootfs 825 self.rootfs_options = '-initrd %s' % self.rootfs
827 else: 826 else: