summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f82a4ed)
debian/*.modutils files. Warn about such files. Closes: #443127
+++ /dev/null
-if [ "$1" = "configure" ]; then
- if [ -x "`which update-modules 2>/dev/null`" ]; then
- update-modules >/dev/null || [ "$?" = 3 ]
- fi
-fi
+++ /dev/null
-if [ -x "`which update-modules 2>/dev/null`" ]; then
- update-modules >/dev/null || [ "$?" = 3 ]
-fi
+debhelper (5.0.56) unstable; urgency=low
+
+ * dh_installmodules: Since modutils is gone, stop supporting
+ debian/*.modutils files. Warn about such files. Closes: #443127
+
+ -- Joey Hess <joeyh@debian.org> Tue, 18 Sep 2007 18:16:13 -0400
+
debhelper (5.0.55) unstable; urgency=low
* dh_desktop: Only generate calls to update-desktop-database for desktop
debhelper (5.0.55) unstable; urgency=low
* dh_desktop: Only generate calls to update-desktop-database for desktop
dh_installmodules is a debhelper program that is responsible for
registering kernel modules.
dh_installmodules is a debhelper program that is responsible for
registering kernel modules.
-Files named debian/package.modules will be installed as
-etc/modutils/package in the package build directory. This is for use by
-modutils. Files named debian/package.modprobe will be installed in
+Files named debian/package.modprobe will be installed in
etc/modprobe.d/package in the package build directory, to be used by
module-init-tools's version of modprobe.
etc/modprobe.d/package in the package build directory, to be used by
module-init-tools's version of modprobe.
These commands are inserted into the maintainer scripts by dh_installdeb.
See L<dh_installdeb(1)> for an explanation of how this works.
These commands are inserted into the maintainer scripts by dh_installdeb.
See L<dh_installdeb(1)> for an explanation of how this works.
+Previous versions of dh_installmodules also supported
+files named debian/package.modules, which were installed into
+etc/modutils/package in the package build directory. This was for use by
+modutils, which is no longer in Debian. dh_installmodules will warn about
+such files now.
+
- if (! -e "$tmp/etc/modutils") {
- doit("install","-d","$tmp/etc/modutils");
- }
- doit("install","-m","0644",$modutils_file,"$tmp/etc/modutils/".pkgfilename($package));
+ warning("ignoring $modutils_file, since modutils is no longer in Debian");
}
if (! $dh{NOSCRIPTS}) {
}
if (! $dh{NOSCRIPTS}) {
- if ($modutils_file) {
- autoscript($package,"postinst","postinst-update-modules");
- autoscript($package,"postrm","postrm-update-modules");
- }
-
foreach my $kvers (find_kernel_modules("$tmp/lib/modules")) {
autoscript($package,"postinst","postinst-modules","s/#KVERS#/$kvers/g");
autoscript($package,"postrm","postrm-modules","s/#KVERS#/$kvers/g");
foreach my $kvers (find_kernel_modules("$tmp/lib/modules")) {
autoscript($package,"postinst","postinst-modules","s/#KVERS#/$kvers/g");
autoscript($package,"postrm","postrm-modules","s/#KVERS#/$kvers/g");