All of lore.kernel.org
 help / color / mirror / Atom feed
* sysvinit-2.86 fails
@ 2006-08-26 15:35 Mohammed Amine SAYA
  2006-08-26 20:20 ` Mohammed Amine SAYA
  0 siblings, 1 reply; 4+ messages in thread
From: Mohammed Amine SAYA @ 2006-08-26 15:35 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Linux Distributions

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 !!!

Any hint on that too please ?

Amine.



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

* Re: sysvinit-2.86 fails
  2006-08-26 15:35 sysvinit-2.86 fails Mohammed Amine SAYA
@ 2006-08-26 20:20 ` Mohammed Amine SAYA
  2006-08-27  7:48   ` pHilipp Zabel
  0 siblings, 1 reply; 4+ messages in thread
From: Mohammed Amine SAYA @ 2006-08-26 20:20 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Linux Distributions

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 ?


Regards,

Amine.





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

* Re: sysvinit-2.86 fails
  2006-08-26 20:20 ` Mohammed Amine SAYA
@ 2006-08-27  7:48   ` pHilipp Zabel
  2006-08-27 15:51     ` Mohammed Amine SAYA
  0 siblings, 1 reply; 4+ messages in thread
From: pHilipp Zabel @ 2006-08-27  7:48 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Linux Distributions

On 8/26/06, Mohammed Amine SAYA <amine.saya@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



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

* Re: sysvinit-2.86 fails
  2006-08-27  7:48   ` pHilipp Zabel
@ 2006-08-27 15:51     ` Mohammed Amine SAYA
  0 siblings, 0 replies; 4+ messages in thread
From: Mohammed Amine SAYA @ 2006-08-27 15:51 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Linux Distributions

pHilipp Zabel wrote:
>> 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.
>   
Hi All, Hi Philipp,

Thanks a lot for your help, this actually solves all the problems I 
reported before.
busybox, sysvinit are now working fine without tweaking their bb files.

Do you have any doc on BITBAKE variables. I know that DEPENDS and RDEPENDS
functions have changed with the new bitbake version, can you point me to 
a link
where all these variables are explained ?


Thanks again.

Best regards,
Amine.



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

end of thread, other threads:[~2006-08-27 14:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-26 15:35 sysvinit-2.86 fails Mohammed Amine SAYA
2006-08-26 20:20 ` Mohammed Amine SAYA
2006-08-27  7:48   ` pHilipp Zabel
2006-08-27 15:51     ` Mohammed Amine SAYA

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.