1
0
mirror of synced 2026-04-26 04:16:54 +00:00

Drop pygrub path detection from xm.tmpl

Xen prefers a path-less bootloader='pygrub'.
This commit is contained in:
Axel Beckert
2019-02-07 03:28:54 +01:00
parent 9817ff95c3
commit 1a5fd541cd
3 changed files with 5 additions and 14 deletions

View File

@@ -16,6 +16,8 @@ Bug Fixes
* Minor documentation fixes.
* Eliminate progress reporting which is useless in logs. (Yuri Sakhno,
GH #42)
* Drop pygrub path detection from xm.tmpl, Xen prefers a path-less
bootloader='pygrub'.
Distribution Releases Changes
-----------------------------

2
debian/changelog vendored
View File

@@ -19,6 +19,8 @@ xen-tools (4.8-1) UNRELEASED; urgency=medium
except those for the debian-archive. The latter now point to
archive.debian.org directly.
+ Set Ubuntu fallback suite to the latest LTS, i.e. 18.04 Bionic.
+ Drop pygrub path detection from xm.tmpl, Xen prefers a path-less
bootloader='pygrub'.
[ Nico Boehr ]
+ Add support for LVM thin provisioning.

View File

@@ -20,20 +20,7 @@
{
if ( $pygrub )
{
my $pygrub_bin = '';
foreach my $pygrub_path (reverse glob('/usr/lib/xen-default/bin/pygrub
/usr/lib/xen-*/bin/pygrub
/usr/*bin/pygrub
/usr/local/bin/pygrub')) {
if (-x $pygrub_path) {
$pygrub_bin = $pygrub_path;
last;
}
}
die "pygrub not found" unless $pygrub_bin;
$OUT .= "bootloader = '$pygrub_bin'\n";
$OUT .= "bootloader = 'pygrub'\n";
}
}
vcpus = '{$vcpus}'