Replies: 1 comment 2 replies
-
Well the main idea behind this mod's approach is to use the buildroot system in a chroot-environment. In this scenario the libc does not really matter, because the chroot environment brings it's own libc and mainly the kernel headers are relevant. Other approaches get complicated quickly. In general you can target an old libc version for the build to be compatible with newer versions, so you would probably compile against the oldest version that the applications still support. If you don't want to use a chroot but set the rpath of all binaries instead, can't you also have your own libc then? I've never tried this, but it's an interesting idea. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Loving this mod, although I am only using it for parts rather than for its original intention.
I did consider looking at entware or even building my own packages directly, but buildroot is awesome for making it far easier to create a complete collection of packages and dependent libraries, the only thing its missing to make it truly awesome for my use case is for build rootfs.tar to be useable on an existing rootfs with different libc.
I really just want to use this project something like entware does (packages going to /opt), but I found buildroot so much simpler to understand and tweak, and also I forked ballasway version of this project, and he has already done all the heavy lifting to get it to work with MIPS, so I wanted to take advantage of that as well.
I am using patchelf to change the interpreter and the rpath of runnable binaries and python so files. So far its early days and I a imagine I will run into issues.
But I am wondering is there a better way to be able to use the output of buildroot to supplement rather than replace an existing rootfs?
I also discovered that buildroot patchelf does nasty things to MIPS libaries (well only set-rpath does), but that using Ubuntu 22.04 or debian bookworm patchelf works fine.
Beta Was this translation helpful? Give feedback.
All reactions