[Git-commits] [grml/grml-rescueboot] 395abc: Maintainer scripts: test for presence of grub.cfg, ...

Michael Prokop mika at grml.org
Mon Feb 20 14:58:26 CET 2012


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml-rescueboot
  Commit: 395abc5bda9903f9bbe0ecd1df63a59bdb6b0071
      https://github.com/grml/grml-rescueboot/commit/395abc5bda9903f9bbe0ecd1df63a59bdb6b0071
  Author: Michael Prokop <mika at grml.org>
  Date:   2012-02-20 (Mon, 20 Feb 2012)

  Changed paths:
    M debian/postinst
  M debian/postrm

  Log Message:
  -----------
  Maintainer scripts: test for presence of grub.cfg, don't execute update-grub otherwise

Let's do the same as memtest86+-4.20 does: test for presence of
/boot/grub/grub.cfg, if the file exists (and running some other
checks) we can execute update-grub, otherwise don't care....

This is supposed to address the annoying:

| /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).

issue which is showing up in minimal chroots on package removal.

Closes: #660588





More information about the Git-commits mailing list