[oe] sysvinit-2.86 fails

pHilipp Zabel philipp.zabel at gmail.com
Sun Aug 27 07:48:28 UTC 2006


On 8/26/06, Mohammed Amine SAYA <amine.saya at free.fr> wrote:
> Mohammed Amine SAYA wrote:
> > I got this :
> >
> >  ln:
> > `/home/users/asaya/Work/OpenEmbedded/OpenEmbedded-Dev1-mnt028/build/tmp/work/at91sam9261-linux/sysvinit-2.86-r28/image/etc/rc2.d/S99stop-bootlogd':
> > File exists
> >
> > I tried to fix it in sysvinit-2.86.bb file but with no success.
> > I tried to replace ln -s ../init.d/stop-bootlogd
> > ${D}${sysconfdir}/rc$level.d/S99stop-bootlogd with ln -sf ....
> > but It doesn't work either. I mean It builds successfully but
> > tmp/work/at91sam9261-linux/sysvinit-2.86-r28/image/etc/ is empty !!!
> >
> Hi all,
>
> As I said before, sysvinit don't build successfully so I replaced
>
> ln -s ../init.d/stop-bootlogd ${D}${sysconfdir}/rc$level.d/S99stop-bootlogd
>
> with
>
> ln -sf ../init.d/stop-bootlogd ${D}${sysconfdir}/rc$level.d/S99stop-bootlogd
>
>
> But I am not sure that is the right way ? Any comment on this workaround please ?

I think the problem lies here:

NOTE: package sysvinit-2.86-r28: task do_install: started
NOTE: package sysvinit-2.86-r28: task do_install: completed
NOTE: package sysvinit-2.86-r28: task do_package: started
ERROR: function do_install failed

PACKAGEFUNCS in package.bbclass contains do_install as first element,
so do_install is run twice. After removing do_install from
PACKAGEFUNCS, installation works fine.

regards
Philipp




More information about the Openembedded-devel mailing list