[Git-commits] [grml/grml-live] b17040: GRMLBASE/44-grub: explicitely set grub-mkimage's p...

Michael Prokop mika at grml.org
Fri Nov 18 11:34:54 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-live
  Commit: b17040d06f1447eeca0b72f736e51582999bf601
      https://github.com/grml/grml-live/commit/b17040d06f1447eeca0b72f736e51582999bf601
  Author: Michael Prokop <mika at grml.org>
  Date:   2016-11-18 (Fri, 18 Nov 2016)

  Changed paths:
    M etc/grml/fai/config/scripts/GRMLBASE/44-grub

  Log Message:
  -----------
  GRMLBASE/44-grub: explicitely set grub-mkimage's prefix path

At least with grub 2.02~beta3-1 the prefix is mandatory:

| Usage: grub-mkimage [OPTION...] [OPTION]... [MODULES]
| Try 'grub-mkimage --help' or 'grub-mkimage --usage' for more information.
| Prefix not specified (use the -p option).

Set it to what's the default e.g. in grub 2.02~beta2-36
as documented in its manpage:

|      -p, --prefix=DIR
|             set prefix directory [default=/boot/grub]

Related grub git commit message:

| commit 1440b7ebae47e1cb710e920bec9d88c4d75ff432
| Author: Andrey Borzenkov <arvidjaar at gmail.com>
| Date:   Sat Jan 25 19:54:51 2014 +0400
|
|     do not set default prefix in grub-mkimage
|
|     Default prefix is likely wrong on Unix and completely wrong on Windows.
|     Let caller set it explicitly to avoid any ambiguity.

Thanks: Darshaka Pathirana




More information about the Git-commits mailing list