Compare commits
11 Commits
release-4.
...
release-4.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
870ec1adac | ||
|
|
8bd3206eff | ||
|
|
5bace3a7e2 | ||
|
|
cf9b356e6d | ||
|
|
423ea8157d | ||
|
|
0ba1ec6f55 | ||
|
|
bfc8051b10 | ||
|
|
c2b16e9a50 | ||
|
|
754e1c7c0c | ||
|
|
47bdce47d4 | ||
|
|
7584bac380 |
6
AUTHORS
6
AUTHORS
@@ -33,6 +33,9 @@ Contributions
|
|||||||
Stefan Fritsch <sf [at] de.sfritsch>
|
Stefan Fritsch <sf [at] de.sfritsch>
|
||||||
- Contributed the policy-rc.d fixups for common.sh
|
- Contributed the policy-rc.d fixups for common.sh
|
||||||
|
|
||||||
|
Raphaël Halimi <raphael.halimi [at] com.gmail>
|
||||||
|
- Contribute bashism fix
|
||||||
|
|
||||||
Sven Hertge <sven [at] de.svenhartge>
|
Sven Hertge <sven [at] de.svenhartge>
|
||||||
- Bugfix for Debian/Gentoo package installation.
|
- Bugfix for Debian/Gentoo package installation.
|
||||||
|
|
||||||
@@ -62,6 +65,9 @@ Contributions
|
|||||||
Nathan O'Sullivan <nathan [at] au.com.mammoth>
|
Nathan O'Sullivan <nathan [at] au.com.mammoth>
|
||||||
- New features wrt. options and helper functions
|
- New features wrt. options and helper functions
|
||||||
|
|
||||||
|
Guillaume Pernot <gpernot [at] org.praksys>
|
||||||
|
- Fixed Sarge amd64 special case
|
||||||
|
|
||||||
Walter Reiner <walter [at] at.wreiner>
|
Walter Reiner <walter [at] at.wreiner>
|
||||||
- Provided --image-dev + --swap-dev patch.
|
- Provided --image-dev + --swap-dev patch.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
KNOWN BUGS in xen-tools
|
KNOWN BUGS in xen-tools
|
||||||
|
|
||||||
Bugs to fix before a 4.2 release
|
Bugs to fix before a 4.3 release
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
* xen-delete-image doesn't remove all logical volumes if --partitions is used.
|
* xen-delete-image doesn't remove all logical volumes if --partitions is used.
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -14,7 +14,7 @@
|
|||||||
#
|
#
|
||||||
TMP ?= /tmp
|
TMP ?= /tmp
|
||||||
DIST_PREFIX = ${TMP}
|
DIST_PREFIX = ${TMP}
|
||||||
VERSION = 4.2
|
VERSION = 4.2.1
|
||||||
DEBVERSION = $(shell echo $(VERSION)|sed 's/\(rc\|pre\|beta\|alpha\)/~\1/')
|
DEBVERSION = $(shell echo $(VERSION)|sed 's/\(rc\|pre\|beta\|alpha\)/~\1/')
|
||||||
BASE = xen-tools
|
BASE = xen-tools
|
||||||
VCS = $(shell if git ls-files > /dev/null; then echo git; \
|
VCS = $(shell if git ls-files > /dev/null; then echo git; \
|
||||||
|
|||||||
@@ -806,7 +806,7 @@ my $FAIL = 0;
|
|||||||
#
|
#
|
||||||
# Release number.
|
# Release number.
|
||||||
#
|
#
|
||||||
my $RELEASE = '4.2';
|
my $RELEASE = '4.2.1';
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -1560,6 +1560,10 @@ sub checkOption
|
|||||||
check => qr/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,
|
check => qr/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,
|
||||||
message => "must be valid IPv4.\n",
|
message => "must be valid IPv4.\n",
|
||||||
},
|
},
|
||||||
|
ipv4_or_auto => {
|
||||||
|
check => qr/^(?:auto|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))$/,
|
||||||
|
message => "must be valid IPv4 or the keyword 'auto'.\n",
|
||||||
|
},
|
||||||
hostname => {
|
hostname => {
|
||||||
check => qr/^[a-z0-9][a-z0-9.-]{0,254}$/i,
|
check => qr/^[a-z0-9][a-z0-9.-]{0,254}$/i,
|
||||||
message => "must be a valid hostname.\n",
|
message => "must be a valid hostname.\n",
|
||||||
@@ -1624,7 +1628,7 @@ sub checkOption
|
|||||||
output => 'existingDir',
|
output => 'existingDir',
|
||||||
extension => 'filename',
|
extension => 'filename',
|
||||||
mac => 'mac',
|
mac => 'mac',
|
||||||
ip => 'ipv4',
|
ip => 'ipv4_or_auto',
|
||||||
hash_method => 'hashMethod',
|
hash_method => 'hashMethod',
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -1918,9 +1922,10 @@ sub checkArguments
|
|||||||
# Sarge amd64 needs different default mirror
|
# Sarge amd64 needs different default mirror
|
||||||
#
|
#
|
||||||
if ( $CONFIG{ 'dist' } =~ /sarge/ and
|
if ( $CONFIG{ 'dist' } =~ /sarge/ and
|
||||||
|
$CONFIG{ 'arch' } =~ /amd64/ and
|
||||||
$CONFIG{ 'mirror_sarge' } eq 'http://archive.debian.org/debian' )
|
$CONFIG{ 'mirror_sarge' } eq 'http://archive.debian.org/debian' )
|
||||||
{
|
{
|
||||||
$CONFIG{ 'mirror_sarge' } = 'http://amd64.debian.net/debian';
|
$CONFIG{ 'mirror_sarge' } = 'http://archive.debian.org/debian-amd64';
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -3727,12 +3732,6 @@ sub runCustomisationHooks
|
|||||||
} else {
|
} else {
|
||||||
unlink "$MOUNT_POINT/etc/resolv.conf";
|
unlink "$MOUNT_POINT/etc/resolv.conf";
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
|
||||||
# Unmount /proc and /dev/pts in the guest install.
|
|
||||||
#
|
|
||||||
runCommand("umount $MOUNT_POINT/proc");
|
|
||||||
runCommand("umount $MOUNT_POINT/dev/pts");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -4261,6 +4260,12 @@ sub unMountImage
|
|||||||
{
|
{
|
||||||
my ($point) = (@_);
|
my ($point) = (@_);
|
||||||
|
|
||||||
|
#
|
||||||
|
# First we unmount /proc and /dev/pts in the guest install.
|
||||||
|
#
|
||||||
|
runCommand("umount $MOUNT_POINT/proc");
|
||||||
|
#runCommand("umount $MOUNT_POINT/dev/pts");
|
||||||
|
|
||||||
#
|
#
|
||||||
# Open /proc/mount and get a list of currently mounted paths
|
# Open /proc/mount and get a list of currently mounted paths
|
||||||
# which begin with our mount point.
|
# which begin with our mount point.
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ $CONFIG{ 'template' } = '/etc/xen-tools/xm-nfs.tmpl';
|
|||||||
#
|
#
|
||||||
# Release number.
|
# Release number.
|
||||||
#
|
#
|
||||||
my $RELEASE = '4.2';
|
my $RELEASE = '4.2.1';
|
||||||
|
|
||||||
|
|
||||||
# store version number away.
|
# store version number away.
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ my %CONFIG;
|
|||||||
#
|
#
|
||||||
# Release number.
|
# Release number.
|
||||||
#
|
#
|
||||||
my $RELEASE = '4.2';
|
my $RELEASE = '4.2.1';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ $CONFIG{ 'prefix' } = "/etc/xen";
|
|||||||
#
|
#
|
||||||
# Release number.
|
# Release number.
|
||||||
#
|
#
|
||||||
my $RELEASE = '4.2';
|
my $RELEASE = '4.2.1';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ my %CONFIG;
|
|||||||
#
|
#
|
||||||
# Release number.
|
# Release number.
|
||||||
#
|
#
|
||||||
my $RELEASE = '4.2';
|
my $RELEASE = '4.2.1';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ my %CONFIG;
|
|||||||
#
|
#
|
||||||
# Release number.
|
# Release number.
|
||||||
#
|
#
|
||||||
my $RELEASE = '4.2';
|
my $RELEASE = '4.2.1';
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ $CONFIG{ 'extension' } = '.cfg';
|
|||||||
#
|
#
|
||||||
# Release number.
|
# Release number.
|
||||||
#
|
#
|
||||||
my $RELEASE = '4.2';
|
my $RELEASE = '4.2.1';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ my %CONFIG;
|
|||||||
#
|
#
|
||||||
# Release number.
|
# Release number.
|
||||||
#
|
#
|
||||||
my $RELEASE = '4.2';
|
my $RELEASE = '4.2.1';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ use strict;
|
|||||||
#
|
#
|
||||||
# Release number.
|
# Release number.
|
||||||
#
|
#
|
||||||
my $RELEASE = '4.2';
|
my $RELEASE = '4.2.1';
|
||||||
|
|
||||||
# Init
|
# Init
|
||||||
my $mirror = '';
|
my $mirror = '';
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ my %CONFIG;
|
|||||||
#
|
#
|
||||||
# Release number.
|
# Release number.
|
||||||
#
|
#
|
||||||
my $RELEASE = '4.2';
|
my $RELEASE = '4.2.1';
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
14
debian/changelog
vendored
14
debian/changelog
vendored
@@ -1,3 +1,17 @@
|
|||||||
|
xen-tools (4.2.1-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* New upstream release
|
||||||
|
- Fixes bashism in "editor" roles script. Thanks Raphaël Halimi for
|
||||||
|
the patch! (Closes: #605203)
|
||||||
|
- Fixes missing architecture check in Sarge amd64 special case. Thanks
|
||||||
|
to Guillaume Pernot! (Closes: #611397) Also changes default Sarge
|
||||||
|
amd64 mirror to http://archive.debian.org/debian-amd64/.
|
||||||
|
- Allows --ip=auto again (Closes: #611407)
|
||||||
|
- Unmounts /proc and /dev/pts of the freshly installed DomU just
|
||||||
|
before unmounting the disk image. (Closes: #588783)
|
||||||
|
|
||||||
|
-- Axel Beckert <abe@debian.org> Thu, 17 Mar 2011 01:00:47 +0100
|
||||||
|
|
||||||
xen-tools (4.2-1) unstable; urgency=low
|
xen-tools (4.2-1) unstable; urgency=low
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
|
|||||||
@@ -61,8 +61,7 @@ for i in `find ${source} -name '*.sed' -print`; do
|
|||||||
#
|
#
|
||||||
# Get the name of the file, minus the source prefix
|
# Get the name of the file, minus the source prefix
|
||||||
#
|
#
|
||||||
sourcelen=${#source}
|
file=${i#$source}
|
||||||
file=/${i:$sourcelen}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Strip the .sed suffix
|
# Strip the .sed suffix
|
||||||
|
|||||||
Reference in New Issue
Block a user