]>
xenbits.xensource.com Git - people/dariof/xen-tools.git/log
Axel Beckert [Thu, 18 Apr 2013 18:41:51 +0000 (20:41 +0200)]
Remove all redundant pod-inline occurrences of "=cut"
Also care that there are always two blank lines before each "=head1"
(except behind "=head1 NAME").
Axel Beckert [Thu, 18 Apr 2013 18:09:11 +0000 (20:09 +0200)]
Remove unused Perl modules Xen::Tools and Xen::Tools::Log
Further developement of the (if any) will happen in the git branch
"xen-tools-moose" where they are still available.
Also remove the according (already disabled) tests and test
modifications from the test suite.
Also remove no the more needed build-dependency on Moose as well as
one Makefile line installing the above mentioned Perl modules.
Axel Beckert [Thu, 18 Apr 2013 14:26:55 +0000 (16:26 +0200)]
t/xen-delete-image.t: Check xen-delete-image exit code
Also run xen-delete-image verbose and print output.
Axel Beckert [Thu, 18 Apr 2013 13:31:47 +0000 (15:31 +0200)]
Properly clean up after t/xt-create-xen-config.t
Axel Beckert [Thu, 18 Apr 2013 13:03:17 +0000 (15:03 +0200)]
Refactor some code duplication in xen-delete-image
Axel Beckert [Thu, 18 Apr 2013 12:45:27 +0000 (14:45 +0200)]
Hopefully catch all remaining "ARRAY(0x…).log" issues
Axel Beckert [Thu, 18 Apr 2013 11:52:45 +0000 (13:52 +0200)]
Rework xci POD: New SYNOPSIS; add EXAMPLES, rename old SYNOPSIS to OPTIONS
Axel Beckert [Tue, 16 Apr 2013 16:03:33 +0000 (18:03 +0200)]
Add reference for the three types of MAC relevant for DomUs
Axel Beckert [Tue, 16 Apr 2013 15:57:12 +0000 (17:57 +0200)]
Axel's Break-Backwards-Compatibility Wishlist: MAC stuff
Axel Beckert [Thu, 11 Apr 2013 17:49:53 +0000 (19:49 +0200)]
Merge branch 'lib-vs-share'
Axel Beckert [Thu, 11 Apr 2013 17:47:05 +0000 (19:47 +0200)]
xt-install-image: Don't bail out if only cdebootstrap is installed
There was a duplicated check on debootstrap being installed and only
one has been expanded when cdebootstrap support was added. So
xen-tools bailed out if debootstrap wasn't installed even if it had
been instructed to use cdebootstrap instead.
This also adds support for cdebootstrap-static.
Additionally xt-install-image dispatcher has been extended to hand
array refs of command paths instead of just single command paths.
Thanks to Elmar Heeb for reporting this issue!
Axel Beckert [Thu, 11 Apr 2013 17:18:41 +0000 (19:18 +0200)]
Update debian/changelog
Axel Beckert [Thu, 11 Apr 2013 13:59:42 +0000 (15:59 +0200)]
Mention http.debian.net as default mirror also in POD
Axel Beckert [Thu, 11 Apr 2013 13:59:19 +0000 (15:59 +0200)]
Reindent options in POD
Axel Beckert [Thu, 11 Apr 2013 13:08:30 +0000 (15:08 +0200)]
Make some x-c-i commandline options negatable
Update documentation and tests accordingly.
Also add pygrub = 1 as example to xen-tools.conf, now that the effect
can be reversed via commandline options.
Axel Beckert [Thu, 11 Apr 2013 08:56:54 +0000 (10:56 +0200)]
Update xen-tools.conf comments to be more concise and consistent
Thanks Elmar Heeb!
Axel Beckert [Thu, 11 Apr 2013 08:52:45 +0000 (10:52 +0200)]
TODO: test for --size constraints
... and its prerequisites
Axel Beckert [Thu, 11 Apr 2013 08:32:20 +0000 (10:32 +0200)]
Don't only allow lowercase "b" for "bytes".
Also put some examples in the according error message.
Axel Beckert [Thu, 11 Apr 2013 08:29:56 +0000 (10:29 +0200)]
Consistent amount of blank lines in POD
Axel Beckert [Fri, 5 Apr 2013 18:03:09 +0000 (20:03 +0200)]
Switch from /usr/lib/xen-tools/ to /usr/share/xen-tools/ to properly adhere FHS
Axel Beckert [Fri, 22 Mar 2013 15:58:59 +0000 (16:58 +0100)]
Ignore Devel::Cover cache
Axel Beckert [Wed, 13 Mar 2013 23:10:18 +0000 (00:10 +0100)]
Only the key for %ENV, but not for %CONFIG, needs to be modified
Axel Beckert [Wed, 13 Mar 2013 23:01:05 +0000 (00:01 +0100)]
Merge branch 'master' of gitorious.org:xen-tools/xen-tools
Conflicts:
debian/changelog
Axel Beckert [Wed, 13 Mar 2013 22:29:52 +0000 (23:29 +0100)]
Fix export of environment variables (dash vs underscore)
Previously they could contain dashes and then were only accessible
from within Perl, but not from within Bash.
From now on potential dashes in environment variable names are
converted to underscores ("_") before being exported. May affect some
hook or role scripts.
Axel Beckert [Wed, 13 Mar 2013 22:17:09 +0000 (23:17 +0100)]
Some more TODOs (mostly refactoring + code cleanup)
Axel Beckert [Tue, 5 Mar 2013 22:07:04 +0000 (23:07 +0100)]
Use Test::NoTabs in t/no-tabs.t
Axel Beckert [Sat, 26 Jan 2013 00:17:49 +0000 (01:17 +0100)]
Document 4.3.1 in NEWS
Axel Beckert [Fri, 25 Jan 2013 16:34:39 +0000 (17:34 +0100)]
Also switch xt-guess-suite-and-mirror's fallback to http.debian.net
Axel Beckert [Fri, 25 Jan 2013 16:32:20 +0000 (17:32 +0100)]
Rename NEWS to NEWS.markdown
Axel Beckert [Fri, 25 Jan 2013 16:30:17 +0000 (17:30 +0100)]
Document 4.3 release date in NEWS
Axel Beckert [Fri, 25 Jan 2013 16:09:54 +0000 (17:09 +0100)]
Also use http.debian.net as default mirror for the debian-archive
Axel Beckert [Fri, 25 Jan 2013 16:06:28 +0000 (17:06 +0100)]
Use http.debian.net as default Debian mirror if no mirror is given
... i.e. if even xt-guess-suite-and-mirror is not used.
Axel Beckert [Fri, 25 Jan 2013 14:22:42 +0000 (15:22 +0100)]
xen-delete-image no more passes $CONFIG{hostname} as array to logprint_with_config
The deletion of failed attempts was logged to files named like
ARRAY(0xa9dd98).log because the hostname was passed twice, i.e. as
arrayref (which didn't hurt otherwise).
Axel Beckert [Fri, 25 Jan 2013 12:19:36 +0000 (13:19 +0100)]
Save exit code $? at the beginning of the END block
Otherwise cleaning up by doing some system() calls garbles $? with
unwanted values.
Axel Beckert [Fri, 25 Jan 2013 12:03:23 +0000 (13:03 +0100)]
KNOWN BUGS: -1 +1
Axel Beckert [Thu, 24 Jan 2013 21:58:28 +0000 (22:58 +0100)]
Create /boot/grub/default if non-existent
Seems to be needed at least for Squeeze.
Axel Beckert [Thu, 24 Jan 2013 20:52:38 +0000 (21:52 +0100)]
chomp the output of dpkg --print-architecture
Axel Beckert [Thu, 24 Jan 2013 19:49:26 +0000 (20:49 +0100)]
Call update-grub at the end of 82-install-grub-legacy to update menu.lst
Axel Beckert [Thu, 24 Jan 2013 19:03:38 +0000 (20:03 +0100)]
Remove trailing blank line
Axel Beckert [Thu, 24 Jan 2013 19:02:22 +0000 (20:02 +0100)]
Better check for grub-legacy availability which ignores virtual packages
Axel Beckert [Wed, 23 Jan 2013 16:00:09 +0000 (17:00 +0100)]
hooks/common.sh: Fix syntax error in installCentOS4Package wrapper.
Axel Beckert [Tue, 22 Jan 2013 20:45:57 +0000 (21:45 +0100)]
hooks/common.sh: installDebianPackage no more installs recommends
Axel Beckert [Tue, 22 Jan 2013 01:49:50 +0000 (02:49 +0100)]
Factor out legacy grub menu.lst generation
Axel Beckert [Wed, 23 Jan 2013 17:02:44 +0000 (18:02 +0100)]
Fix filesystem tools installation in 91-install-fs-tools
Was broken since 4.3rc1.
Merged 91-install-fs-tools back into 90-make-fstab. Added support for
RPM-based distributions, too, so it's more generic now.
Axel Beckert [Wed, 23 Jan 2013 16:47:13 +0000 (17:47 +0100)]
isAPT: Also check for dpkg and rename it to isDeb
That way we should not try to use Debian/Ubuntu package names if
apt4rpm is available.
Axel Beckert [Wed, 23 Jan 2013 16:40:00 +0000 (17:40 +0100)]
Factor out functions to test if we should use yum or apt
Axel Beckert [Wed, 23 Jan 2013 16:00:09 +0000 (17:00 +0100)]
hooks/common.sh: Rename installCentOS4Package to installRPMPackage
Add installCentOS4Package wrapper for backward compatibility.
Axel Beckert [Wed, 23 Jan 2013 15:08:01 +0000 (16:08 +0100)]
TODO/KNOWN_BUGS: Add some hook issues noticed recently
Found during debugging error messages and warnings in log files.
Axel Beckert [Wed, 23 Jan 2013 12:13:43 +0000 (13:13 +0100)]
Mention in error message why xen-create-image thinks that an installation failed
Axel Beckert [Wed, 23 Jan 2013 12:11:50 +0000 (13:11 +0100)]
Fix some typos and grammar in log messages
Axel Beckert [Tue, 22 Jan 2013 20:49:24 +0000 (21:49 +0100)]
Also use linux-image-virtual instead of linux-image-server for >= karmic
Axel Beckert [Tue, 22 Jan 2013 01:37:44 +0000 (02:37 +0100)]
Fix typo
Axel Beckert [Tue, 22 Jan 2013 01:30:15 +0000 (02:30 +0100)]
Install grub-legacy in all pygrub-based DomUs
Axel Beckert [Tue, 22 Jan 2013 01:27:48 +0000 (02:27 +0100)]
Factor out module-init-tools (or kmod) installation
Axel Beckert [Tue, 22 Jan 2013 01:01:13 +0000 (02:01 +0100)]
Refactoring: Normalize 80-kernel-install for Ubuntus
Axel Beckert [Tue, 22 Jan 2013 00:29:13 +0000 (01:29 +0100)]
chmod 644 everything in xen-tools/misc
Axel Beckert [Tue, 22 Jan 2013 00:18:57 +0000 (01:18 +0100)]
Ubuntu: install linux-image-virtual instead of linux-image-server
By default install linux-image-virtual instead of linux-image-server
on Ubuntu Intrepid and newer.
Hopefully closes: #640099, LP #839492
Axel Beckert [Mon, 21 Jan 2013 23:21:10 +0000 (00:21 +0100)]
Rename misc/{xen-tools → xen-tools.bash-completion}
This prevents name space cluttering and ambiguity in xen-tools/misc/.
Axel Beckert [Mon, 21 Jan 2013 23:03:07 +0000 (00:03 +0100)]
Ship /etc/initramfs-tools/conf.d/xen-tools with MODULES=most
This is a necessary setting to generate Dom0 initrds which are also
suitable for DomU usage.
Trigger update-initramfs in the Debian package.
Axel Beckert [Mon, 21 Jan 2013 20:23:41 +0000 (21:23 +0100)]
Add default mount options for ext4, identical to ext2/ext3
Axel Beckert [Mon, 21 Jan 2013 15:32:10 +0000 (16:32 +0100)]
Fix quoting in hooks/common/91-install-fs-tools
Axel Beckert [Mon, 21 Jan 2013 15:15:55 +0000 (16:15 +0100)]
Handle module-init-tools → kmod transition in wheezy/raring gracefully
Axel Beckert [Fri, 18 Jan 2013 01:25:06 +0000 (02:25 +0100)]
Bump copyright years in xen-delete-image and xen-list-images
Axel Beckert [Fri, 18 Jan 2013 01:21:25 +0000 (02:21 +0100)]
xen-create-image seems to work now again, too: remove TODO
Axel Beckert [Fri, 18 Jan 2013 01:13:19 +0000 (02:13 +0100)]
xen-delete-image now also understand --extension
Axel Beckert [Fri, 18 Jan 2013 01:12:22 +0000 (02:12 +0100)]
Properly ident --extension docs in xen-list-images' POD
Axel Beckert [Fri, 18 Jan 2013 00:55:57 +0000 (01:55 +0100)]
Fix Markdown syntax of reference style links in README
Axel Beckert [Fri, 18 Jan 2013 00:30:24 +0000 (01:30 +0100)]
README: Installing Dapper and Edgy no more works on Wheezy due to #659360
Axel Beckert [Fri, 18 Jan 2013 00:26:11 +0000 (01:26 +0100)]
Overwork TLS disabling on Debian and Ubuntu
Axel Beckert [Thu, 17 Jan 2013 21:59:34 +0000 (22:59 +0100)]
unMountImage may fail if $CONFIG{FAIL} is already set
Axel Beckert [Thu, 17 Jan 2013 21:59:01 +0000 (22:59 +0100)]
Remove redundant and broken second setting of mirror by distribution
Axel Beckert [Thu, 17 Jan 2013 21:48:15 +0000 (22:48 +0100)]
Handle Sarge amd64 case properly
Uses File::Which, (build-) dependency on libfile-which-perl added
Axel Beckert [Thu, 17 Jan 2013 21:17:37 +0000 (22:17 +0100)]
Make t/xen-lists-images.t more strict: No more /i
Axel Beckert [Thu, 17 Jan 2013 21:15:21 +0000 (22:15 +0100)]
xen-list-images now also outputs the name of the config file
Axel Beckert [Thu, 17 Jan 2013 21:13:34 +0000 (22:13 +0100)]
Add --extension option to xen-list-images
Axel Beckert [Thu, 17 Jan 2013 20:57:50 +0000 (21:57 +0100)]
Fix "--extension=" with empty parameter
Axel Beckert [Thu, 17 Jan 2013 20:19:55 +0000 (21:19 +0100)]
Mention that --keep does not prevent unmounting
Axel Beckert [Thu, 17 Jan 2013 20:11:44 +0000 (21:11 +0100)]
It's said that just "END" is better style than "sub END".
Axel Beckert [Thu, 17 Jan 2013 20:07:34 +0000 (21:07 +0100)]
Normalize redundant FAIL test
Axel Beckert [Thu, 17 Jan 2013 20:05:46 +0000 (21:05 +0100)]
Trap SIGINT to unmount to temporary mount point
This makes END being called again after Ctrl-C.
Axel Beckert [Thu, 17 Jan 2013 20:02:00 +0000 (21:02 +0100)]
Add optional argument to unMountImage and hence runCommand to allow failure
Axel Beckert [Thu, 17 Jan 2013 19:55:42 +0000 (20:55 +0100)]
Remove redundant unMountImage call
Axel Beckert [Thu, 17 Jan 2013 17:30:39 +0000 (18:30 +0100)]
TODO: Move /usr/lib/xen-tools/ to /usr/share/xen-tools/
Axel Beckert [Thu, 17 Jan 2013 17:06:40 +0000 (18:06 +0100)]
Apply wrap-and-sort to debian/control
Axel Beckert [Thu, 17 Jan 2013 17:02:20 +0000 (18:02 +0100)]
Switch to a minimal dh style debian/rules
Override dh_auto_build as it triggers the nop target.
Axel Beckert [Thu, 17 Jan 2013 16:53:31 +0000 (17:53 +0100)]
Use dh_installexamples with a debian/examples file
This was also the reason to move the examples around in the previous
commit. :-)
Axel Beckert [Thu, 17 Jan 2013 16:50:43 +0000 (17:50 +0100)]
Move examples from debian/examples to examples
Axel Beckert [Thu, 17 Jan 2013 16:09:37 +0000 (17:09 +0100)]
Bump Copyright years at multiple place
Axel Beckert [Thu, 17 Jan 2013 15:49:34 +0000 (16:49 +0100)]
TODO: Obvious Sarge amd64 mirror issues
Axel Beckert [Wed, 16 Jan 2013 16:44:28 +0000 (17:44 +0100)]
No more explicitly call "make manpages"
It's a depedency of "make install" in the next line anyway.
Axel Beckert [Wed, 16 Jan 2013 16:01:40 +0000 (17:01 +0100)]
Fix copy & paste error in binary-* targets in debian/rules
Axel Beckert [Wed, 16 Jan 2013 15:58:10 +0000 (16:58 +0100)]
Use dh_auto_{install,clean}; use "$(MAKE)" instead of "make"
Axel Beckert [Wed, 16 Jan 2013 15:55:23 +0000 (16:55 +0100)]
Remove explicit mentioning of upstream changelog in debian/rules
dh_installchangelogs finds it by itself if it exist. That way building
out of a freshly clone git repository does not fail due to a missing
upstream changelog.
Axel Beckert [Wed, 16 Jan 2013 15:47:15 +0000 (16:47 +0100)]
Revert "Install upstream ChangeLog only if it exists."
This reverts commit
35477c6172f62400120eb15f50b6819befd6f5f2 .
If the upstream ChangeLog did not exist, the debian/changelog wasn't
installed either. Which was not the intention.
Axel Beckert [Wed, 16 Jan 2013 15:44:42 +0000 (16:44 +0100)]
Makefile: Accept "DESTDIR" instead of "prefix=", too
That way it adheres more commonly used conventions and allows using dh_auto_install
Axel Beckert [Thu, 13 Dec 2012 13:49:06 +0000 (14:49 +0100)]
No more specific milestones in KNOWN_BUGS
Axel Beckert [Wed, 28 Nov 2012 00:28:48 +0000 (01:28 +0100)]
Bump version to 4.4~dev
Axel Beckert [Wed, 28 Nov 2012 00:10:58 +0000 (01:10 +0100)]
Replace some verbose print()s by logprint_with_config()
Axel Beckert [Wed, 28 Nov 2012 00:10:09 +0000 (01:10 +0100)]
TODO: Unify --debug and --dumpconfig
Axel Beckert [Wed, 28 Nov 2012 00:04:39 +0000 (01:04 +0100)]
Call findXenToolstack() also in xen-{delete,resize,update}-image