From b4d6245c84fdbabed108434b800a53cd91fc5b46 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 7 Apr 2023 18:26:10 +0100 Subject: backend : rewrite the dependency solver in a more efficient way --- src/backend/install.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/install.py') diff --git a/src/backend/install.py b/src/backend/install.py index 1316c22..5f89b01 100644 --- a/src/backend/install.py +++ b/src/backend/install.py @@ -19,7 +19,7 @@ import sisyphus.update def start(pkgname): if sisyphus.checkenv.root(): sisyphus.update.start() - sisyphus.solvedeps.pkg(pkgname) + sisyphus.solvedeps.start(pkgname) bin_list, src_list, need_cfg = pickle.load( open(os.path.join(sisyphus.getfs.p_mtd_dir, "sisyphus_pkgdeps.pickle"), "rb")) @@ -73,7 +73,7 @@ def start(pkgname): def estart(pkgname): if sisyphus.checkenv.root(): sisyphus.update.start() - sisyphus.solvedeps.pkg(pkgname) + sisyphus.solvedeps.start(pkgname) bin_list, src_list, need_cfg = pickle.load( open(os.path.join(sisyphus.getfs.p_mtd_dir, "sisyphus_pkgdeps.pickle"), "rb")) @@ -165,7 +165,7 @@ def estart(pkgname): def xstart(pkgname): - sisyphus.solvedeps.pkg.__wrapped__(pkgname) # undecorate + sisyphus.solvedeps.start.__wrapped__(pkgname) # undecorate bin_list, src_list, need_cfg = pickle.load( open(os.path.join(sisyphus.getfs.p_mtd_dir, "sisyphus_pkgdeps.pickle"), "rb")) -- cgit v1.2.3