pmb: unsupported arch: link to wiki page

The old message was outdated and incomplete, added a link to this wiki
page instead: <https://postmarketos.org/newarch>
This commit is contained in:
Oliver Smith 2018-07-16 00:15:33 +02:00
parent bc7f6ba7e6
commit f75586208f
1 changed files with 3 additions and 6 deletions

View File

@ -488,11 +488,8 @@ def arguments():
arch = args.deviceinfo["arch"]
if (arch != args.arch_native and
arch not in pmb.config.build_device_architectures):
raise ValueError("Arch '" + arch + "' is not officially enabled"
" in postmarketOS yet. However, this should be straight"
" forward. Simply enable it in pmb/config/__init__.py"
" in build_device_architectures, zap your package cache"
" (otherwise you will have issues with noarch packages)"
" and try again.")
raise ValueError("Arch '" + arch + "' is not available in"
" postmarketOS. If you would like to add it, see:"
" <https://postmarketos.org/newarch>")
return args