From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A94C6138334 for ; Tue, 16 Jul 2019 14:54:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7AB7E0821; Tue, 16 Jul 2019 14:54:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CEA2BE0821 for ; Tue, 16 Jul 2019 14:54:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70EF5347CE3 for ; Tue, 16 Jul 2019 14:54:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0C866F1 for ; Tue, 16 Jul 2019 14:54:31 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1563288635.1c8e96a6f71513799cc9ef2697f18b9ec9348059.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_initramfs.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 1c8e96a6f71513799cc9ef2697f18b9ec9348059 X-VCS-Branch: master Date: Tue, 16 Jul 2019 14:54:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 54ef181d-aeae-40c5-a6b9-ba8a3bc96620 X-Archives-Hash: 207b179f13cd8ed32a83048e18c3b6ae commit: 1c8e96a6f71513799cc9ef2697f18b9ec9348059 Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Jul 16 14:50:35 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Jul 16 14:50:35 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=1c8e96a6 gen_initramfs.sh: create_initramfs(): When deduping CPIO, use --reproducible parameter Signed-off-by: Thomas Deutschmann gentoo.org> gen_initramfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 3203cac..9f8fa6d 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -1586,7 +1586,7 @@ create_initramfs() { || gen_die "Failed to pre-generate '${TDIR}/etc/ld.so.cache'!" fi - find . -print0 | cpio ${CPIO_ARGS} -F "${CPIO}" 2>/dev/null \ + find . -print0 | sort -z | cpio ${CPIO_ARGS} --reproducible -F "${CPIO}" 2>/dev/null \ || gen_die "rebuilding cpio for dedupe" else print_info 1 "$(get_indent 1)>> Cannot deduping cpio contents without root; Skipping ..."