From: Richard Genoud <richard.genoud@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] dropbear: install start script only if it doesn't already exists
Date: Tue, 20 Jan 2015 12:29:53 +0100 [thread overview]
Message-ID: <1421753394-32029-1-git-send-email-richard.genoud@gmail.com> (raw)
That way, we can use a different start script in a custom skeleton.
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
---
package/dropbear/dropbear.mk | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk
index 696095dc4f40..ab2456dae0bd 100644
--- a/package/dropbear/dropbear.mk
+++ b/package/dropbear/dropbear.mk
@@ -54,8 +54,9 @@ endef
ifeq ($(BR2_USE_MMU),y)
define DROPBEAR_INSTALL_INIT_SYSV
- $(INSTALL) -D -m 755 package/dropbear/S50dropbear \
- $(TARGET_DIR)/etc/init.d/S50dropbear
+ [ -f $(TARGET_DIR)/etc/init.d/S50dropbear ] || \
+ $(INSTALL) -D -m 755 package/dropbear/S50dropbear \
+ $(TARGET_DIR)/etc/init.d/S50dropbear
endef
else
DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_DISABLE_STANDALONE
--
2.0.0
next reply other threads:[~2015-01-20 11:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 11:29 Richard Genoud [this message]
2015-01-20 11:29 ` [Buildroot] [PATCH 2/2] connman: install start script only if it doesn't already exists Richard Genoud
2015-01-20 16:22 ` [Buildroot] [PATCH 1/2] dropbear: " Thomas Petazzoni
2015-01-23 14:43 ` Richard Genoud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1421753394-32029-1-git-send-email-richard.genoud@gmail.com \
--to=richard.genoud@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox