]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/runqemu: Using a cpio* rootfs has no special network
authorNathan Rossi <nathan@nathanrossi.com>
Thu, 22 Sep 2016 13:53:01 +0000 (23:53 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Sep 2016 13:55:46 +0000 (14:55 +0100)
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>
scripts/runqemu

index 2ed6f9a26e958ebeba06c081393e43579b646dde..5095e67817b7b76f26be235fbbfb2af557c01466 100755 (executable)
@@ -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: