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>
This commit is contained in:
parent
deba7cac00
commit
0156812271
|
@ -821,7 +821,6 @@ class BaseConfig(object):
|
||||||
self.rootfs_options = '-drive file=%s,if=virtio,format=raw' % self.rootfs
|
self.rootfs_options = '-drive file=%s,if=virtio,format=raw' % self.rootfs
|
||||||
|
|
||||||
if self.fstype in ('cpio.gz', 'cpio'):
|
if self.fstype in ('cpio.gz', 'cpio'):
|
||||||
self.set('NETWORK_CMD', '')
|
|
||||||
self.kernel_cmdline = 'root=/dev/ram0 rw debugshell'
|
self.kernel_cmdline = 'root=/dev/ram0 rw debugshell'
|
||||||
self.rootfs_options = '-initrd %s' % self.rootfs
|
self.rootfs_options = '-initrd %s' % self.rootfs
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue