]> xenbits.xensource.com Git - people/dariof/xen-tools.git/commitdiff
Ship /etc/initramfs-tools/conf.d/xen-tools with MODULES=most
authorAxel Beckert <abe@deuxchevaux.org>
Mon, 21 Jan 2013 23:03:07 +0000 (00:03 +0100)
committerAxel Beckert <abe@deuxchevaux.org>
Mon, 21 Jan 2013 23:17:27 +0000 (00:17 +0100)
This is a necessary setting to generate Dom0 initrds which are also
suitable for DomU usage.

Trigger update-initramfs in the Debian package.

Makefile
debian/changelog
debian/triggers [new file with mode: 0644]
misc/xen-tools.initramfs-tools [new file with mode: 0644]

index 8027c9bdade8995ab1a203836554ee761e070ed1..c3a9c77a7c79b251a91d029b931912c1ad1d7db2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -112,6 +112,8 @@ install-etc:
        cp partitions/*-*     ${prefix}/etc/xen-tools/partitions.d/
        -mkdir -p             ${prefix}/etc/bash_completion.d
        cp misc/xen-tools     ${prefix}/etc/bash_completion.d/
+       -mkdir -p                         ${prefix}/etc/initramfs-tools/conf.d/
+       cp misc/xen-tools.initramfs-tools ${prefix}/etc/initramfs-tools/conf.d/xen-tools
 
 
 #
index 339a93334d6c32bacc5fecacf537df8c6e84e897..ce7eeccb1bf70a5170822618671bd93e13b0be48 100644 (file)
@@ -24,6 +24,8 @@ xen-tools (4.4~dev-1) UNRELEASED; urgency=low
     - Uses File::Which, added (build-) dependency on libfile-which-perl
     - Knows about module-init-tools → kmod transition in wheezy/raring.
     - Adds default mount options for ext4, identical to ext2/ext3.
+    - Ships /etc/initramfs-tools/conf.d/xen-tools for generating Dom0
+      initrds also suitable for DomU usage. Trigger update-initramfs.
   * Add debian/gbp.conf to be able to to build xen-tools with
     git-buildpackage.
   * Clean up debian/rules:
diff --git a/debian/triggers b/debian/triggers
new file mode 100644 (file)
index 0000000..6c9f454
--- /dev/null
@@ -0,0 +1 @@
+activate update-initramfs
diff --git a/misc/xen-tools.initramfs-tools b/misc/xen-tools.initramfs-tools
new file mode 100644 (file)
index 0000000..b3558ef
--- /dev/null
@@ -0,0 +1,7 @@
+# This initramfs-tools configuration file is installed by xen-tools.
+#
+# To make the Dom0's initramfs working inside DomUs, too, most modules
+# need to be included, not just those necvessary for the host system
+# and its hardware.
+
+MODULES=most