1
0
mirror of synced 2026-02-20 05:45:15 +00:00

Compare commits

..

11 Commits

Author SHA1 Message Date
Axel Beckert
870ec1adac Call it a release (4.2.1) 2011-03-17 01:23:55 +01:00
Axel Beckert
8bd3206eff Unmount /proc and /dev/pts just before unmounting the disk image (Closes: #588783) 2011-03-17 01:23:15 +01:00
Axel Beckert
5bace3a7e2 Add new commandline option syntax check ipv4_or_auto (Closes: #611407) 2011-03-17 01:23:15 +01:00
Axel Beckert
cf9b356e6d tab -> 8 blanks 2011-03-17 01:23:15 +01:00
Axel Beckert
423ea8157d Mention Guillaume Pernot and his fix in AUTHORS and debian/changelog 2011-03-17 01:23:14 +01:00
Axel Beckert
0ba1ec6f55 Fix sarge amd64 mirror URL (it's now on archive.debian.org, too) 2011-03-17 01:23:14 +01:00
Guillaume Pernot
bfc8051b10 Fix installation of Sarge i386 on amd64 host (Closes: #611397) 2011-03-17 01:23:14 +01:00
Axel Beckert
c2b16e9a50 Mention Raphaël Halimi and his fix in AUTHORS and debian/changelog 2011-03-17 01:23:13 +01:00
Raphaël HALIMI
754e1c7c0c Fix role script editor crashes with dash (Closes: #605203) 2011-03-17 01:23:13 +01:00
Stéphane Jourdois
47bdce47d4 4.2 has been released
Move KNOWN_BUGS items to 4.3
2011-03-17 01:23:13 +01:00
Axel Beckert
7584bac380 Bump version to 4.2+dev for now, not sure if there will be a 4.2.1 or 4.3 next, maybe both 2011-03-17 01:23:13 +01:00
15 changed files with 46 additions and 22 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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; \

View File

@@ -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.

View File

@@ -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.

View File

@@ -171,7 +171,7 @@ my %CONFIG;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.2'; my $RELEASE = '4.2.1';

View File

@@ -101,7 +101,7 @@ $CONFIG{ 'prefix' } = "/etc/xen";
# #
# Release number. # Release number.
# #
my $RELEASE = '4.2'; my $RELEASE = '4.2.1';

View File

@@ -116,7 +116,7 @@ my %CONFIG;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.2'; my $RELEASE = '4.2.1';

View File

@@ -120,7 +120,7 @@ my %CONFIG;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.2'; my $RELEASE = '4.2.1';
# #

View File

@@ -156,7 +156,7 @@ $CONFIG{ 'extension' } = '.cfg';
# #
# Release number. # Release number.
# #
my $RELEASE = '4.2'; my $RELEASE = '4.2.1';

View File

@@ -98,7 +98,7 @@ my %CONFIG;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.2'; my $RELEASE = '4.2.1';

View File

@@ -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 = '';

View File

@@ -117,7 +117,7 @@ my %CONFIG;
# #
# Release number. # Release number.
# #
my $RELEASE = '4.2'; my $RELEASE = '4.2.1';
# #

14
debian/changelog vendored
View File

@@ -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

View File

@@ -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