[Buildroot] [PATCH 5/6] package/mrouted: for merged usr, install to /usr by default, not /

Joachim Wiberg troglobit at gmail.com
Sat Jan 23 21:59:21 UTC 2021


Hi Yann!

On Sat, Jan 23, 2021 at 21:57, "Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:
> On 2021-01-23 11:31 +0100, Joachim Wiberg spake thusly:
>> -MROUTED_CONFIGURE_OPTS = --enable-rsrr
>> +MROUTED_CONF_OPTS = --prefix=/usr --sysconfdir=/etc --localstatedir=/var
> I don't understand why the above is needed, and how it is related to
> merged-usr as stated in the commit title...
> Indeed, the --prefix, --sysconfdir, and --localstatedir passed by the
> autotools infra are already the values you pass above:
>     ./configure \
>         --target=$$(GNU_TARGET_NAME) \
>         --host=$$(GNU_TARGET_NAME) \
>         --build=$$(GNU_HOST_NAME) \
>         --prefix=/usr \
>         --exec-prefix=/usr \
>         --sysconfdir=/etc \
>         --localstatedir=/var \
> So I am not sure why you need to pass those explicitly.

Yeah, I'm equally confused now.  Not sure what went wrong with my
setp, and I'll go back and check that out right away.  This affected
the sysklogd patch series as well, unfortunately :-/

> Furthermore, I don't see what a merged-usr setup would come into play
> in this situation...

Silly conclusion of mine drawn from the above messed up defaults.  I
think it all comes from the b0rked configure.ac files in my GitHub.

Sorry for the noise!

> In the meantime, I've marked this patch as rejected in patchwork. If you
> still believe it is needed, please respin with additional explanations:
> what is the problem that you encountered, and why explicitly passing
> those options solves it?

Nope, that's all good with me :)

Thank you so much for taking the time to clean up my patches! <3


Best regards
 /Joachim



More information about the buildroot mailing list