1
0
mirror of synced 2026-02-08 16:51:28 +00:00

Handle module-init-tools → kmod transition in wheezy/raring gracefully

This commit is contained in:
Axel Beckert
2013-01-21 16:15:55 +01:00
parent 4dbb6fe189
commit 6423a67982
2 changed files with 11 additions and 2 deletions

1
debian/changelog vendored
View File

@@ -22,6 +22,7 @@ xen-tools (4.4~dev-1) UNRELEASED; urgency=low
- Makefile accepts DESTDIR=…
- Move examples from debian/examples to examples.
- Uses File::Which, added (build-) dependency on libfile-which-perl
- Knows about module-init-tools → kmod transition in wheezy/raring.
* Add debian/gbp.conf to be able to to build xen-tools with
git-buildpackage.
* Clean up debian/rules:

View File

@@ -74,9 +74,17 @@ else
fi
#
# Install the module-init-tools package.
# Install either kmod or module-init-tools package.
#
installDebianPackage ${prefix} module-init-tools
if chroot ${prefix} /usr/bin/apt-cache show module-init-tools >/dev/null 2>/dev/null; then
if chroot ${prefix} /usr/bin/apt-cache show module-init-tools | fgrep -qi transitional; then
installDebianPackage ${prefix} kmod
else
installDebianPackage ${prefix} module-init-tools
fi
else
installDebianPackage ${prefix} kmod
fi
fi # if pygrub