@bluca OK thasnks, I can clone that and check:
Then cherry-pick the patches… I want to pick over 255 because last version with all the legacy and it is BuildRoot in question (not necessarily fully systemd unity compatible).
Trying to deploy #systemd to BuildRoot build:
Filesystem found in kernel header but not in filesystems-gperf.gperf: BCACHEFS_SUPER_MAGIC
Filesystem found in kernel header but not in filesystems-gperf.gperf: PID_FS_MAGIC
I think I might know how to fix these tho so should not be an issue.
I had QEMU style build. I’m repeal and replacing that with a build that builds 2GB disk image ESP/UEFI compatible. That can then supplied to qemu/libvirt or burned to stick and booted with hardware.
@pinkforest Like for instance. What would you possibly do with a re-allocating vector in any modern systems software? For small chunks, create large enough fixed arrays. For data that needs to scale dynamically however many gigabytes of addresses can be mapped with a total zero cost, and the #PF handler takes care of the rest. Finally there is an option to manually scale the space down with fallocate() (FALLOC_FL_PUNCH_HOLE).
This is standard stuff in modern C systems software. If this is over the top, then I tend to think that probably Java or Go would be better picks in the first place.I just use Python then because more than liking a tool, I like measurable value, which cannot be just my liking. Self-deception IMHO :-)
I wonder what is the policy of putting something to scripts/
(not to vmlinux
) that is written with #Rust? I.e. build time utility. Just curious.
And actually, since bindgen
is installed from crates.io, not from kernel tree, should it be actually submitted there, and not to the kernel tree?
Kernel documentation gives pretty bad rationale for bindgen
being in Cargo: “The bindings to the C side of the kernel are generated at build time using the bindgen tool. A particular version is required.” I’m sure there are good reasons to install it using cargo
but why the documentation does not list those reasons, no matter how obvious they might be to some.
So I guess I put my build time tool to crates.io because at least first it is an experiment, and secondly bindgen
is managed like this. But even this does not conclude the story fully. I have no idea in what license that out-of-tree pulled build-time utility is expected to be. It is not documented, or at least I cannot find it documented anywhere.