pmb.helpers.repo_missing: Replace osk-sdl with unl0kr in example (MR 2289)

See https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2333
This commit is contained in:
Newbyte 2024-04-03 20:46:00 +02:00
parent 8a518c5304
commit bd4d818cca
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD

View file

@ -57,7 +57,7 @@ def get_relevant_packages(args, arch, pkgname=None, built=False):
:param pkgname: only look at a specific package (and its dependencies)
:param built: include packages that have already been built
:returns: an alphabetically sorted list of pkgnames, e.g.:
["devicepkg-dev", "hello-world", "osk-sdl"] """
["devicepkg-dev", "hello-world", "unl0kr"] """
if pkgname:
if not pmb.helpers.package.check_arch(args, pkgname, arch, False):
raise RuntimeError(pkgname + " can't be built for " + arch + ".")