]> 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>
Tue, 9 Jul 2019 10:42:33 +0000 (11:42 +0100)
commiteac8d3f2f35c3478673698c800b21d425faf6326
tree6a8bbe46cf502449af2fdea56abbab3ba5d50650
parentb1e5197cab859b271d539c8e4a9f2928b23b66b2
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