Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
realtek: scripts: fix error in belkin-header
For some reason the new belkin-header.py script works without issues in a local Fedora build environment. In the OpenWrt build pipeline it produces the following errors: Traceback (most recent call last): File "/builder/shared-workdir/build/scripts/belkin-header.py", line 92, in <module> head = create_header(buf, args.belkin_header, args.belkin_model) File "/builder/shared-workdir/build/scripts/belkin-header.py", line 68, in create_header head[28:29] = VERSION1.to_bytes(1) TypeError: to_bytes() missing required argument 'byteorder' (pos 2) This may be related due to different python version. Fix this by handing over the needed parameters Signed-off-by: Markus Stockhausen <[email protected]> Link: openwrt#16667 Signed-off-by: Robert Marko <[email protected]>
- Loading branch information