OpenWrt Forum Archive

Topic: Build image with pre-built packages

The content of this topic has been archived on 12 Feb 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,

I'm having some issues with building php5 from the svn source at the moment. However, since the rest of the image is working and I can install php5 manually once the image is on my router, I would like to include the php5 package which is available in the package repository on openwrt.org in my image together with my compiled sources.

Is there anyway to do it?

Hi Linkz,

Thank you for your response.
Unfortunatelly, the imagebuilder seems to be broken for my chipset (ar71xx) in the later releases of backfire.

I'm not entirely sure about this, but it can't hurt to give it a try:

Copy the php5 package (ipk) from the package repository into your build packages directory.  I think this is somewhere around target/image directory (I'm not at my Linux box right now)???  Then rebuild the image with "make target/install".

The discussion might have continued from here.