diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-24 22:39:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-24 22:39:38 +0000 |
commit | 94113c65c8bfbd4edb442a08a4ef6b6a95f8a013 (patch) | |
tree | 6e5ed7c439750187f201a05cfd3b44c4d63d81b1 /src/backend/sysupgrade.py | |
parent | 86897731b3e7c41eb248f926495977919d8911ca (diff) |
Diffstat (limited to 'src/backend/sysupgrade.py')
-rw-r--r-- | src/backend/sysupgrade.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/sysupgrade.py b/src/backend/sysupgrade.py index c773366..32476c8 100644 --- a/src/backend/sysupgrade.py +++ b/src/backend/sysupgrade.py @@ -11,13 +11,13 @@ import subprocess import sys import time import sisyphus.checkenv +import sisyphus.depsolve import sisyphus.dlbinpkg import sisyphus.getclr import sisyphus.getfs -import sisyphus.killemerge -import sisyphus.solvedeps import sisyphus.syncdb import sisyphus.syncall +import sisyphus.watchdog def set_nonblocking(fd): @@ -57,10 +57,10 @@ def start(ebuild=False, gfx_ui=False): sys.exit() else: if gfx_ui: - sisyphus.solvedeps.start.__wrapped__() # undecorate + sisyphus.depsolve.start.__wrapped__() # undecorate else: sisyphus.syncall.start(gfx_ui=False) - sisyphus.solvedeps.start() + sisyphus.depsolve.start() bin_list, src_list, is_vague, need_cfg = pickle.load( open(os.path.join(sisyphus.getfs.p_mtd_dir, "sisyphus_worlddeps.pickle"), "rb")) @@ -291,7 +291,7 @@ def start(ebuild=False, gfx_ui=False): p_exe = subprocess.Popen(['emerge'] + go_args + ['--usepkg', '--usepkgonly', '--rebuilt-binaries', '@world'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) # kill portage if the program dies or it's terminated by the user - atexit.register(sisyphus.killemerge.start, p_exe) + atexit.register(sisyphus.watchdog.start, p_exe) for p_out in io.TextIOWrapper(p_exe.stdout, encoding="utf-8"): print(p_out.rstrip()) |