Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1qJ3dX-0001e4-5N for mharc-grub-devel@gnu.org; Mon, 10 Jul 2023 23:01:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJ3dU-0001cV-0f for grub-devel@gnu.org; Mon, 10 Jul 2023 23:01:56 -0400 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qJ3dR-0006Ro-Fx for grub-devel@gnu.org; Mon, 10 Jul 2023 23:01:55 -0400 Received: by mail-qk1-x730.google.com with SMTP id af79cd13be357-7659c6cae2cso372358185a.1 for ; Mon, 10 Jul 2023 20:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20221208.gappssmtp.com; s=20221208; t=1689044511; x=1691636511; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=D+rw746exVq+GcRo7PP2d0V0q905dJnOFVGSrLU7R1c=; b=kv8IUleEQRRUhOQlBKamoU3JOjJQbe1w6SAzoH7w1jXHXfDwI3XvBHn5lywJT18Cp2 Mt3FtyFS4OdPGSjBeC8o5xA0ZzrHxPAH7y+HqshlsZEvrI1IxlLFPDoN0PMlsVwMTcBI obK6iw/g5azJL5UraycuAQJABp6HFR/3djh1ORK89PHh8dx9zJ9n4WyZMSau0SXikz9Z PZGrtW4fkqDwyUNjHtRDUCjHCxJ2jjw+bW/+KRsmMm3oO7zQHECqK2GX1pcaQXM+GQg6 vNfezjIYhgqchrJlbct214Oo0p9KJkpVApvT6CLWdwxrCDGSGpcjmYhAbZBNotZ7fucC 5VFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689044511; x=1691636511; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D+rw746exVq+GcRo7PP2d0V0q905dJnOFVGSrLU7R1c=; b=aAhGaqZ48zf/H2SlkhZMQvZWISVfxt/Y+E2ExjIneFxPTNzu9KNMDBzfNDpC/jKHsW w3Z182kkJNNl20mu3HPAjwXhMp3JmYt7W5JMO05xAYaRfnSlqtoc0MW6/YD0D8mTca1L ZyIKkVRZlsrHrq6z991MWB9Rgjqqr8psvkiFa3mSdTxRIWqyXuHLAeyXt5iF1pylVY6p zmk7BR9LYHTWFDm1pOw1aFt1ZJ9VwRUtf7++bxUHZp6PhvoNX6CTa4J/uDdxunSkAOxQ JWIVo29ihiXdi1XPHH5uAp2nj2TnJYImLeXeK8VMdM/+krAnQtRsChdEGheRXs/HDqsY 4o7A== X-Gm-Message-State: ABy/qLZXyx0C2ylGwwbHynsmNxRxYYz314ztjvhBn7NiDqtddBoDR+6z C/XQcbd+MYYR2CflJb040qxZc+S+HH+1ZD4n0hE= X-Google-Smtp-Source: APBJJlFVeMiZBeLp52gDtjfLZYVlAUFftF7RiwD5cYhq3PhHCbVhwoD8WFGPQV+SmN7/oCJGKKe60w== X-Received: by 2002:a05:620a:8ecb:b0:767:7d99:650 with SMTP id rg11-20020a05620a8ecb00b007677d990650mr11355638qkn.65.1689044511458; Mon, 10 Jul 2023 20:01:51 -0700 (PDT) Received: from localhost.localdomain ([37.218.244.249]) by smtp.gmail.com with ESMTPSA id w21-20020ab055d5000000b00789a6c15851sm114480uaa.13.2023.07.10.20.01.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 20:01:50 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Glenn Washburn Subject: [PATCH 1/4] grub-shell: Add --verbose to mkrescue when $debug is greater than 2 Date: Mon, 10 Jul 2023 22:01:16 -0500 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::730; envelope-from=development@efficientek.com; helo=mail-qk1-x730.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2023 03:01:56 -0000 Since this is fairly verbose output, do not enable first level of debug is turned on. Signed-off-by: Glenn Washburn --- tests/util/grub-shell.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in index a0ca18e41c3f..5cbe79447e99 100644 --- a/tests/util/grub-shell.in +++ b/tests/util/grub-shell.in @@ -422,7 +422,9 @@ fi if [ x$boot != xnet ] && [ x$boot != xemu ]; then pkgdatadir="${builddir}" \ - exec_show_error "${builddir}/grub-mkrescue" "--output=${isofile}" \ + exec_show_error "${builddir}/grub-mkrescue" \ + ${debug:+$([ "$debug" -gt 2 ] && echo -n "--verbose")} \ + "--output=${isofile}" \ "--override-directory=${builddir}/grub-core" \ --rom-directory="${rom_directory}" \ --locale-directory="${srcdir}/po" \ -- 2.34.1