<Raito_Bezarius>
samueldr: sounds like you need to do a topological sort at some point to order the dependencies right?
<Raito_Bezarius>
i skimmed through the code and I have seen you basically define some <=> operator on Task and use .sort
<Raito_Bezarius>
but does it always work?
<Raito_Bezarius>
like don't you have some directed acyclic graph of mount/etc dependencies?
<Raito_Bezarius>
maybe I'm wrong (I didn't sleep enough this night…)
<Raito_Bezarius>
and I'm no Ruby expert, I can read it though
<nDuff>
Hmm, curious. Trying to use qemu-user emulation for aarch64 to build a SD card image, but getting "cannot allocate memory" errors from readdir() during filesystem-image build process... while the host has plenty of RAM to spare.
<nDuff>
(also, the process is still continuing, and giving every appearance of successfully walking the directory tree past the points where the error is reported).
<Smith[m]>
nDuff: How much memory do you have on the VM ? I only tested with 4GB
<nDuff>
running qemu in user mode, not system mode, so it's run running a vm, just running emulation on a per-process basis.
<nDuff>
err, not running a vm
<nDuff>
...copying the image to flash now; be curious to see if it boots without trouble.
<Smith[m]>
oh I didn't know about user emulation ... Sounds cool
<nDuff>
...okay, looks generally valid. Not getting out of the bootloader, but that smells like 19.09 not working right with the Pi 4 out-of-the-box (bootloader config was explicitly for the 3); giving it another spin with unstable.
<nDuff>
Hmm. Also smells like, when trying to build the kernel, `ARCH` isn't being set correctly. I might just set up a qemu-system remote builder.
qyliss has quit [Quit: bye]
qyliss has joined #nixos-aarch64
cstrahan____ has quit [Remote host closed the connection]
ryantrinkle has joined #nixos-aarch64
cstrahan____ has joined #nixos-aarch64
cstrahan____ has quit [Remote host closed the connection]
cstrahan____ has joined #nixos-aarch64
qyliss has quit [Quit: bye]
qyliss has joined #nixos-aarch64
qyliss has quit [Remote host closed the connection]
qyliss has joined #nixos-aarch64
qyliss has quit [Quit: bye]
qyliss has joined #nixos-aarch64
<samueldr>
Raito_Bezarius: you're right, I need that, but it also works without because it checks dependencies
<samueldr>
I also don't want to block on any one dependency
<clever>
samueldr: heard the news of what i ported to the pi4 recently?
<samueldr>
yeah, saw your lk fork
<samueldr>
Raito_Bezarius: there is *definitely* improvement in the dependency ordering and management, it's not optimal, but the naïve approach works the same in the end