Hey,

please don't reply to a message to start a new thread!

Floimair Florian wrote:
> I ran into an issue with ptxdist-1.0.2 today. I am using a modified
> version of the Phytec-MPC5200B BSP for this. When I run ptxdist go on
> a clean project, iptables fails to install. However if I manually
> compile and install the kernel beforehand (ptxdist compile kernel &&
> ptxdist install kernel) and then do another "ptxdist go", iptables
> compiles without any issues.

> So my question now is: What changes do I have to make to my project
> (or ptxdist) to make sure that the kernel package is always processed
> before ptxdist tries to compile iptables. This clearly is only a
> matter of getting things done in the right order.

You can edit the "rules/iptables.in" and add "select kernel" to the
"menuconfig IPTABLES", or apply this patch:

Index: rules/iptables.in
===================================================================
--- rules/iptables.in   (revision 8111)
+++ rules/iptables.in   (working copy)
@@ -2,6 +2,7 @@

 menuconfig IPTABLES
        prompt "iptables            "
+       select KERNEL
        bool
        help
          Iptables  is used to set up, maintain, and inspect the

> Any help on this is greatly appreciated and if needed I can provide
> my ptxconfig file here.

cheers, Marc

-- 
Pengutronix e.K.                         | Marc Kleine-Budde           |
Linux Solutions for Science and Industry | Phone: +49-231-2826-924     |
Vertretung West/Dortmund                 | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686         | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

--
ptxdist mailing list
[email protected]

Reply via email to