All of lore.kernel.org
 help / color / mirror / Atom feed
* postinst scripts and opkg configure
@ 2010-04-09 10:26 Sergey Lapin
  2010-04-09 10:39 ` Roman I Khimov
  0 siblings, 1 reply; 9+ messages in thread
From: Sergey Lapin @ 2010-04-09 10:26 UTC (permalink / raw)
  To: openembedded-devel, Discussion of the angstrom distribution development

Hi, all!

If I understand properly, during image preparation, postinst scripts
for each package are run.
If they fail, package gets status 'unpacked'. Otherwise, it gets
status 'installed'.

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?
I build quite
small image, so very few packages need this, but for bigger one there
might be lots of them. Any ideas on fixing?
Also, 'configure' runs as S99configure in 'S' runlevel. That means
that if package installs something there
like update-rc.d S 01 . that will be executed only on reboot, so it
needs to execute these init scripts directly from postinst.
Am I right?

Thanks a lot,
S.



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-04-09 15:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-09 10:26 postinst scripts and opkg configure Sergey Lapin
2010-04-09 10:39 ` Roman I Khimov
2010-04-09 10:53   ` Sergey Lapin
2010-04-09 11:26     ` Roman I Khimov
2010-04-09 13:58       ` Sergey Lapin
2010-04-09 14:26         ` Mike Westerhof
2010-04-09 14:52           ` [PATCH] update-rc.d.bbclass: add dependency on update-rc.d-native Roman I Khimov
2010-04-09 11:19   ` [PATCH] rootfs_ipk.bbclass: run preinst/postinst scripts with "-e" Roman I Khimov
2010-04-09 15:48     ` Chris Larson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.