dkms: make sure /var/lib/dkms exists on installation

Closes #39066.
This commit is contained in:
Andrew J. Hesford 2022-09-02 21:36:27 -04:00
parent 26f2c4a1df
commit ce12bd5f94
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'dkms'
pkgname=dkms
version=3.0.6
revision=1
revision=2
conf_files="/etc/dkms/framework.conf"
depends="bash kmod gcc make coreutils xbps-triggers>=0.123_1"
short_desc="Dynamic Kernel Module Support"
@ -10,6 +10,9 @@ license="GPL-2.0-or-later"
homepage="https://github.com/dell/dkms"
distfiles="https://github.com/dell/dkms/archive/v${version}.tar.gz"
checksum=1e1ae273d2a72e3a89b829f3c72f482fb903f12cf766c054d11612e1d70795b4
# dkms does not create this directory, but needs it
# https://github.com/void-linux/void-packages/issues/39066
make_dirs="/var/lib/dkms 0755 root root"
case "$XBPS_TARGET_MACHINE" in
# Too many competing kernels for arm* to depend on linux-headers