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
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue