Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "l.bolognini@tiscali.it" <l.bolognini@tiscali.it>
To: Open Embedded Mailing List <openembedded-devel@lists.openembedded.org>
Subject: S98configure role
Date: Thu, 14 Oct 2010 11:32:29 +0200 (CEST)	[thread overview]
Message-ID: <26434292.80091287048749327.JavaMail.defaultUser@defaultHost> (raw)

I'm wondering what is the role of this script, placed in /etc/rcS.d.

What I guess is that, for some reasons, some packages get installed but 
not configured (then unpacked) since their postinstall script returns 
non zero value.
Here it is a small extract of rootfs_ipk.bbclass:

for 
i in ${IMAGE_ROOTFS}${libdir}/opkg/info/*.postinst; do
                
if [ -f $i ] && ! sh -e $i configure; then
                        opkg-
cl ${IPKG_ARGS} flag unpacked `basename $i .postinst`
                
fi
done

For example, in my beagleboard, I get udev unpacked because 
udev-cache can't be found in /etc/init.d (sounds strange, it's there!).

Then udev remain unpacked but the magic S98configure heals udev, 
adjusting all stuff.
But, here is my question, what about the very 
first boot? Do I have a first boot without udev-cache?
Unfortunately at 
the moment I haven't the chance to investigate and burn a SD card and 
can't go further, however I'm very interested to listen to your 
opinions.

Thank you,
bye,
Luca



Supera i limiti: raddoppia la velocità da 10 a 20 Mega!   Risparmia con Tutto Incluso: telefono + adsl 20 mega a soli 26,60 € al mese per un anno!  SCONTO DI 160 EURO!  http://abbonati.tiscali.it/telefono-adsl/prodotti/tc/tuttoincluso/?WT.mc_id=01fw



             reply	other threads:[~2010-10-14  9:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14  9:32 l.bolognini [this message]
2010-10-14 14:01 ` S98configure role Chris Larson
2010-10-14 14:33   ` Hauser, Wolfgang (external)
2010-10-14 14:36     ` Chris Larson
2010-10-14 14:47       ` Hauser, Wolfgang (external)
  -- strict thread matches above, loose matches on Subject: below --
2010-10-14 14:45 l.bolognini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26434292.80091287048749327.JavaMail.defaultUser@defaultHost \
    --to=l.bolognini@tiscali.it \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox