← Back to context

Comment by timschumi

2 days ago

There is a guide on how to set up LineageOS for libvirt (i.e. QEMU) [1], but there exist no prebuilt images at this point in time.

[1] https://wiki.lineageos.org/libvirt-qemu

The requirements are monstrous: 300GB storage, 32GB RAM. My everyday working laptop has a 240GB SSD. I've build the kernel, Firefox, and the heaviest packages which I use from sources with a fraction of those resources.

I can't even fathom what the build system is doing in order to require this amount of storage.

  • > I can't even fathom what the build system is doing in order to require this amount of storage.

    A large number of 17 year old repositories, prebuilt toolchains, and the fact that you otherwise have every little bit of source code, intermediary results, and output to create a full operating system all in the same place.

    As for the memory, the very first step (that basically already is the benchmark for the most memory usage) is loading the entire build tree and generating build steps. Yes, that takes 32GB of RAM, if not 64GB nowadays.

    • Okay, but I'm pretty sure Gentoo can compile an entire OS in way less disk+RAM than that, and I know NetBSD can.