24 Feb
2021
24 Feb
'21
10:05
On Mi, Feb 24, 2021 at 10:59, Ludwig Nussel <ludwig.nussel@suse.de> wrote:
Instead of triggering it manually in the initrd like Fedora did, the idea here basically is to leverage the renameat2(2) syscall in %pretrans of the file system package. So there is no intermediate, half merged state. Works fine in my test setups at least. It relies on coreutils' cp though. Can we live with that? I'm not a aware of library that could be used instead and obviously don't really want to re-implement cp just for this :-)
How about rpm's embedded lua interpreter? Wouldn't it be the best choice for this kind of a job? LCP [Sasi] https://lcp.world