[#4260] user/ssh fails build at [romfs] stage

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4260] user/ssh fails build at [romfs] stage

Submitted By: David Gravereaux

Open Date

2008-07-17 21:01:49     Close Date

2008-10-20 13:31:08

Priority:

Medium     Assignee:

Mike Frysinger

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

svn trunk, up'd an hour ago

Category:

Custom applications     Board:

STAMP

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

svn trunk

App binary format:

N/A     

Summary: user/ssh fails build at [romfs] stage

Details:

 

error looked something like this (I lost the scrollback):

 

make[2]: Entering directory `/home/davygrvy/blackfin-sources/uclinux-dist/user/ssh'

romfs-inst.sh -e CONFIG_USER_SSH_SSH build/ssh /bin/ssh

romfs-inst.sh -e CONFIG_USER_SSH_SSH /etc/default/ssh_config

error: /home/davygrvy/blackfin-sources/uclinux-dist/romfs/etc/default/ssh_config : no such file or directory

 

The failed call should be:

romfs-inst.sh -d -e CONFIG_USER_SSH_SSH ssh_config /etc/default/ssh_config

 

found in user/ssh/makefile.  Same fix needed for sshd_config as well.  Patch is attached.

 

Follow-ups

 

--- Mike Frysinger                                           2008-07-17 21:33:33

i think all the /etc/default paths should be changed to /etc/ssh ... have you

tested this change to see if it works ?

 

also, people generally dont use openssh on their boards.  dropbear is much

smaller and lightweight, so they use that over openssh ...

 

--- David Gravereaux                                         2008-07-17 22:56:58

No, I haven't tested it.  Maybe tomorrow I'll get to flashing my 537-stamp..

Thanks for the advice on dropbear.  That's what my OpenWRT router uses and had

forgotten.

 

--- Sonic Zhang                                              2008-07-25 04:14:40

use dropbear instead.

 

--- Robin Getz                                               2008-07-25 09:49:32

Using dropbear is a great workaround (and is a solution for getting ssh on the

target), but that does not change the fact that ssh should work, but doesn't

install properly.

 

I don't understand why this was rejected.

 

--- Mike Frysinger                                           2008-10-09 01:59:12

should be fixed in trunk now

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

patch.txt    text/plain    832    David Gravereaux

Attachments

Outcomes