[oe] postinst scripts and opkg configure

Roman I Khimov khimov at altell.ru
Fri Apr 9 11:26:53 UTC 2010


В сообщении от Пятница 09 апреля 2010 14:53:22 автор Sergey Lapin написал:
> On Fri, Apr 9, 2010 at 2:39 PM, Roman I Khimov <khimov at altell.ru> wrote:
> > В сообщении от Пятница 09 апреля 2010 14:26:22 автор Sergey Lapin написал:
> >> So, with recent images I have to run all postinst scripts again on
> >> device for services
> >> like udev or dropbear to work. These packages get 'installed' status,
> >> so postinst
> >> scripts won't normally run during 'opkg configure', but /etc/rc*d
> >> links are not created for them during
> >> image build. Any ideas on fixing, or what is really being wrong here?
> >
> > Do "set -e" in the beginning of postinst if it can only do its job on
> > target. I have some patches adding that in queue.
> 
> I can't understand why creation of links won't work on host,
> because that will be a problem for filesystems like squashfs.

Actually, update-rc.d scripts should work on build host (that "$OPT" in script 
is exactly for that purpose) and so are update-alternatives (thanks to 
OPKG_OFFLINE_ROOT magic), so there might be something wrong with your setup.

What I was talking about is something more like postfix.




More information about the Openembedded-devel mailing list