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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1621A158451 for ; Tue, 9 Jan 2024 08:40:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E850E29F0; Tue, 9 Jan 2024 08:39:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 171EDE29E9 for ; Tue, 9 Jan 2024 08:39:26 +0000 (UTC) From: Florian Schmaus To: gentoo-dev@lists.gentoo.org Cc: Florian Schmaus Subject: [gentoo-dev] [PATCH v2 3/3] greadme.eclass: set UNPACKER_NO_BANNER Date: Tue, 9 Jan 2024 09:39:03 +0100 Message-ID: <20240109083914.242561-3-flow@gentoo.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240109083914.242561-1-flow@gentoo.org> References: <20240109083914.242561-1-flow@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 0581768b-cbef-4c42-84a2-e6b3a81df4e0 X-Archives-Hash: fe6435f9324cc6cf7e343ad885d1016e Signed-off-by: Florian Schmaus --- eclass/greadme.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/greadme.eclass b/eclass/greadme.eclass index 25e0210406c1..ec01d090cc10 100644 --- a/eclass/greadme.eclass +++ b/eclass/greadme.eclass @@ -174,7 +174,7 @@ greadme_pkg_preinst() { if [[ "${image_doc_file_basename}" == "${_GREADME_FILENAME}" ]]; then cp "${image_doc_file}" . || die else - nonfatal unpacker "${image_doc_file}" + UNPACKER_NO_BANNER=1 nonfatal unpacker "${image_doc_file}" if [[ $? -gt 0 ]]; then # We failed to unpack the readme doc from the # image, therefore, we can't show it (unless we @@ -222,7 +222,7 @@ greadme_pkg_preinst() { if [[ "${live_doc_file_basename}" == "${_GREADME_FILENAME}" ]]; then cp "${live_doc_file}" . else - nonfatal unpacker "${live_doc_file}" + UNPACKER_NO_BANNER=1 nonfatal unpacker "${live_doc_file}" if [[ $? -gt 0 ]]; then # We failed to unpack the live readme doc, fallback # to show the new readme contents. -- 2.41.0