pmb.config: remove deviceinfo_nonfree (!1888)

See: https://gitlab.com/postmarketOS/pmaports/-/issues/438
This commit is contained in:
Minecrell 2020-03-07 15:00:52 +01:00 committed by Oliver Smith
parent f1cfd029d6
commit 7915e94275
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
3 changed files with 3 additions and 2 deletions

View File

@ -256,7 +256,6 @@ deviceinfo_attributes = [
"dtb",
"modules_initfs",
"arch",
"nonfree",
# device
"keyboard",

View File

@ -31,6 +31,9 @@ def sanity_check(info, path):
path + " (if you are sure that you need this, then"
" we can probably bring it back to fastboot, just"
" let us know in the postmarketOS issues!)")
if "nonfree" in info:
raise RuntimeError("deviceinfo_nonfree is unused. "
"Please delete it in: " + path)
# "codename" is required
codename = os.path.basename(os.path.dirname(path))

View File

@ -5,7 +5,6 @@ deviceinfo_format_version="0"
deviceinfo_name="Google Nexus 4"
deviceinfo_manufacturer="LG"
deviceinfo_date=""
deviceinfo_nonfree="????"
deviceinfo_dtb=""
deviceinfo_modules_initfs=""
deviceinfo_external_storage="false"