grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: [PATCH 0/2] allow redirect of stderr in grub_util_exec*
Date: Mon, 16 Dec 2013 22:20:50 +0400	[thread overview]
Message-ID: <1387218052-22765-1-git-send-email-arvidjaar@gmail.com> (raw)
In-Reply-To: <20131216062201.45b549a4@opensuse.site>

> Hmm ... I'm not sure we really need it at all (in
> grub_install_get_default_x86_platform). Directory /sys/firmware/efi is
> not created by module efivars and we check whether this directory
> exists. I think it can safely be removed.

OK, it was changed relatively recently so we still need modprobe but
just need to silence it like it was before in shell code. What about
the following?

Andrey Borzenkov (2):
  consolidate grub_util_exec code
  use grub_util_exec_redirect_all to silence "moprobe efivars"

 grub-core/osdep/linux/platform.c |   4 +-
 grub-core/osdep/unix/exec.c      | 134 +++++++++++++++++++--------------------
 include/grub/emu/exec.h          |   3 +
 include/grub/osdep/exec_unix.h   |  39 ------------
 4 files changed, 70 insertions(+), 110 deletions(-)
 delete mode 100644 include/grub/osdep/exec_unix.h

-- 
1.8.4



  reply	other threads:[~2013-12-16 18:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-15 19:24 [grub-devel] fatal error message on grub-install for i386-pc (x86-64) with latest repo Javier Vasquez
2013-12-15 21:49 ` Javier Vasquez
2013-12-16  2:22 ` Andrey Borzenkov
2013-12-16 18:20   ` Andrey Borzenkov [this message]
2013-12-16 18:20     ` [PATCH 1/2] consolidate grub_util_exec code Andrey Borzenkov
2013-12-16 18:20     ` [PATCH 2/2] use grub_util_exec_redirect_all to silence "moprobe efivars" Andrey Borzenkov
2013-12-16 18:29       ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1387218052-22765-1-git-send-email-arvidjaar@gmail.com \
    --to=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).