FIX: [wireless-regdb] patch shebang to python3

BugzId: 69705
This commit is contained in:
Patrick Walther 2021-01-11 18:51:35 +01:00
parent 7c47a3374f
commit 4b41b6e1d8
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,24 @@
--- a/db2bin.py
+++ b/db2bin.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from io import BytesIO, open
import struct
--- a/db2fw.py
+++ b/db2fw.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from io import BytesIO, open
import struct
--- a/dbparse.py
+++ b/dbparse.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
from functools import total_ordering
import sys, math

View File

@ -9,6 +9,7 @@ DEPENDS = "openssl-native"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git;protocol=http \
file://100-regdb-write-firmware-file-format-version-code-20.patch \
file://500-world-regd-5GHz.patch \
file://501-change-python-interpreter-to-version-3-to-be-compat.patch \
file://0001-ADD-regdb-EU-section-with-ranges-allowed-for-all-EU-.patch \
"