From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VscnI-0004yR-Rc for mharc-grub-devel@gnu.org; Mon, 16 Dec 2013 13:21:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vscn8-0004nV-Aa for grub-devel@gnu.org; Mon, 16 Dec 2013 13:21:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vscmw-0001Va-Tg for grub-devel@gnu.org; Mon, 16 Dec 2013 13:21:18 -0500 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:37309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vscmw-0001VM-Eb for grub-devel@gnu.org; Mon, 16 Dec 2013 13:21:06 -0500 Received: by mail-la0-f45.google.com with SMTP id eh20so2868802lab.32 for ; Mon, 16 Dec 2013 10:21:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=G65Geill6coVVmgC1kAzn/XWlbNlNqOUKiOyvH8C+I0=; b=kpfbbYz9mu5fif9Ks/t46SByXH/dKm9EE3FatE5Km7RIA/oQFbqBlyPabtqfzaP7ET KsYyWuYSGLLAzMmcRy5e+ZotADB0arzV8E7KzD9U5j3ptKNFojiGil6APNi5mRZL6XVC vVEOmdZs63r9v6EOVdEd+ivuwcKL4cJSHNTCdoCMfcpksz1PulRJB1TdKcF6MJDzPcmv 6jIMbp88MC32MfIaZXmrR1BKye2HFrzlldGC5iqp4C3Inx/+IaHlOllSekY7o7NvwOp3 IivS6kfGiBapbTAPnzT2GID/lR9Tq+SBMWQ3T+BlF8WcbZK8SSqCyB6o5aN+dmcqyikV baLA== X-Received: by 10.152.234.231 with SMTP id uh7mr7352776lac.10.1387218063744; Mon, 16 Dec 2013 10:21:03 -0800 (PST) Received: from localhost.localdomain (ppp91-76-134-134.pppoe.mtu-net.ru. [91.76.134.134]) by mx.google.com with ESMTPSA id y11sm10407016lbm.13.2013.12.16.10.21.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Dec 2013 10:21:03 -0800 (PST) From: Andrey Borzenkov To: grub-devel@gnu.org Subject: [PATCH 2/2] use grub_util_exec_redirect_all to silence "moprobe efivars" Date: Mon, 16 Dec 2013 22:20:52 +0400 Message-Id: <1387218052-22765-3-git-send-email-arvidjaar@gmail.com> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1387218052-22765-1-git-send-email-arvidjaar@gmail.com> References: <20131216062201.45b549a4@opensuse.site> <1387218052-22765-1-git-send-email-arvidjaar@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22d X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 18:21:27 -0000 --- grub-core/osdep/linux/platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grub-core/osdep/linux/platform.c b/grub-core/osdep/linux/platform.c index ec67aad..86561f7 100644 --- a/grub-core/osdep/linux/platform.c +++ b/grub-core/osdep/linux/platform.c @@ -69,8 +69,8 @@ grub_install_get_default_x86_platform (void) anyway later. So it should be safe to try to load it here. */ - grub_util_exec ((const char * []){ "modprobe", "-q", - "efivars", NULL }); + grub_util_exec_redirect_all ((const char * []){ "modprobe", "efivars", NULL }, + NULL, NULL, "/dev/null"); if (is_not_empty_directory ("/sys/firmware/efi")) { if (is_64_kernel ()) -- 1.8.4