From patchwork Fri May 11 16:29:56 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: 912071 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.133; helo=hemlock.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="amA7Seil"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40jFtn2hL9z9ry1 for ; Sat, 12 May 2018 02:30:09 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 52B218A053; Fri, 11 May 2018 16:30:05 +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 sv8cgcz8gtmd; Fri, 11 May 2018 16:30:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 877368A055; Fri, 11 May 2018 16:30:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A34771C014B for ; Fri, 11 May 2018 16:30:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9F48C8A055 for ; Fri, 11 May 2018 16:30: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 ELySIuueDNLK for ; Fri, 11 May 2018 16:30:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by hemlock.osuosl.org (Postfix) with ESMTPS id C97188A052 for ; Fri, 11 May 2018 16:30:00 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id g21-v6so5898259wrb.8 for ; Fri, 11 May 2018 09:30:00 -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=PYEeGq4j5SPw70CZspBs1dzZK3zxif/T84/i92ls3ZU=; b=amA7SeilGaskAa1DbpN6oRysY/hLv2AYZh81Tp2GSvrgR9ksxbNAftjF2jK68ZmddI BksPBonNrWYMMHnnO8xJe0AMkCZ6zO0MQCnVD2ZBNz9VrSWeSG7niNqphMfYIccOltSk U+HEREcO04s481qrLkMUkrEjBVaxfLxgVkxWavH6E/BrfdTkQ9pC0c70aLHGllwuOVWV U3syA/pzmpB0gPLLk5SABbzx8Na0ZrHRR5Bv8xqbMExMHbvAcmgiN5s3StGuvJCPGX9n X5zbIQjGF4hiBw9MbloHhwm1tqzo/EHAr1MVtg5mDpeNEvEB2FjppbQ8iec80AZtdQiD pMXA== 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=PYEeGq4j5SPw70CZspBs1dzZK3zxif/T84/i92ls3ZU=; b=Gql853URZ8h8yzKIEe7n/n8adYNygj+siaX83rxKSZGPSRg0Lwlcv/eHm9YAVopTJ7 GE2haLt2NoI8xmjJzbG3wq0CNrQ67A21vjir2L8WmZjrTCa6k4xHPuPTu8Ww2YawF0yr MCNR7//wZ4c8O02Jd8Z2otYTzsqVKeMVJu0e1+wPQtYWHLrTSaarsz5Bsf+v5aLIJ8U/ b6oFfa+idIN++bEF36ZupCv7nWdVgmyU2CLRxNC4LFTyhGGhHhMkjnrJ44Q2+NF/m6Y8 t1IxWgD8dqdyykVbNu3sGkBu+CdTfEcn+dWs42LwpSvvbbP229If53vAhuSvISvWjoZD SjSg== X-Gm-Message-State: ALKqPwfXv4RwzuR0UskerQDlGf79QtJjFd7o+v0oZnG1s6GTSxyGzLTp SVUGR3b+5gza7Hu+JlPzGvo/og== X-Google-Smtp-Source: AB8JxZojXFyTU17A/YPvLkWzI8U/Syga4ySmFya2aNpJacItUfFfm78hlDfuwJ56ZdvOnRh3l4R10w== X-Received: by 2002:adf:8584:: with SMTP id 4-v6mr5575980wrt.15.1526056199004; 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.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 09:29:58 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Fri, 11 May 2018 18:29:56 +0200 Message-Id: <2a78d5915aa60e734043b5be2382202c96b608d7.1526056187.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: Subject: [Buildroot] [PATCH 1/2] package/asterisk: 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 asterisk sound 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 asterisk looks for its extra files. Reported-by: ***** ***** Signed-off-by: "Yann E. MORIN" Cc: ***** ***** Cc: Carlos Santos Cc: Maxime Hadjinlian --- package/asterisk/asterisk.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 28b85da562..f2f210b524 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -102,7 +102,7 @@ ASTERISK_CONF_OPTS = \ --with-libxml2 \ --with-ncurses="$(STAGING_DIR)/usr" \ --with-sqlite3="$(STAGING_DIR)/usr" \ - --with-sounds-cache=$(BR2_DL_DIR) + --with-sounds-cache=$(ASTERISK_DL_DIR) # avcodec are from ffmpeg. There is virtually zero chance this could # even work; asterisk is looking for ffmpeg/avcodec.h which has not