Commit graph

15 commits

Author SHA1 Message Date
InsanePrawn
b31160146b utils.py: add sha256sum(filepath) 2022-11-09 20:19:04 +01:00
InsanePrawn
2c70ad6c12 utils: add read_files_from_tar() 2022-11-09 20:11:20 +01:00
InsanePrawn
27e7fe9a10 utils.programs_available(): add cache 2022-08-20 04:32:33 +02:00
InsanePrawn
4eacee8cad utils: add get_{user,group}_name() and get_{uid,gid}() 2022-08-15 23:12:59 +02:00
InsanePrawn
879fd113f0 exec: migrate exec.py to exec/cmd.py 2022-08-15 17:48:42 +02:00
InsanePrawn
66ac56d715 chroot: extract run_cmd() to new exec.py, use in utils.py and chroot/abstract.py 2022-08-15 06:17:26 +02:00
InsanePrawn
7a324555da Type annotate all the things! 2022-02-18 06:32:04 +01:00
InsanePrawn
2e5205c9e9 Utils: add check_findmnt(), log_or_exception(), add PathLike type hint 2022-01-26 13:28:22 +01:00
InsanePrawn
c5183bd0bf Refactor chroot.py into Chroot class 2021-10-25 01:51:03 +02:00
InsanePrawn
52458bd314 manage (download, pull) pkgbuilds.git, move it inside .cache. add git() convenience wrapper 2021-10-17 03:23:29 +02:00
InsanePrawn
482744feb2 mount(): properly handle type. (forgotten to commit with binfmt mounting) 2021-10-10 18:29:44 +02:00
InsanePrawn
0b2caa02af Split up repos by arches, always add already-built packages to repo file again, don't use repo-add --new, ...
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-10-04 20:16:27 +02:00
InsanePrawn
6242e4850d partially fix crossdirect and QEMU_LD_PREFIX env var, copy /lib/ld-linux-* to foreign chroot for cross-execution 2021-10-04 13:34:37 +02:00
InsanePrawn
d85c00fa12 Move mounting code to utils.py, move a lot of chroot-logic from packages to chroot.py, cmd_chroot
also moar crossdirect

Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
2021-10-01 18:30:01 +02:00
InsanePrawn
9b83bb16cd forgot utils.py 2021-09-30 01:00:28 +02:00