diskimage-builder/diskimage_builder/elements/dracut-regenerate/finalise.d
Mark Goddard aa6c1d01a9 Decode string to bytes in dracut-regenerate
In python3, the standard out data returned by
subprocess.Popen.communicate() will in most cases be bytes rather than a
string and must therefore be decoded.

Without this fix we hit the following error:

TypeError: a bytes-like object is required, not 'str'

Change-Id: I6d75f867ebfdb925970c3397175214b9050d7632
Closes-Bug: #1694463
2017-05-30 16:15:06 +01:00
..
98-dracut-regenerate Decode string to bytes in dracut-regenerate 2017-05-30 16:15:06 +01:00