]> code.ossystems Code Review - openembedded-core.git/commit
class/sanity: strip the output of get_filesystem_id()
authorSteven Hung (洪于玉) <Steven.Hung@mediatek.com>
Wed, 13 Mar 2019 06:26:05 +0000 (06:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2019 11:09:55 +0000 (11:09 +0000)
commit172c3e85c601a61f3c668f83b75f4c1eb31dbd4d
treeee1c3e8633f2a229b11f6306397f8498de115afd
parent2a8b35226edde4cd49cb5ba68c5b47aa8379eca1
class/sanity: strip the output of get_filesystem_id()

A previous commit 2f44b9b replace oe.utils.getstatusoutput() to
subprocess.check_output(). check_output() don't remove a trailling newline. Add strip()

Signed-off-by: Steven Hung (洪于玉) <Steven.Hung@mediatek.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass