mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
55208cc2e1
Add a package containing a pvgrub image for xen generated from grub2
11 lines
312 B
INI
11 lines
312 B
INI
# The parentheses around ${root} here to match Grub's config file syntax
|
|
if search -s -f /boot/grub/grub.cfg ; then
|
|
echo "Reading (${root})/boot/grub/grub.cfg"
|
|
configfile /boot/grub/grub.cfg
|
|
fi
|
|
|
|
if search -s -f /grub/grub.cfg ; then
|
|
echo "Reading (${root})/grub/grub.cfg"
|
|
configfile /grub/grub.cfg
|
|
fi
|