Bug#852001: grub2: fix running build-efi-images as non-root

Colin Watson cjwatson at debian.org
Tue Jan 24 11:38:19 UTC 2017


Control: tag -1 pending

On Fri, Jan 20, 2017 at 04:59:50PM +0000, Luca Boccassi wrote:
> When running debian/build-efi-images as non-root the script fails
> because mkfs.msdos is not in the default PATH, being installed in /sbin.
> This trivial patch uses the full path to fix the build for non-root
> users and for automated build systems, removing the need to hack the
> default Debian PATH.

Thanks.  I took a slightly different approach to avoid breaking if
mkfs.msdos is ever moved to /bin in future:

  https://anonscm.debian.org/cgit/pkg-grub/grub.git/commit/?id=128487746598d3fac60569b11de12ffef58cd8f7

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Pkg-grub-devel mailing list