On Wed, Oct 23, 2013 at 01:05:11PM -0700, ggmartins wrote:
> > @@ -3649,6 +3649,7 @@ CONFIG_PACKAGE_bismark-extras=m
> >  CONFIG_PACKAGE_bismark-health=y
> >  CONFIG_PACKAGE_bismark-mgmt=y
> >  CONFIG_PACKAGE_bismark-netexp=y
> > +CONFIG_PACKAGE_bismark-opkg-keys=m
> 
> that's what I did in Makefile, but hooks only runs when the pkg is installed via module, right? I'm seeing a --force-postinstall opt in opkg, but doesn't look like your are considering any option in this sense ...

Actually, hooks do get run even when you build the package into the
image. You'll see a $IPKG_INSTROOT variable in some postinstall hooks
(e.g., /utils/bismark-updater/Makefile); this variable contains the path
of the "root" directory when installing the package into the image on
the build server.

> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/projectbismark/bismark-openwrt-overlay/pull/10/files#r7169733