I believe we should be looking in $(PTXDIST_WORKSPACE)/projectroot for the user 
defined init script. The following patch corrects this:

--- openssh.make.orig   2007-04-04 11:01:55.000000000 -0400
+++ openssh.make        2007-04-04 11:02:16.000000000 -0400
@@ -180,7 +180,7 @@
 ifdef PTXCONF_ROOTFS_ETC_INITD_OPENSSH_USER
 # install users one
        @$(call install_copy, openssh, 0, 0, 0755, \
-               $(PTXDIST_WORKSPACE)/generic/etc/init.d/openssh, \
+               $(PTXDIST_WORKSPACE)/projectroot/etc/init.d/openssh, \
                /etc/init.d/openssh, n)
 endif
 #

Regards, Jari

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ladislav Michl
> Sent: Wednesday, April 04, 2007 7:01 AM
> To: ptxdist@pengutronix.de
> Subject: Re: [ptxdist] openssh patch
> 
> On Wed, Apr 04, 2007 at 10:11:42AM +0200, Manfred Gruber wrote:
> > hi !
> > 
> > i think this is correct patch that the link in /etc/rc.d 
> gets installed...
> > 
> > regards manfred
> 
> > --- openssh.make_ORIG       2007-04-04 10:05:20.649646586 +0200
> > +++ openssh.make    2007-04-04 10:05:25.680668897 +0200
> > @@ -161,7 +161,7 @@
> >             /usr/bin/ssh-keygen)
> >  endif
> >  
> > -ifdef PTXCONF_ROOTFS_ETC_INITD_SSHD
> > +ifdef PTXCONF_ROOTFS_ETC_INITD_OPENSSH
> >  ifdef PTXCONF_ROOTFS_ETC_INITD_OPENSSH_DEFAULT
> >  # install the generic one
> >     @$(call install_copy, openssh, 0, 0, 0755, \
> 
> Good catch. Applied, thanks.
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to