Closed infdivzero closed 8 months ago
What's the full command you used to invoke rootfs.py
?
./rootfs.py --cores $(nproc) -i -q
It's meant to do that with that command line. If you don't add --external-sources
, rootfs.py will only predownload sources required to bootstrap up to the point where network support becomes available - any packages beyond that will instead download their sources as needed, over the bootstrap system's own network connection.
Also, be careful of --cores $(nproc)
- if $(nproc) is large, this will cause high memory usage inside the bootstrap environment, and lead to OOM errors unless you also use the -qs
option to add swap. (In kernel bootstrap mode, physical memory available to the bootstrap environment is currently limited to about 3GB, due to e820 memory map parsing not being implemented in builder-hex0.)
Alright, wasn't sure if that's what --external-sources did. Default of 2 core makes more sense too
Does this when running the bootstrap in qemu using the python script, after the python script downloaded all(?) sources. Haven't tried running the vm without a network connection yet. Intended?
part of the build output: