From e985d4151b1535129ab35d7576a5fc900351ad1d Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Tue, 22 Jan 2013 00:03:07 +0100 Subject: [PATCH] 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. --- Makefile | 2 ++ debian/changelog | 2 ++ debian/triggers | 1 + misc/xen-tools.initramfs-tools | 7 +++++++ 4 files changed, 12 insertions(+) create mode 100644 debian/triggers create mode 100644 misc/xen-tools.initramfs-tools diff --git a/Makefile b/Makefile index 8027c9b..c3a9c77 100644 --- 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 # diff --git a/debian/changelog b/debian/changelog index 339a933..ce7eecc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 index 0000000..6c9f454 --- /dev/null +++ b/debian/triggers @@ -0,0 +1 @@ +activate update-initramfs diff --git a/misc/xen-tools.initramfs-tools b/misc/xen-tools.initramfs-tools new file mode 100644 index 0000000..b3558ef --- /dev/null +++ b/misc/xen-tools.initramfs-tools @@ -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 -- 2.39.5