<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=890295905-28052009>Fix dropbear
install</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=890295905-28052009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=890295905-28052009>The -D option to
install only works portably when the destination is a file.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=890295905-28052009>Specifying the
filename avoids the following build error (at least on some
hosts):</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=890295905-28052009>"/usr/bin/install:
cannot overwrite directory
`/tmp/buildroot/project_build_foobar/uclibc/root/etc/init.d' with
non-directory"</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=890295905-28052009>Signed-off-by: Marc
Gauthier <marc@tensilica.com></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>diff --git a/package/dropbear/dropbear.mk
b/package/dropbear/dropbear.mk<BR>index e84df87..63d3daa 100644<BR>---
a/package/dropbear/dropbear.mk<BR>+++ b/package/dropbear/dropbear.mk<BR>@@ -28,7
+28,7 @@
$(DROPBEAR_TARGET_INSTALL_TARGET):<BR>
ln -snf ../sbin/dropbear
$(TARGET_DIR)/usr/bin/scp<BR> ln -snf
../sbin/dropbear
$(TARGET_DIR)/usr/bin/ssh<BR> if [ !
-f $(TARGET_DIR)/etc/init.d/S50dropbear ]; then
\<BR>-
$(INSTALL) -m 0755 -D package/dropbear/S50dropbear $(TARGET_DIR)/etc/init.d;
\<BR>+
$(INSTALL) -m 0755 -D package/dropbear/S50dropbear
$(TARGET_DIR)/etc/init.d/S50dropbear;
\<BR>
fi<BR> touch $@</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV></BODY></HTML>