FS#50404 - [dkms] Install hook fails on empty /usr/src

Attached to Project: Arch Linux
Opened by Andrey Vihrov (andreyv) - Monday, 15 August 2016, 17:00 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 03 November 2016, 21:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

If dkms is installed alone, without any -dkms packages, then the install hook is triggered on empty /usr/src and fails.

> ls /usr/src
> pacman -S dkms linux-lts-headers linux-headers

:: Running post-transaction hooks...
(1/2) Install DKMS modules
==> dkms install -m * -v * -k 4.4.16-1-lts
Error! Could not find module source directory.
Directory: /usr/src/*-* does not exist.
==> dkms install -m * -v * -k 4.7.0-1-ARCH
Error! Could not find module source directory.
Directory: /usr/src/*-* does not exist.
>


Additional info:
* dkms 2.2.0.3+git151023-12

Steps to reproduce:
* Make sure /usr/src is empty
* Install dkms and linux-headers
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Thursday, 03 November 2016, 21:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  dkms-2.3-1
Comment by Sébastien Luttringer (seblu) - Saturday, 20 August 2016, 01:31 GMT
Fixed in my tree.

Loading...