[oe-commits] [openembedded-core] 11/13: scripts/runqemu: Using a cpio* rootfs has no special network

git at git.openembedded.org git at git.openembedded.org
Fri Sep 23 14:02:31 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 7d01a9c80de0cdbac3831301dd996c7b61754c74
Author: Nathan Rossi <nathan at nathanrossi.com>
AuthorDate: Thu Sep 22 23:53:01 2016 +1000

    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 at nathanrossi.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/runqemu | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 2ed6f9a..5095e67 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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list