From: Richard Genoud <richard.genoud@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] connman: install start script only if it doesn't already exists
Date: Tue, 20 Jan 2015 12:29:54 +0100 [thread overview]
Message-ID: <1421753394-32029-2-git-send-email-richard.genoud@gmail.com> (raw)
In-Reply-To: <1421753394-32029-1-git-send-email-richard.genoud@gmail.com>
That way, we can use a different start script in a custom skeleton.
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
---
package/connman/connman.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/connman/connman.mk b/package/connman/connman.mk
index 4d9b03ef1508..108ad848e92c 100644
--- a/package/connman/connman.mk
+++ b/package/connman/connman.mk
@@ -28,7 +28,8 @@ CONNMAN_DEPENDENCIES += \
$(if $(BR2_PACKAGE_CONNMAN_WISPR),gnutls)
define CONNMAN_INSTALL_INIT_SYSV
- $(INSTALL) -m 0755 -D package/connman/S45connman $(TARGET_DIR)/etc/init.d/S45connman
+ [ -f $(TARGET_DIR)/etc/init.d/S45connman ] || \
+ $(INSTALL) -m 0755 -D package/connman/S45connman $(TARGET_DIR)/etc/init.d/S45connman
endef
--
2.0.0
next prev parent 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 [Buildroot] [PATCH 1/2] dropbear: install start script only if it doesn't already exists Richard Genoud
2015-01-20 11:29 ` Richard Genoud [this message]
2015-01-20 16:22 ` 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-2-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