python3 needs bytes when calling .write()
It was pulling in py2 along with py3. Fix #! and make sure code works with py3.
Add a utility to concatenate the kernel and initrd, and edit the kernel. This is based on: https://github.com/rhinstaller/anaconda/blob/rhel6-branch/utils/mk-s390-cdboot.c It takes into account byteorder and it wipes the cmdline area before writing the parmfile into the kernel. Related: rhbz#1478448 (cherry picked from commit 6007b35096)
6007b35096