[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: booststrapping /usr-merged systems



Steve McIntyre <steve@einval.com> writes:
> Raphaël Hertzog wrote:
>>
>>In the same spirit, I'd like to throw an idea... could we decide that
>>base-files is the first package to be configured as part of the bootstrap
>>protocol and change base-files maintainer's scripts into statically linked
>>executables so that they can work even if we don't have the library loader
>>on the ABI-compliant path?
>
> What exactly do you mean here? You know that even a statically linked
> executable needs an interpreter defined in the ELF header?

Maybe I'm missing something, but can't you code a different interpreter
path insto such a special purpuse script?

#!/usr/lib/x86_64-linux-gnu/ld-2.31.so /usr/bin/dash
echo foo
[ -e /lib ] || /usr/lib/x86_64-linux-gnu/ld-2.31.so /usr/bin/ln -s /usr/lib /lib

or whatever?



Bjørn


Reply to: