WIP: Add rootfs building and flashing and other misc commands
This commit is contained in:
parent
8886725971
commit
1f5357bca6
12 changed files with 410 additions and 11 deletions
2
cache.py
2
cache.py
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue