Re: [GRUB PARTUUID PATCH V10 4/4] Update grub script template files

2018-04-17 Thread Daniel Kiper
On Mon, Apr 16, 2018 at 10:36:26PM -0700, Nicholas Vinson wrote: > Update grub-mkconfig.in and 10_linux.in to support grub-probe's new > partuuid target. Update grub.texi documentation. The following table > shows how GRUB_DISABLE_LINUX_UUID, GRUB_DISABLE_LINUX_PARTUUID, and > initramfs detection

Re: [GRUB PARTUUID PATCH V10 4/4] Update grub script template files

2018-04-17 Thread Nick Vinson
On 04/17/2018 06:36 AM, Daniel Kiper wrote: > On Mon, Apr 16, 2018 at 10:36:26PM -0700, Nicholas Vinson wrote: >> Update grub-mkconfig.in and 10_linux.in to support grub-probe's new >> partuuid target. Update grub.texi documentation. The following table >> shows how GRUB_DISABLE_LINUX_UUID, GRUB_

Re: [PATCH] pass kernel command line as verbatim

2018-04-17 Thread Daniel Kiper
On Wed, Apr 11, 2018 at 05:17:03PM +0800, Michael Chang wrote: > And this bug report seems relevant .. > > https://savannah.gnu.org/bugs/?49937 > > On Wed, Apr 11, 2018 at 04:58:54PM +0800, Michael Chang wrote: > > The command line has been processed by grub shell, then the result is > > expected

Re: [PATCH] bufio: fix the next_buf calculation

2018-04-17 Thread Daniel Kiper
CC-ing Vladimir. On Mon, Apr 16, 2018 at 06:05:04PM +0800, Michael Chang wrote: > The next_buf is the offset to the next cached block rounded to the size of > bufio->block_size. However the calculation needs the block_size to be in power > of 2 is not always valid. As an example, files with smalle

Re: [GRUB PARTUUID PATCH V10 4/4] Update grub script template files

2018-04-17 Thread Daniel Kiper
On Tue, Apr 17, 2018 at 08:20:45AM -0700, Nick Vinson wrote: > On 04/17/2018 06:36 AM, Daniel Kiper wrote: > > On Mon, Apr 16, 2018 at 10:36:26PM -0700, Nicholas Vinson wrote: > >> Update grub-mkconfig.in and 10_linux.in to support grub-probe's new > >> partuuid target. Update grub.texi documentat

Re: [PATCH v3] grub-install: locale depends on nls

2018-04-17 Thread Daniel Kiper
On Fri, Apr 13, 2018 at 11:36:49PM +0200, Olaf Hering wrote: > With --disable-nls no locales exist. > > Avoid runtime error by moving code that copies locales into its own > function. Return early in case nls was disabled. That way the compiler > will throw away unreachable code, no need to put pre

Re: [PATCH RFC] Proposition of a --auto-nvram option for grub-install

2018-04-17 Thread Daniel Kiper
On Thu, Apr 12, 2018 at 07:09:58PM +0200, Lukasz Zemczak wrote: > Hello everyone, > > I'm writing to this list since I would like to get some feedback on an > additional option to the grub-install tool we would find very > convenient to have. The diff is attached to the e-mail (also available > as

Re: Multiboot ELF segment handling patch

2018-04-17 Thread Daniel Kiper
Hi Alexander, On Sat, Apr 14, 2018 at 12:07:29AM +0200, Alexander Boettcher wrote: > Hello, > > On 06.04.2018 14:28, Daniel Kiper wrote: > > On Thu, Mar 29, 2018 at 11:20:37AM +0200, Alexander Boettcher wrote: > > > >> Can you please have a look and check regarding what should/could be > >> change

Re: Multiboot ELF segment handling patch

2018-04-17 Thread Konrad Rzeszutek Wilk
On April 17, 2018 3:40:11 PM EDT, Daniel Kiper wrote: >Hi Alexander, > >On Sat, Apr 14, 2018 at 12:07:29AM +0200, Alexander Boettcher wrote: >> Hello, >> >> On 06.04.2018 14:28, Daniel Kiper wrote: >> > On Thu, Mar 29, 2018 at 11:20:37AM +0200, Alexander Boettcher >wrote: >> > >> >> Can you please

[RFC] Add support for BTRFS raid5/6 to GRUB

2018-04-17 Thread Goffredo Baroncelli
Hi All, Below you can find a patch to add support for accessing files from grub in a RAID5/6 btrfs filesystem. This is a RFC because it is missing the support for recovery (i.e. if some devices are missed). In the next days (weeks ?) I will extend this patch to support also this case. Comments