]> git.proxmox.com Git - grub2.git/commit
Handle filesystems loop-mounted on file images
authorColin Watson <cjwatson@debian.org>
Mon, 13 Jan 2014 12:13:00 +0000 (12:13 +0000)
committerColin Watson <cjwatson@debian.org>
Fri, 16 Feb 2018 11:02:45 +0000 (11:02 +0000)
commit67aeec648cc3b3439d65f331adc5f757de3b1c78
tree05c981fa84cec53fdb455e03dda382a144f4000e
parent16281364fb7cca0c5830a4da660b6089b249ee50
Handle filesystems loop-mounted on file images

Improve prepare_grub_to_access_device to emit appropriate commands for
such filesystems, and ignore them in Linux grub.d scripts.

This is needed for Ubuntu's Wubi installation method.

This patch isn't inherently Debian/Ubuntu-specific.  losetup and
/proc/mounts are Linux-specific, though, so we might need to refine this
before sending it upstream.  The changes to the Linux grub.d scripts
might be better handled by integrating 10_lupin properly instead.

Patch-Name: mkconfig_loopback.patch
util/grub-mkconfig_lib.in
util/grub.d/10_linux.in
util/grub.d/20_linux_xen.in