Message ID | 20190907112240.1028433-5-git@esotericnonsense.com |
---|---|
State | New |
Headers | show
Return-Path: <arch-releng-bounces@archlinux.org> Delivered-To: patchwork@archlinux.org Received: from apollo.archlinux.org (localhost [127.0.0.1]) by apollo.archlinux.org (Postfix) with ESMTP id 1E683130FFFD4 for <patchwork@archlinux.org>; Sat, 7 Sep 2019 11:23:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on apollo X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=DKIM_INVALID=1, DKIM_SIGNED=0.1,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001 autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-BL-Results: <dns:1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.7.8.0.6.0.6.1.0.8.f.4.0.1.0.a.2.list.dnswl.org> [127.0.9.2] Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by apollo.archlinux.org (Postfix) with ESMTPS for <patchwork@archlinux.org>; Sat, 7 Sep 2019 11:23:16 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id 27F9E15323E14D; Sat, 7 Sep 2019 11:23:13 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [IPv6:2a01:4f8:160:3033::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS; Sat, 7 Sep 2019 11:23:13 +0000 (UTC) Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id 509952C450; Sat, 7 Sep 2019 11:22:56 +0000 (UTC) Authentication-Results: luna.archlinux.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=esotericnonsense.com header.i=@esotericnonsense.com header.b=JdbFFk39; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=YujdJ4SQ Received: from luna.archlinux.org (luna.archlinux.org [127.0.0.1]) by luna.archlinux.org (Postfix) with ESMTP id CAC4D2C3FD for <arch-releng@lists.archlinux.org>; Sat, 7 Sep 2019 11:22:52 +0000 (UTC) Received: from orion.archlinux.org (orion.archlinux.org [IPv6:2a01:4f8:160:6087::1]) by luna.archlinux.org (Postfix) with ESMTPS for <arch-releng@lists.archlinux.org>; Sat, 7 Sep 2019 11:22:52 +0000 (UTC) Received: from orion.archlinux.org (localhost [127.0.0.1]) by orion.archlinux.org (Postfix) with ESMTP id C24ED15323E0D6 for <arch-releng@archlinux.org>; Sat, 7 Sep 2019 11:22:48 +0000 (UTC) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by orion.archlinux.org (Postfix) with ESMTPS for <arch-releng@archlinux.org>; Sat, 7 Sep 2019 11:22:48 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id D1F84E79; Sat, 7 Sep 2019 07:22:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 07 Sep 2019 07:22:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= esotericnonsense.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; s=fm1; bh=t4qX/pirpjuP/wlE5ChKfnTQb7eatUaz+mBC6rj6SMY=; b=JdbFF k39KfGtV0C+xvtNz1kYLaQ8ANVUtszS4q4U9fThTP1AHOn4WRo/o/SnveIFX7y+W R9RV/4ljEz9usQhZ1ZsrPXcb24tdetOSyB1h8fK2NJtWlPaize6/tCetZ53aXRAW PnSu/DZbfY7jz45h65rn+qEuXIEE3OGv+RqxH+/74w8VxuDXxqyWRysJsDCjrUoo O0Y9Nk5S5pVje9azXM4D54srf3TDt8g3EN821LbnsROUgSMz2nN7OQdFcBPffnBC FyX9LplxcpzdwrJ4qASVQWnPwaWIDWDTsc6++urjpVIUNTp64BJ4va8NESbr0+bi Yacc5Zi+KdYRbtOCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=t4qX/pirpjuP/wlE5ChKfnTQb7eatUaz+mBC6rj6SMY=; b=YujdJ4SQ 87cf8zm6r3Kw2Yolg/Y+f0eVzlXZbZWt/ZFa0DxpgJXBmHfMlFMEvFWINI2S9TYJ /rptcDR5Fm53v9El2cTquOSABABqSKTF+7cFYmXWcpAU+chmT6fAhsz9bJk7/sPU 0kAg/kMhkfWPRFOs4qOUd76AxG0Xjoqn0UhNPurujC0GwaePv5Iy7Inp6DeIjH4b bsAtEaTPV932UAchi3JjUp8br/CtL9NuK8yn1BvS8BTctsGbWxART5BgI9h10GI+ eh9m1nPBkhmroalU47ILQ0eQ/QcbibIdNEQeBl7ktBWjLWgKTVymKcJRpcM3Pu/c uqSp4dhZFo6g0Q== X-ME-Sender: <xms:B5NzXWJmuRinzC1tgBkcidZ38VdeLX2Br_LvYSNGUFMiKjwa9ly_ww> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudekuddgfeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgorfhhihhshhhinhhgqdfkphfpvghtfihorhhkuc dlfedttddmnecujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhm peffrghnihgvlhcugfgughgvtghumhgsvgcuoehgihhtsegvshhothgvrhhitghnohhnsh gvnhhsvgdrtghomheqnecuffhomhgrihhnpehrvghprhhoughutghisghlvgdqsghuihhl ughsrdhorhhgnecukfhppedufeelrdduiedvrddufedurddvfeejnecurfgrrhgrmhepmh grihhlfhhrohhmpegvmhgrihhlsegvshhothgvrhhitghnohhnshgvnhhsvgdrtghomhen ucevlhhushhtvghrufhiiigvpeei X-ME-Proxy: <xmx:B5NzXSaZaRh7k4Q9QAXnZLQFjPKfFWbmYSgfNhzO84RFaaJjlzsGqQ> <xmx:B5NzXRtGQSnwNpbzHkKJZpieKHhcdXQTVKaGdyJX7XlLrYogUpqflw> <xmx:B5NzXfskqk9jXPO4TO6867Twm9bMuJCA78rBm6Lxn0ERsRDEGn96Pw> <xmx:B5NzXXUuTOLpUZB5eq22mN6Fc21yj7X9ofS-39bYv3O7NfwOo4-PNA> Received: from localhost.localdomain (test.electronrelocation.com [139.162.131.237]) by mail.messagingengine.com (Postfix) with ESMTPA id 26E69D60057; Sat, 7 Sep 2019 07:22:47 -0400 (EDT) From: Daniel Edgecumbe <git@esotericnonsense.com> To: arch-releng@archlinux.org Date: Sat, 7 Sep 2019 12:22:37 +0100 Message-Id: <20190907112240.1028433-5-git@esotericnonsense.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190907112240.1028433-1-git@esotericnonsense.com> References: <20190907112240.1028433-1-git@esotericnonsense.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [arch-releng] [PATCH 4/7] [releng] Cleanup ldconfig aux-cache X-BeenThere: arch-releng@archlinux.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Arch Linux Release Engineering <arch-releng.archlinux.org> List-Unsubscribe: <https://lists.archlinux.org/options/arch-releng>, <mailto:arch-releng-request@archlinux.org?subject=unsubscribe> List-Archive: <https://lists.archlinux.org/pipermail/arch-releng/> List-Post: <mailto:arch-releng@archlinux.org> List-Help: <mailto:arch-releng-request@archlinux.org?subject=help> List-Subscribe: <https://lists.archlinux.org/listinfo/arch-releng>, <mailto:arch-releng-request@archlinux.org?subject=subscribe> Reply-To: Arch Linux Release Engineering <arch-releng@archlinux.org> Cc: Daniel Edgecumbe <git@esotericnonsense.com> Errors-To: arch-releng-bounces@archlinux.org Sender: "arch-releng" <arch-releng-bounces@archlinux.org> |
Series |
Making archiso deterministic
|
expand
|
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 7b715ee..383a967 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -1,6 +1,7 @@ #!/bin/bash # SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2005-2019 Arch Linux Release Engineering Team +# Copyright (C) 2019 Daniel Edgecumbe <email@esotericnonsense.com> set -e -u @@ -196,6 +197,10 @@ _cleanup () { if [[ -d "${work_dir}/airootfs/var/tmp" ]]; then find "${work_dir}/airootfs/var/tmp" -mindepth 1 -delete fi + # Reproducibility: delete ldconfig aux-cache + if [[ -f "${work_dir}/airootfs/var/cache/ldconfig/aux-cache" ]]; then + rm "${work_dir}/airootfs/var/cache/ldconfig/aux-cache" + fi # Delete package pacman related files. find "${work_dir}" \( -name "*.pacnew" -o -name "*.pacsave" -o -name "*.pacorig" \) -delete _msg_info "Done!"
This file appears to be generated non-deterministically. It's not necessary, so just remove it. Motivation: https://reproducible-builds.org Signed-off-by: Daniel Edgecumbe <git@esotericnonsense.com> --- archiso/mkarchiso | 5 +++++ 1 file changed, 5 insertions(+)