Support for dynamically-linked busybox#13
Conversation
|
There were some other fixes recently to help find a static busybox. Is this still needed? |
|
"Needed" might be a bit strong; still potentially useful in some cases though. I'm not aware offhand of any distros that don't package a static build of busybox, though as seen in commit c39a1cd they may be under different names (e.g. on my current system it's |
|
Ping...any further thoughts on this? |
Support dynamically-linked busyboxen by ldd-ing them and copying any libraries they're linked against into the initramfs. Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
It's a hack, but it lets virtme run on some distros where it otherwise doesn't (e.g. Void). Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
6bd8d60 to
45d4547
Compare
|
Just noticed this, after having implemented an equivalent variant of this but using pyelftools instead of parsing |
I understand if this is a bit "controversial" (i.e. not wanted); it's definitely a bit of a hack, but it does let virtme work in some situations where it currently doesn't.