From patchwork Sat Jun 16 22:06:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Bark X-Patchwork-Id: 930415 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=barkynet.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=barkynet-com.20150623.gappssmtp.com header.i=@barkynet-com.20150623.gappssmtp.com header.b="TIMvYEu/"; 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 417WfC11FZz9s37 for ; Sun, 17 Jun 2018 08:06:26 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E85CD22C31; Sat, 16 Jun 2018 22:06:23 +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 SajRb2wHFq-l; Sat, 16 Jun 2018 22:06:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6094622921; Sat, 16 Jun 2018 22:06:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 599B51C0D89 for ; Sat, 16 Jun 2018 22:06:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 56A2E879DA for ; Sat, 16 Jun 2018 22:06:20 +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 x-bBWrdcUdwB for ; Sat, 16 Jun 2018 22:06:19 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by whitealder.osuosl.org (Postfix) with ESMTPS id 93AD387A4B for ; Sat, 16 Jun 2018 22:06:19 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id d8-v6so13117235wro.4 for ; Sat, 16 Jun 2018 15:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=barkynet-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JEtqwRtSxsqIJ0gJcPM6oxMmeKcnhOlCFtCBXp+q2Kg=; b=TIMvYEu/x2bg5oyla7UdEqeNtkwToir22FiiZa1zbY6jmL+WVGsgp4+0fPet4LJgd6 jE1qy9ta2sAm+sY7aSjne2KndqGbQbQ0t0NXKkRD396kjCxry1Rw54nJzc+5jc11OJso P62BshNeRcxvjKEkfSmXvbxPeyIt3U3yB7CYfPvZvTmowd2yc4H3WCh0BDOBpyax1E2U LyiPlXQrUQH+mJC0Ji/himok5unUBST/TUQFfuAYTe7xy7rhRmld5klNoAJoyRJgl0AF yn7J5uZkKTurCs9FBYIyrNcTFzCpi/RI31Mkm7iloUMDMwJgthn1kRtgPpSoVigJO4gZ Z4eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JEtqwRtSxsqIJ0gJcPM6oxMmeKcnhOlCFtCBXp+q2Kg=; b=QezmN1wY12IFmAaO98s3QSzWaIk0OGGFuScyxt5d757I6nGRVmITsVRgVpM/dfkhJI cNyeFm2sddomCPVDSeq34ncQmTPjaGB3V/yVPQR1pnlnzEXtVpEkmOrjCJVrxhR0Mgw3 ap1EeZ4i4FQy/y/aLQfq3wSuozinZmPwIvnBJPYfy7J0kqjbLKSAtHqb69i8PX0NnhMQ MUzv0RzRHnE9CVNXdatSS22AibZmjZoHKyTC+q3oyOPJRs2jttkIK5y3FHpr4xj5s/6T xUYTBL32URlqiVu/PnQhZ7L61b+R9v7KTkvuoweNVlNohsyIsKsWI8AXgVYbnw83WXPP dgEA== X-Gm-Message-State: APt69E3P55C+2sIm7xwIbtf9sQyvEpt/TtrZfFFwaoxviE+KECL6NOdP NlR+8lmGDZP01bBRVtSkSSOY0oT5ygY= X-Google-Smtp-Source: ADUXVKIwRGEP9dK5DEMXkLCyFgqOoKEA/77kYlNL4cuQxBi8ADzJLo2rEy/SLaahwesNhHslLOIJjg== X-Received: by 2002:adf:ed52:: with SMTP id u18-v6mr5571299wro.262.1529186777826; Sat, 16 Jun 2018 15:06:17 -0700 (PDT) Received: from sideshow.home.barkynet.com (barkynet.plus.com. [80.229.219.126]) by smtp.googlemail.com with ESMTPSA id c201-v6sm7808353wmh.18.2018.06.16.15.06.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jun 2018 15:06:17 -0700 (PDT) From: Martin Bark To: buildroot@buildroot.org Date: Sat, 16 Jun 2018 23:06:00 +0100 Message-Id: <20180616220601.4629-3-martin@barkynet.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180616220601.4629-1-martin@barkynet.com> References: <20180616220601.4629-1-martin@barkynet.com> Subject: [Buildroot] [PATCH v2 2/3] package/ca-certificates: fix rebuilds 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: Martin Bark MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Rebuilding ca-certificates using make ca-certificates-rebuild caused duplicate certificates to be installed in the target. Fix this by cleaning the build directory before building the package. Signed-off-by: Martin Bark --- package/ca-certificates/ca-certificates.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/ca-certificates/ca-certificates.mk b/package/ca-certificates/ca-certificates.mk index 9685d0e6f0..1df9543e03 100644 --- a/package/ca-certificates/ca-certificates.mk +++ b/package/ca-certificates/ca-certificates.mk @@ -16,7 +16,7 @@ CA_CERTIFICATES_LICENSE = GPL-2.0+ (script), MPL-2.0 (data) CA_CERTIFICATES_LICENSE_FILES = debian/copyright define CA_CERTIFICATES_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) clean all endef define CA_CERTIFICATES_INSTALL_TARGET_CMDS