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
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
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
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
c39628cbe4
Overwork TLS disabling on Debian and Ubuntu
2013-01-18 01:26:11 +01:00
Axel Beckert
3b7750e9a9
Also suppport elevator=noop for pygrub
2012-11-13 23:35:20 +01:00
Axel Beckert
7b908a4069
Fix symbolic link hooks/centos-6/15-setup-arch ( Closes : #690299 )
2012-11-13 18:16:02 +01:00
Axel Beckert
eededbddbd
Add more logMessage to centos-*/25-setup-kernel
...
Make as similar as possible wrt to comments and installed packages.
2012-06-07 22:37:38 +02:00
Axel Beckert
34526d96c9
Fix kernel version detection for CentOS 6
2012-06-07 18:29:46 +02:00
Axel Beckert
c3528c23be
Exchange initrd-*.img and initramfs-*.img between CentOS 5 + 6
2012-06-07 18:29:46 +02:00
Axel Beckert
05314c37cf
Enforces umask 022 in 50-setup-hostname*
...
Hopefully closes #619630
2012-06-07 13:39:02 +02:00
Axel Beckert
10dc941e9f
Fix shebang line in centos-*/25-setup-kernel
...
Also set the executable bit
2012-06-07 13:26:52 +02:00
Johan Schurer
107bd59724
Add CentOS 6 support
2012-06-07 12:56:16 +02:00
Johan Schurer
cab677bab0
Add 25-setup-kernel to get CentOS 5 working
2012-06-07 12:54:49 +02:00
Axel Beckert
a3127ff40d
Use common/80-install-modules-deb also for dapper
...
pygrub support shouldn't hurt there
2012-06-07 00:50:16 +02:00
Axel Beckert
756cbd13de
Merge gentoo/80-install-modules into common/80-install-modules-rpm
2012-06-06 17:39:18 +02:00
Axel Beckert
85cbbded61
Merge 90-make-fstab-deb and 90-make-fstab-rpm
...
Split off deb-specific part into common/91-install-fs-tools
2012-06-06 17:21:33 +02:00
Axel Beckert
a3d53e78b5
Use the debian/55-create-dev script as common/55-create-dev
...
Use it also for gentoo and dapper.
Add a TODO note about stuff which came up during comparing all the
previously existing variants of 55-create-dev.
2012-06-06 17:03:04 +02:00
Axel Beckert
30bba7379b
Use common/90-make-fstab-rpm also for centos-5
...
gid 5 is the group tty there, too
See http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-users-groups-standard-groups.html
2012-06-06 14:53:40 +02:00
Axel Beckert
68db018009
Merge old and new Upstart terminal device handling into common/30-disable-gettys
2012-06-06 14:45:51 +02:00
Axel Beckert
cc4ad94939
Fix wrong device name in handling of serial_device
2012-06-06 14:33:42 +02:00
Axel Beckert
75d5a488c8
Link fedora-core-6/70-install-ssh to common/70-install-ssh-rpm
...
(only had whitespace changes)
2012-06-05 19:12:38 +02:00
Axel Beckert
e39b5a0edf
Merge all centos/fedora 99-clean-image into common/99-clean-image-rpm
...
Rename previous common/99-clean-image to common/99-clean-image-deb; adjust all links
2012-06-05 18:58:31 +02:00
Axel Beckert
84602efdf8
Make {centos,fedora}-*/99-clean-image identical (whitespace changes only)
2012-06-05 18:23:41 +02:00
Axel Beckert
d6f4e7d32a
Link gentoo/90-make-fstab to common/90-make-fstab-rpm
...
Only difference was one more informative logMessage
2012-06-05 18:17:55 +02:00
Axel Beckert
49db07bcf8
Merge all centos/fedora 50-setup-hostname into common/50-setup-hostname-rpm
...
Rename previous common/50-setup-hostname to common/50-setup-hostname-deb; adjust all links
2012-06-05 18:12:41 +02:00
Axel Beckert
522eb34694
Link debian/90-make-fstab to common/90-make-fstab-deb
...
They differed just by whitespace
2012-06-05 16:46:31 +02:00
Axel Beckert
55c3c15d11
Replace tabs by blanks in hooks/common/20-setup-apt
2012-06-04 19:01:31 +02:00
Axel Beckert
a8289d0d91
Make common/30-disable-gettys and {edgy,intrepid}/30-disable-gettys more similar
2012-06-04 18:57:36 +02:00
Axel Beckert
494aedab67
Merge bugfixes made to intrepid/30-disable-gettys also into edgy/30-disable-gettys
2012-06-04 18:47:11 +02:00
Axel Beckert
111765e881
Link dapper/30-disable-gettys to common/30-disable-gettys, too
2012-06-04 18:41:47 +02:00
Axel Beckert
b3c834935a
Remove white-space and comment differences between common/20-setup-apt and debian/20-setup-apt
2012-06-04 18:39:31 +02:00
Axel Beckert
db77d621e7
hooks/debian/20-setup-apt: Use blacklist for libc6-xen instead of whitelist
2012-06-04 18:38:22 +02:00
Axel Beckert
5acbc5171f
Link gentoo/10-disable-tls to common/10-disable-tls, too
2012-06-04 18:26:32 +02:00
Axel Beckert
14226d382b
Remove debian-specific stuff from hooks/gentoo/10-disable-tls
2012-06-04 18:24:06 +02:00
Axel Beckert
0d1e1b7e2a
Merge common/10-disable-tls and dapper/10-disable-tls
2012-06-04 18:19:26 +02:00
Axel Beckert
060fc6bd19
Merge dapper special case with libc6-xen into common/20-setup-apt
2012-06-04 17:57:41 +02:00
Axel Beckert
5dd64112ed
Refactoring: code deduplication: Merge hook files with just whitespace differences
2012-06-04 17:51:36 +02:00
Axel Beckert
4279ce6d28
Merge 35-setup-users Fedora special case into common/35-setup-users
2012-06-04 17:25:05 +02:00
Axel Beckert
98983cc9a0
Refactoring: Massive code deduplication in hooks directory (Part 3)
...
All remaining hooks files just differed syntactially, but not
semantically. They were merged into one file sporting the most
readable syntax variant.
2012-06-04 16:59:19 +02:00
Axel Beckert
2e9394d010
Refactoring: Massive code deduplication in hooks directory (Part 2)
...
All hooks files which were identical in two groups (debianoid and
redhatoid) have been moved to the new hooks/common directory and now
have symbolic links to the according new files at their old locations.
2012-06-04 16:47:59 +02:00
Axel Beckert
fc736c040d
Refactoring: Massive code deduplication in hooks directory
...
All hooks files which were identical and had no second group of
identically named hook files have been moved to a new hooks/common
directory and now have symbolic links to the new single file at their
old locations.
Also slightly modified to make this work:
* Makefile: copy new hooks/common directory
* Some tests: ignore new hooks/common directory
2012-06-04 16:26:03 +02:00
Axel Beckert
6201e24b51
Also disable initctl in the chroot, not only start-stop-daemon
...
Closes LP#997063. Thanks xstasi on Lauchnpad for the patch
2012-05-30 23:03:12 +02:00