~ubuntu-branches/debian/stretch/dkms/stretch

« back to all changes in this revision

Viewing changes to dkms_autoinstaller

  • Committer: Bazaar Package Importer
  • Author(s): Giuseppe Iuculano, Mario Limonciello
  • Date: 2009-05-04 09:55:18 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090504095518-5u9s5c0jt6fghch1
Tags: 2.0.21.1-1
* [bcda131] Imported Upstream version 2.0.21.1
* [487ad26] debian/patches/13-template.patch: 
  Updated template-dkms-mkdeb Changes: 
  - Bump to debhelper 7 compatibility levels 
  - Updated to standards version 3.8.1 
  - Use Dynamic Kernel Modules Support Team as maintainer field
  - Remove bash and add ${misc:Depends} in Depends
  - Use dh_prep instead of dh_clean -k
* [c75e860] Updated to standards version 3.8.1 (No changes needed)
* [0d14f3e] Update dkms to check for /etc/modprobe.d/dkms.conf,
  dh_installmodules now gives files in /etc/modprobe.d a .conf syntax,
  as required by new module-init-tools.
* [ceff6d3] Move to kernel section as by ftpmasters override
* [aa84c76] debian/control: Fix VCS-Browser field
* [6cd45ec] debian/patches/15_modprobe.patch: Do not install
  /etc/modprobe.d/dkms, it only contains comments and is opened and
  parsed every time modprobe is run (and it is run very often at boot
  time). Use instead (and create if necessary)
  /etc/modprobe.d/package_name.conf. (Closes: #525379)
* [171907c] debian/postinst: if /etc/modprobe.d/dkms is modified, put
  its content in /etc/modprobe.d/dkms.conf and remove it.
* [426868b] update debian/copyright to add Giuseppe Iuculano to
  copyright on debian/*
* [1ffb2cd] Removed 03-use-new-header_postinst.d_directory.patch,
  /etc/kernel/header_postinst.d is used only by kernel-package. dkms
  must use /etc/kernel/postinst.d/ directory.
* [eff2f3e] debian/control: demoted linux-headers and linux-image in
  Recommends, removed kernel-package and build-essential from Depends,
  and added only gcc and make.
* [508c115] debian/postinst: Remove also
  /etc/kernel/header_postinst.d/dkms and do an init script remove to
  un-do the "bad" links created by previous version

[ Mario Limonciello ]
* [848d7f9] update debian/copyright to add Mario Limonciello to
  copyright on debian/*
* [791fc37] Update debian/rules to only run DKMS on the startup
  targets. This change was proposed from Ubuntu some time back as DKMS
  doesn't do anything on shutdown.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#
8
8
### BEGIN INIT INFO
9
9
# Provides: dkms
10
 
# Default-Start: 3 4 5
11
 
# Default-Stop: 0 1 2 6
 
10
# Default-Start: 2 3 4 5
 
11
# Default-Stop:
12
12
# Required-Start: $local_fs
13
 
# Required-Stop: $local_fs
 
13
# Required-Stop:
14
14
# Short-Description: Automatically install DKMS modules for new kernels
15
15
# Description: A service to automatically install DKMS modules for new kernels.
16
16
### END INIT INFO
138
138
                else
139
139
                    echo "$module_in_tree ($version_in_tree): Installing module." >>$output_loc
140
140
                    if [ "$current_state" != "built" ] && ! [ -e /lib/modules/$kernel/build/include ]; then
141
 
                        echo "  Kernel source for $kernel not installed.  Cannot install this module." >>$output_loc
 
141
                        echo "  Kernel headers for $kernel are not installed.  Cannot install this module." >>$output_loc
 
142
                        echo "  Try installing linux-headers-$kernel or equivalent." >>$output_loc
142
143
                        log_action_end_msg 1
143
144
                    elif [ "$current_state" != "built" ] && [ -e /lib/modules/$kernel/build/include ]; then
144
145
                        return_status=""