diff --git a/package/boot/uboot-rockchip/patches/120-fix-binman-migrate-from.patch b/package/boot/uboot-rockchip/patches/120-fix-binman-migrate-from.patch new file mode 100644 index 000000000..93da82f85 --- /dev/null +++ b/package/boot/uboot-rockchip/patches/120-fix-binman-migrate-from.patch @@ -0,0 +1,14 @@ +--- a/tools/binman/control.py ++++ b/tools/binman/control.py +@@ -9,8 +9,9 @@ from collections import OrderedDict + import glob + try: + import importlib.resources as importlib_resources +-except ImportError: # pragma: no cover +- # for Python 3.6 ++ # for Python 3.6, 3.7 and 3.8 ++ importlib_resources.files ++except (ImportError, AttributeError): + import importlib_resources + import os + import re