[yocto] Core-image-weston network problems

Eirik Solberg Hamnvik eirik.solberg.hamnvik at tomra.com
Thu Jul 30 06:08:30 PDT 2015


Thanks! It worked out for me. I made a RC script and placed it in /etc/init.d/. In /etc/rc5.d/ I added a symlink which was after the network symlink. Worked great .

From: Burton, Ross [mailto:ross.burton at intel.com]
Sent: 30. juli 2015 11:06
To: Eirik Solberg Hamnvik
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Core-image-weston network problems


On 30 July 2015 at 06:28, Eirik Solberg Hamnvik <eirik.solberg.hamnvik at tomra.com<mailto:eirik.solberg.hamnvik at tomra.com>> wrote:
The perfect thing would be to make my package dependent on whichever package that configures the network settings, so I am guaranteed that it will download succesfully. Which one is that? Or are there any better solutions?

Don't use a postinstall script, which by definition has to run early.  Write a normal init script that deletes itself after completion and schedule it to come after networking (which is a can of worms, you'll have more luck if you use systemd here).

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150730/8b977571/attachment.html>


More information about the yocto mailing list