On Thu, Apr 28, 2011 at 04:13:25PM -0500, George McCollister wrote: > I have added host-opkg so opkg-cl is available for use in building an > ipk repository.
You need to add the patch 0001-use-scripts-with-offlineroot.patch from ipkg. Without it the post-install scripts are not called when creating the image. The scipts we have in ptxdist check $DESTDIR to decide what to do. Regards, Michael Olbrich > > Signed-off-by: George McCollister <george.mccollis...@gmail.com> > --- > rules/host-opkg.in | 11 +++++++++++ > rules/host-opkg.make | 45 +++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 56 insertions(+), 0 deletions(-) > create mode 100644 rules/host-opkg.in > create mode 100644 rules/host-opkg.make > > diff --git a/rules/host-opkg.in b/rules/host-opkg.in > new file mode 100644 > index 0000000..7309eb0 > --- /dev/null > +++ b/rules/host-opkg.in > @@ -0,0 +1,11 @@ > +## SECTION=hosttools_noprompt > + > +config HOST_OPKG > + tristate > + select HOST_OPKG_UTILS > + help > + opkg is used on the development host to install packets into > + some directory. Example: > + > + opkg-cl -o . --force-depends -f ../generic/etc/opkg.conf > install foo.ipk > + > diff --git a/rules/host-opkg.make b/rules/host-opkg.make > new file mode 100644 > index 0000000..c5da34f > --- /dev/null > +++ b/rules/host-opkg.make > @@ -0,0 +1,45 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2011 by George McCollister <george.mccollis...@gmail.com> > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +HOST_PACKAGES-$(PTXCONF_HOST_OPKG) += host-opkg > + > +# > +# Paths and names > +# > + > +HOST_OPKG = $(OPKG) > +HOST_OPKG_DIR = $(HOST_BUILDDIR)/$(HOST_OPKG) > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +HOST_OPKG_ENV := $(HOST_ENV) > + > +# > +# autoconf > +# > +HOST_OPKG_CONF_TOOL := autoconf > +HOST_OPKG_CONF_OPT := \ > + $(HOST_AUTOCONF) \ > + --enable-shave \ > + --with-opkglockfile=/lock > + > +HOST_OPKG_CONF_OPT += --disable-pathfinder > +HOST_OPKG_CONF_OPT += --disable-curl > +HOST_OPKG_CONF_OPT += --disable-sha256 > +HOST_OPKG_CONF_OPT += --disable-openssl > +HOST_OPKG_CONF_OPT += --disable-ssl-curl > +HOST_OPKG_CONF_OPT += --disable-gpg > + > +# vim: syntax=make > -- > 1.7.1 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de