Skip to content
Snippets Groups Projects
Unverified Commit 5124b5d1 authored by Oliver Smith's avatar Oliver Smith
Browse files

job_callback/get_depends: fix deps splitrep->main

parent 420fa375
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,12 @@ def update_package_depends(session, payload, arch, branch):
depend = bpo.db.get_package(session, pkgname, arch, branch, splitrepo)
if depend:
depends.append(depend)
elif splitrepo:
# For splitrepo packages: check if the dependency exists in the
# main pmOS repo
depend = bpo.db.get_package(session, pkgname, arch, branch, None)
if depend:
depends.append(depend)
# Write changes
package_db = bpo.db.get_package(session, package["pkgname"], arch,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment