From patchwork Fri May 11 16:29:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 912070 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="AxZ4ByLe"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40jFtm5vLqz9s19 for ; Sat, 12 May 2018 02:30:08 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9B9DD22044; Fri, 11 May 2018 16:30:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fFrLeD9Bmc5I; Fri, 11 May 2018 16:30:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 334E02FE43; Fri, 11 May 2018 16:30:05 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 9870E1C014B for ; Fri, 11 May 2018 16:30:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 956722FE43 for ; Fri, 11 May 2018 16:30:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jhEY1AOAh5bk for ; Fri, 11 May 2018 16:30:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by silver.osuosl.org (Postfix) with ESMTPS id B83DF22044 for ; Fri, 11 May 2018 16:30:01 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id i14-v6so5934010wre.2 for ; Fri, 11 May 2018 09:30:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=NkOWXSs/3W1EPicsFarcqv6uy+kWYcrt/QOvFc1wAaM=; b=AxZ4ByLenytBLjNlanQMx3HUpa2k0o4aW5iJ8jjP9AozZVIQOEfb1339EnBFERdvtV yGxouCX5O4OF6B0+1QeNZpCne1oOc4iXyoL5rX8omRH6tMxawIETEhXz17Kms0tDcIyD /uv9Y7zdt+jP1H1jduQKI7fXjQiXTCB2VVEWFY3QbsHWXExcmiTbhzbPJXLLnD3kwdup /6iKqtXdP/6GZSweyGlsg+TsDL80ak8Lmi+0CjJXL99l5MUUbdKEXBdsMwIm8CrP0lEL sNvx0dxxl37ScG8tSreG6WeZkH7ci0FAueKOI7kkXe7vWiiimX3eFBbOgCJ7wRxh2Rhn +gjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=NkOWXSs/3W1EPicsFarcqv6uy+kWYcrt/QOvFc1wAaM=; b=CtngrrTi+APtHYoiXbCnuxkDggHTIvvnYnhaTjlYxdp50tgzOHKn9T9q0QOkhg9qEA D5jdCqRIks20BfoqVQ+IB7Mr+pA00vmetltcdFrdbOBvecaZxBW1Ao9oJj+0ymPpGzX7 +i46UYcvxpoOQDWay7jVKcPAHBb4tpeL/pAHZhqU8B0o/Ra06eIfmjoEEoSJnLF6jEk5 A3b5sQ7bm2dZ31pVRO8zyhIVraaM3Y6Ym7zvhIwHWhAMOvpZeXJybG0NNffzUj+iZQhL MiHrXG12wb3regpJnEyZ++Y9uXMvXnDNj3TKlnaBre+lzB5e7uYZGRcGgYkAld/xI5mH l8sQ== X-Gm-Message-State: ALKqPwd4/QdSZhdQOVnnsBN+DSIQq5b83S23DcbN3J3n/Ob6E16kQ4Dj XfZgfGTHW2fuLsSQkrDQAhzMIQ== X-Google-Smtp-Source: AB8JxZqo8hMoWa0k0JgaiHVgmMVWbk5LnmyAWbEKmgDMQtZpgQ/pOExI2ua3LwKiVgdWOM3dsi9i4g== X-Received: by 2002:adf:9162:: with SMTP id j89-v6mr5132515wrj.196.1526056199973; Fri, 11 May 2018 09:29:59 -0700 (PDT) Received: from scaer.bzh.lan (2a01cb08861073007d790ea04b5b02b4.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:7d79:ea0:4b5b:2b4]) by smtp.gmail.com with ESMTPSA id t203-v6sm2495622wmt.33.2018.05.11.09.29.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 09:29:59 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Fri, 11 May 2018 18:29:57 +0200 Message-Id: <7cf1082497a62fa2ea47b0357101efa33b453aac.1526056187.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: Subject: [Buildroot] [PATCH 2/2] package/dahdi-linux: use package's DL_DIR X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E. MORIN" , ***** ***** , Maxime Hadjinlian MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Sicne we reworked the download infra, the location for packages to look for their files has moved to a per-package directory. For systems where a download of the dahdi firmware files was already done in a version prior to the rework, all was working fine so far, because the files were indeed in the main DL directory. But for systems where the download is first attempted after the rework, the files are not found (even though they are properly downloaded). Fix the location where dahdi-linux looks for its extra files. Reported-by: ***** ***** Signed-off-by: "Yann E. MORIN" Cc: ***** ***** Cc: Carlos Santos Cc: Maxime Hadjinlian --- package/dahdi-linux/dahdi-linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/dahdi-linux/dahdi-linux.mk b/package/dahdi-linux/dahdi-linux.mk index c042a14e53..6ac1e88943 100644 --- a/package/dahdi-linux/dahdi-linux.mk +++ b/package/dahdi-linux/dahdi-linux.mk @@ -56,7 +56,7 @@ DAHDI_LINUX_MODULE_MAKE_OPTS = \ define DAHDI_LINUX_EXTRACT_FW $(foreach f,$(DAHDI_LINUX_FW_FILES),\ - cp $(BR2_DL_DIR)/$(f) $(@D)/drivers/dahdi/firmware/$(f)$(sep)) + cp $(DAHDI_LINUX_DL_DIR)/$(f) $(@D)/drivers/dahdi/firmware/$(f)$(sep)) endef DAHDI_LINUX_POST_EXTRACT_HOOKS += DAHDI_LINUX_EXTRACT_FW