From ce12bd5f943bbfb7591e866cea10a0b0455449e5 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Fri, 2 Sep 2022 21:36:27 -0400 Subject: [PATCH] dkms: make sure /var/lib/dkms exists on installation Closes #39066. --- srcpkgs/dkms/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/dkms/template b/srcpkgs/dkms/template index ee16e8c3aeb..61afd2bbf08 100644 --- a/srcpkgs/dkms/template +++ b/srcpkgs/dkms/template @@ -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