grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] allow redirect of stderr in grub_util_exec*


From: Andrey Borzenkov
Subject: [PATCH 0/2] allow redirect of stderr in grub_util_exec*
Date: Mon, 16 Dec 2013 22:20:50 +0400

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]