pmb.config: remove deviceinfo_nonfree (!1888)
See: https://gitlab.com/postmarketOS/pmaports/-/issues/438
This commit is contained in:
parent
f1cfd029d6
commit
7915e94275
|
@ -256,7 +256,6 @@ deviceinfo_attributes = [
|
||||||
"dtb",
|
"dtb",
|
||||||
"modules_initfs",
|
"modules_initfs",
|
||||||
"arch",
|
"arch",
|
||||||
"nonfree",
|
|
||||||
|
|
||||||
# device
|
# device
|
||||||
"keyboard",
|
"keyboard",
|
||||||
|
|
|
@ -31,6 +31,9 @@ def sanity_check(info, path):
|
||||||
path + " (if you are sure that you need this, then"
|
path + " (if you are sure that you need this, then"
|
||||||
" we can probably bring it back to fastboot, just"
|
" we can probably bring it back to fastboot, just"
|
||||||
" let us know in the postmarketOS issues!)")
|
" 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" is required
|
||||||
codename = os.path.basename(os.path.dirname(path))
|
codename = os.path.basename(os.path.dirname(path))
|
||||||
|
|
|
@ -5,7 +5,6 @@ deviceinfo_format_version="0"
|
||||||
deviceinfo_name="Google Nexus 4"
|
deviceinfo_name="Google Nexus 4"
|
||||||
deviceinfo_manufacturer="LG"
|
deviceinfo_manufacturer="LG"
|
||||||
deviceinfo_date=""
|
deviceinfo_date=""
|
||||||
deviceinfo_nonfree="????"
|
|
||||||
deviceinfo_dtb=""
|
deviceinfo_dtb=""
|
||||||
deviceinfo_modules_initfs=""
|
deviceinfo_modules_initfs=""
|
||||||
deviceinfo_external_storage="false"
|
deviceinfo_external_storage="false"
|
||||||
|
|
Loading…
Reference in New Issue