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

@ -123,8 +123,6 @@ def setup_chroot():
file.write('\n\n[device]\nServer = file:///src/prebuilts/device')
shutil.copyfile('/app/src/pacman_copy.conf',
'/chroot/root/etc/pacman.conf')
shutil.copyfile('/etc/pacman.d/aarch64_mirrorlist',
'/chroot/root/etc/pacman.d/aarch64_mirrorlist')
result = subprocess.run(pacman_cmd +
['-Sy',
'--root', '/chroot/root',