From patchwork Fri Nov 14 12:44:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 410814 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 09C9E1400A0 for ; Fri, 14 Nov 2014 23:47:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 57D0F95318; Fri, 14 Nov 2014 12:47:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5FM2Di8UJNT1; Fri, 14 Nov 2014 12:47:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C38A9953B9; Fri, 14 Nov 2014 12:47:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 19B681C2C95 for ; Fri, 14 Nov 2014 12:46:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 114308B421 for ; Fri, 14 Nov 2014 12:46:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vN0mbkt8qYKr for ; Fri, 14 Nov 2014 12:46:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.zacarias.com.ar (www.zacarias.com.ar [62.210.192.172]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5BA518B218 for ; Fri, 14 Nov 2014 12:46:58 +0000 (UTC) Received: from asgard (cpe-181-46-99-160.telecentro-reversos.com.ar [181.46.99.160] (may be forged)) (authenticated bits=0) by www.zacarias.com.ar (8.14.9/8.14.9) with ESMTP id sAECkpEu001546 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 14 Nov 2014 12:46:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1415969216; bh=xELlubKaOaivb7OP3k99VETFCusJOHgmszlrbUZ2c3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TkMiecb8ZWQIzHv4WMmV27yyC7RtpmMqAkOCOMP2/o+0f61OZZvl+05iaDI/KbihM DTaLO2yfc5Yy3W+2aQz3SBBHDY7aFndwlXt3hg63Ojjn/VtlULiA2aF0sl5Lg8Gfgc lKgTliHSk2lqJAyPIs6t4DFsNQniBpWC7NRecbVM= Received: by asgard (sSMTP sendmail emulation); Fri, 14 Nov 2014 09:46:46 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Fri, 14 Nov 2014 09:44:56 -0300 Message-Id: <1415969096-3032-11-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1415969096-3032-1-git-send-email-gustavo@zacarias.com.ar> References: <1415969096-3032-1-git-send-email-gustavo@zacarias.com.ar> X-Virus-Scanned: clamav-milter 0.98.4 at www X-Virus-Status: Clean Subject: [Buildroot] [PATCH 10/10] dhcpcd: use standard installation X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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, 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 --- 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