1
0
mirror of synced 2026-04-15 15:49:48 +00:00

Support rinse 2.0

With rinse 2.0 the --arch option in mandatory. Let it default to the
Dom0's architecture.
This commit is contained in:
Axel Beckert
2012-06-07 14:48:47 +02:00
parent 05314c37cf
commit 5d1b6e0c13
2 changed files with 18 additions and 0 deletions

View File

@@ -821,7 +821,24 @@ sub do_rinse
{
$command .= " --arch $CONFIG{'arch'}";
}
else
{
my $uname_machine = `uname -m`;
chomp($uname_machine);
if ($uname_machine eq 'x86_64')
{
$command .= " --arch amd64";
}
elsif ($uname_machine =~ /^i[3-6]86$/) {
$command .= " --arch i386";
}
else
{
die "Local architecture ($uname_machine) not supported by rinse.\n".
"Please choose a supported installation architecture (i386 or amd64) explicitly."
}
}
#
# Propogate the verbosity setting.

1
debian/changelog vendored
View File

@@ -7,6 +7,7 @@ xen-tools (4.3~dev-1) UNRELEASED; urgency=low
- Supports creating Ubuntu 12.04 Precise and 12.10 Quantal DomUs
- Supports creating CentOS 6 DomUs (Thanks Johan Schurer)
+ Recommend rinse >= 1.9.1-1
- Supports rinse 2.0
- Updated mirror list for discontinued releases of Debian and Ubuntu
- Workaround for missing unit parsing in xen-create-nfs (Closes:
#648814)