]> code.ossystems Code Review - openembedded-core.git/commit
runqemu: use self.rootfs to replace self.nfs_dir
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 11 Apr 2017 09:21:26 +0000 (02:21 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Apr 2017 17:10:49 +0000 (18:10 +0100)
commit1aafa13ae6faf620acac7338c42a8838e75da6b9
tree3f0a55cea7055b9519a46af1c4000458290c4eec
parentaa8df7e17bb4bb0a92938cbc36cd8b22bcf14cfa
runqemu: use self.rootfs to replace self.nfs_dir

We can use self.rootfs as self.nfs_dir when self.fstype is nfs, this can
reduce the code's complexity and we can re-use the code of checking
ROOTFS conflictions.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu