[Buildroot] [PATCH 0/2] core/sdk: fix relative symlinks in generated tarball (branch yem/sdk)

Joel Carlson JoelsonCarl at gmail.com
Sat Dec 22 00:13:21 UTC 2018


Andreas,

On Fri, Dec 21, 2018 at 2:46 AM Andreas Naumann <dev at andin.de> wrote:

<snip>

> However, the check for symlinks pointing out of host/ showed to two
> issues originating in install steps of iptables and eudev. Both create
> links that point to system pathes.
>
> I have locally made POST_STAGING_HOOKS to fix that but that's probably a
> non acceptable hack.

Would be hard to tell without seeing the actual change. ;-)
That being said, this is probably something that would need to be
fixed in iptables and eudev (patches submitted upstream), and then
those patches added to buildroot to fix the issue.

So far I've submitted a patch to iptables here:
http://patchwork.ozlabs.org/patch/1017739/

And a patch to buildroot to pull in a version of that here:
https://patchwork.ozlabs.org/patch/1017740/

I've also submitted a pull request for eudev (and while typing this
email it was already merged):
https://github.com/gentoo/eudev/pull/165

I'll submit a patch for eudev in buildroot to pull in that change once
I see feedback on the iptables one. For it to work for me I needed to
set AUTORECONF=YES on eudev, but I don't really understand
autotools/automake stuff very well and I don't know if that is the
right way to be doing things.
-Joel


More information about the buildroot mailing list