Build output not making it into staging_dir

Hello,

I've searched the forums and wiki to no avail... (could be weak google-fu)

I'm building a custom image because I need a modified kernel (CONFIG_TCP_MD5SIG=y) and a bunch of packages installed by default.

I started using the image happily, but then I realised that iptables was incomplete; I'm missing everything that should be in iptables-mod-ipopt. opkg happily tells me that package is installed, but it's empty.
I can see all the modules (e.g. the all-important libxt_DSCP.so) in
build_dir/target-x86_64_musl/linux-x86_64/iptables-1.8.3/ipkg-install/*
but
/build_dir/target-x86_64_musl/linux-x86_64/iptables-1.8.3/ipkg-x86_64/iptables-mod-ipopt contains CONTROL and an empty usr/lib/iptables tree.
and indeed
staging_dir doesn't contain the files.

What's in charge of getting things from ipkg-install to the package directories and staging_dir? I've grepped and read makefiles for a whole day now and can't make heads nor tails out of it.

Figured it out, the kernel modules weren't being built because we had kernel config overrides in place. Added them and thing started working!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.