update root chroot on start (runtime updating on todo)
This commit is contained in:
@@ -156,6 +156,9 @@ def setup_chroot():
|
|||||||
subprocess.run(
|
subprocess.run(
|
||||||
["mkarchroot", os.path.join(config["basedir"]["chroot"], "root"), "base-devel"],
|
["mkarchroot", os.path.join(config["basedir"]["chroot"], "root"), "base-devel"],
|
||||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout.decode(errors='ignore'))
|
stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout.decode(errors='ignore'))
|
||||||
|
else:
|
||||||
|
logging.debug("[NSPAWN] %s", subprocess.run(
|
||||||
|
["arch-nspawn", os.path.join(config["basedir"]["chroot"], "root"), "pacman", "-Syuu", "--noconfirm"]))
|
||||||
|
|
||||||
|
|
||||||
def setup_makepkg(repo) -> None:
|
def setup_makepkg(repo) -> None:
|
||||||
|
Reference in New Issue
Block a user