WIP: Add rootfs building and flashing and other misc commands

This commit is contained in:
jld3103 2021-08-05 20:26:48 +02:00
parent 8886725971
commit 1f5357bca6
12 changed files with 410 additions and 11 deletions

View file

@ -14,7 +14,7 @@ def cmd_cache():
def cmd_clean(verbose):
setup_logging(verbose)
for dir in ['/chroot', '/var/cache/pacman/pkg']:
for dir in ['/chroot', '/var/cache/pacman/pkg', '/var/cache/jumpdrive']:
for file in os.listdir(dir):
path = os.path.join(dir, file)
if os.path.isdir(path):