mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
libhugetlbfs: update patch to make it work for python3
Fix error: TypeError: a bytes-like object is required, not 'str' Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
c05a6ab1e7
commit
7c12e62bed
@ -12,6 +12,9 @@ Signed-off-by: Ting Liu <b28495@freescale.com>
|
||||
|
||||
Update for 2.22.
|
||||
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
|
||||
|
||||
Update to work for python3
|
||||
Signed-off-by: Changqing Li <changqing.li@windriver.com>
|
||||
---
|
||||
tests/run_tests.py | 12 +++++++++++-
|
||||
1 file changed, 11 insertions(+), 1 deletion(-)
|
||||
@ -36,7 +39,7 @@ index 018264d..0aabcd1 100755
|
||||
+ return sizes
|
||||
+ except OSError:
|
||||
+ return sizes
|
||||
+ out = p.stdout.read().strip()
|
||||
+ out = p.stdout.read().decode().strip()
|
||||
+
|
||||
if rc != 0 or out == "":
|
||||
return sizes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user