Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 10/10] dhcpcd: use standard installation
Date: Fri, 14 Nov 2014 23:28:41 +0100	[thread overview]
Message-ID: <54668219.4090202@mind.be> (raw)
In-Reply-To: <1415969096-3032-11-git-send-email-gustavo@zacarias.com.ar>

On 14/11/14 13:44, Gustavo Zacarias wrote:
> Drop the custom/manual install cmds and do a normal make install.
> This gets dhcpcd-hooks installed which are useful for many accesory
> setup functions like dns, ntp server, and so on.
> Also install dhcpcd to /sbin since it's expected by debian ifupdown,

 Same think, network-manager.mk needs to be adapted.

 Regards,
 Arnout

> For busybox ifupdown when external dhcp clients are enabled (not in the
> default config we ship) will search the path.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  package/dhcpcd/dhcpcd.mk | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
> 
> diff --git a/package/dhcpcd/dhcpcd.mk b/package/dhcpcd/dhcpcd.mk
> index 5f7c1a6..abd871f 100644
> --- a/package/dhcpcd/dhcpcd.mk
> +++ b/package/dhcpcd/dhcpcd.mk
> @@ -35,12 +35,7 @@ define DHCPCD_BUILD_CMDS
>  endef
>  
>  define DHCPCD_INSTALL_TARGET_CMDS
> -	$(INSTALL) -D -m 0755 $(@D)/dhcpcd \
> -		$(TARGET_DIR)/usr/sbin/dhcpcd
> -	$(INSTALL) -D -m 0644 $(@D)/dhcpcd.conf \
> -		$(TARGET_DIR)/etc/dhcpcd.conf
> -	$(INSTALL) -D -m 0755 $(@D)/dhcpcd-run-hooks \
> -		$(TARGET_DIR)/libexec/dhcpcd-run-hooks
> +	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR)
>  endef
>  
>  # NOTE: Even though this package has a configure script, it is not generated
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

      reply	other threads:[~2014-11-14 22:28 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14 12:44 [Buildroot] [PATCHv2 00/10] systemV init without busybox series Gustavo Zacarias
2014-11-14 12:44 ` [Buildroot] [PATCH 01/10] skeleton/S40network: tweak for debian ifupdown Gustavo Zacarias
2014-11-14 21:33   ` Arnout Vandecappelle
2014-11-14 12:44 ` [Buildroot] [PATCH 02/10] dash: bump to 0.5.8-2 Gustavo Zacarias
2014-11-14 13:15   ` Thomas Petazzoni
2014-11-14 13:39     ` Peter Korsgaard
2014-11-14 13:42       ` Thomas Petazzoni
2014-11-14 13:49         ` Peter Korsgaard
2014-11-14 13:59           ` Gustavo Zacarias
2014-11-14 14:10             ` Peter Korsgaard
2014-11-14 14:14               ` Gustavo Zacarias
2014-11-14 14:16                 ` Peter Korsgaard
2014-11-14 12:44 ` [Buildroot] [PATCH 03/10] debianutils: new package Gustavo Zacarias
2014-11-14 21:35   ` Arnout Vandecappelle
2014-11-14 12:44 ` [Buildroot] [PATCH 04/10] ifupdown: " Gustavo Zacarias
2014-11-14 21:56   ` Arnout Vandecappelle
2014-11-14 22:25     ` Gustavo Zacarias
2014-11-14 12:44 ` [Buildroot] [PATCH 05/10] start-stop-daemon: " Gustavo Zacarias
2014-11-14 13:34   ` Károly Kasza
2014-11-14 13:42     ` Gustavo Zacarias
2014-11-14 13:49       ` Károly Kasza
2014-11-14 22:09   ` Arnout Vandecappelle
2014-11-14 22:26     ` Gustavo Zacarias
2014-11-14 12:44 ` [Buildroot] [PATCH 06/10] package/sysvinit: drop tty1/2 Gustavo Zacarias
2014-11-14 13:17   ` Thomas Petazzoni
2014-11-14 13:36   ` Peter Korsgaard
2014-11-14 12:44 ` [Buildroot] [PATCH 07/10] dhcp: install dhclient to /sbin Gustavo Zacarias
2014-11-14 22:17   ` Arnout Vandecappelle
2014-11-14 22:27     ` Gustavo Zacarias
2014-11-14 12:44 ` [Buildroot] [PATCH 08/10] dhcp: update dhclient-script Gustavo Zacarias
2014-11-14 13:19   ` Thomas Petazzoni
2014-11-14 13:54     ` Gustavo Zacarias
2014-11-14 12:44 ` [Buildroot] [PATCH 09/10] dhcpcd: bump to version 6.6.1 Gustavo Zacarias
2014-11-14 12:44 ` [Buildroot] [PATCH 10/10] dhcpcd: use standard installation Gustavo Zacarias
2014-11-14 22:28   ` Arnout Vandecappelle [this message]

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=54668219.4090202@mind.be \
    --to=arnout@mind.be \
    --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