Axel Beckert
b29117be02
Ignore Devel::Cover cache
2013-03-22 16:58:59 +01:00
Axel Beckert
ff7ded28e8
Only the key for %ENV, but not for %CONFIG, needs to be modified
2013-03-14 00:10:18 +01:00
Axel Beckert
f0691c9a38
Merge branch 'master' of gitorious.org:xen-tools/xen-tools
...
Conflicts:
debian/changelog
2013-03-14 00:01:05 +01:00
Axel Beckert
76d9d59510
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.
2013-03-13 23:29:52 +01:00
Axel Beckert
5342b04ac7
Some more TODOs (mostly refactoring + code cleanup)
2013-03-13 23:17:09 +01:00
Axel Beckert
01e525106b
Use Test::NoTabs in t/no-tabs.t
2013-03-05 23:07:04 +01:00
Axel Beckert
5146706536
Document 4.3.1 in NEWS
2013-01-26 01:18:28 +01:00
Axel Beckert
dfa32a97ca
Also switch xt-guess-suite-and-mirror's fallback to http.debian.net
2013-01-25 17:34:39 +01:00
Axel Beckert
c409759745
Rename NEWS to NEWS.markdown
2013-01-25 17:32:20 +01:00
Axel Beckert
149b92af77
Document 4.3 release date in NEWS
2013-01-25 17:30:17 +01:00
Axel Beckert
a4b3c9c568
Also use http.debian.net as default mirror for the debian-archive
2013-01-25 17:09:54 +01:00
Axel Beckert
dbb9124666
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.
2013-01-25 17:09:19 +01:00
Axel Beckert
f2d30eaa63
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).
2013-01-25 15:22:42 +01:00
Axel Beckert
0709308c1f
Save exit code $? at the beginning of the END block
...
Otherwise cleaning up by doing some system() calls garbles $? with
unwanted values.
2013-01-25 13:19:36 +01:00
Axel Beckert
d3baf1f8ba
KNOWN BUGS: -1 +1
2013-01-25 13:03:23 +01:00
Axel Beckert
d7f219f160
Create /boot/grub/default if non-existent
...
Seems to be needed at least for Squeeze.
2013-01-24 23:14:34 +01:00
Axel Beckert
bc054b1b02
chomp the output of dpkg --print-architecture
2013-01-24 23:14:34 +01:00
Axel Beckert
f18285943c
Call update-grub at the end of 82-install-grub-legacy to update menu.lst
2013-01-24 23:14:34 +01:00
Axel Beckert
780839988d
Remove trailing blank line
2013-01-24 23:14:34 +01:00
Axel Beckert
025e20a1f1
Better check for grub-legacy availability which ignores virtual packages
2013-01-24 23:14:34 +01:00
Axel Beckert
9330b79d51
hooks/common.sh: Fix syntax error in installCentOS4Package wrapper.
2013-01-24 23:14:10 +01:00
Axel Beckert
979b6fb166
hooks/common.sh: installDebianPackage no more installs recommends
2013-01-24 23:07:56 +01:00
Axel Beckert
57c7d13c48
Factor out legacy grub menu.lst generation
2013-01-24 23:06:53 +01:00
Axel Beckert
1de424a69d
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.
2013-01-23 18:02:44 +01:00
Axel Beckert
505950dae0
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.
2013-01-23 17:47:13 +01:00
Axel Beckert
0c8b5d25c4
Factor out functions to test if we should use yum or apt
2013-01-23 17:40:00 +01:00
Axel Beckert
bce580658e
hooks/common.sh: Rename installCentOS4Package to installRPMPackage
...
Add installCentOS4Package wrapper for backward compatibility.
2013-01-23 17:00:09 +01:00
Axel Beckert
b451260f0d
TODO/KNOWN_BUGS: Add some hook issues noticed recently
...
Found during debugging error messages and warnings in log files.
2013-01-23 16:08:01 +01:00
Axel Beckert
af6e1435aa
Mention in error message why xen-create-image thinks that an installation failed
2013-01-23 13:14:35 +01:00
Axel Beckert
290ca33840
Fix some typos and grammar in log messages
2013-01-23 13:14:35 +01:00
Axel Beckert
a1838d9030
Also use linux-image-virtual instead of linux-image-server for >= karmic
2013-01-23 13:14:35 +01:00
Axel Beckert
30ae761c27
Fix typo
2013-01-22 02:37:44 +01:00
Axel Beckert
9182aaccb7
Install grub-legacy in all pygrub-based DomUs
2013-01-22 02:35:27 +01:00
Axel Beckert
a2aa1b8a02
Factor out module-init-tools (or kmod) installation
2013-01-22 02:33:12 +01:00
Axel Beckert
03506de7e4
Refactoring: Normalize 80-kernel-install for Ubuntus
2013-01-22 02:01:13 +01:00
Axel Beckert
f71460358b
chmod 644 everything in xen-tools/misc
2013-01-22 01:29:13 +01:00
Axel Beckert
8c2a2878df
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
2013-01-22 01:18:57 +01:00
Axel Beckert
2e69bee531
Rename misc/{xen-tools → xen-tools.bash-completion}
...
This prevents name space cluttering and ambiguity in xen-tools/misc/.
2013-01-22 00:21:10 +01:00
Axel Beckert
e985d4151b
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.
2013-01-22 00:17:27 +01:00
Axel Beckert
a4a4b7a8e7
Add default mount options for ext4, identical to ext2/ext3
2013-01-21 21:23:41 +01:00
Axel Beckert
a297aa4f5b
Fix quoting in hooks/common/91-install-fs-tools
2013-01-21 16:32:10 +01:00
Axel Beckert
6423a67982
Handle module-init-tools → kmod transition in wheezy/raring gracefully
2013-01-21 16:20:03 +01:00
Axel Beckert
4dbb6fe189
Bump copyright years in xen-delete-image and xen-list-images
2013-01-18 02:25:06 +01:00
Axel Beckert
d38718b24b
xen-create-image seems to work now again, too: remove TODO
2013-01-18 02:21:25 +01:00
Axel Beckert
53c013f1cc
xen-delete-image now also understand --extension
2013-01-18 02:13:19 +01:00
Axel Beckert
6a59d0fd9b
Properly ident --extension docs in xen-list-images' POD
2013-01-18 02:12:22 +01:00
Axel Beckert
4e7f58785f
Fix Markdown syntax of reference style links in README
2013-01-18 01:55:57 +01:00
Axel Beckert
e240c63c8b
README: Installing Dapper and Edgy no more works on Wheezy due to #659360
2013-01-18 01:37:52 +01:00
Axel Beckert
c39628cbe4
Overwork TLS disabling on Debian and Ubuntu
2013-01-18 01:26:11 +01:00
Axel Beckert
73dabead05
unMountImage may fail if $CONFIG{FAIL} is already set
2013-01-17 22:59:34 +01:00