~ubuntu-branches/ubuntu/quantal/dkms/quantal-proposed

« back to all changes in this revision

Viewing changes to dkms

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello, Mario Limonciello, Thomas Chenault
  • Date: 2010-01-25 17:42:40 UTC
  • mfrom: (1.3.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100125174240-nje85ia001tc6ltg
Tags: 2.1.1.1-0ubuntu1
[ Mario Limonciello ]
* dkms_common.postinst: Add some missing quotes around strings used in comparisons
  to make sure that this is safe on more shells.
* Makefile, debian/rules: Only copy the init script in for redhat targets.
* kernel_postinst.d: Make sure that dkms_autoinstaller is executable (LP: #480055)
* Move the architecture mapping logic out of the DKMS template and into
  common.postinst for Ubuntu only. (LP: #497149)
* template-dkms-mkdeb/debian/control: Build-depends on dkms (LP: #506959)

[ Thomas Chenault ]
* Fix parsing in find_external_dependencies(). The existing code behaves improperly 
  when a driver disk module has more than two dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2443
2443
        while [ "$i" -lt "${#kernelver_array[@]}" ]; do
2444
2444
            set_module_suffix "${kernelver_array[$i]}"
2445
2445
            mod="$dkms_tree/$module/$module_version/${kernelver_array[$i]}/${arch_array[$i]}/module/${dest_module_name[$count]}$module_suffix"
2446
 
            deps=(${deps[@]} $(modinfo "$mod" | sed -n 's/,/ /; s/^depends: *//p'))
 
2446
            deps=(${deps[@]} $(modinfo "$mod" | sed -n 's/,/ /g; s/^depends: *//p'))
2447
2447
            i=$(($i+1))
2448
2448
        done
2449
2449
        count=$(($count+1))
3714
3714
        exec >/dev/null 2>&1
3715
3715
        ;;
3716
3716
    --version|-V)
3717
 
        echo $"dkms: 2.1.1.0"
 
3717
        echo $"dkms: 2.1.1.1"
3718
3718
        exit 0
3719
3719
        ;;
3720
3720
    --no-prepare-kernel)