mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-19 07:37:01 +02:00
dkms: force dkms install
Whenever the installing step is failing, for some reasons, all subsequent installing step will run into failure, except when --force is passed.
This commit is contained in:
parent
01a0b74cb2
commit
9373a5ef9a
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ while [ $# -gt 1 ]; do
|
|||
if [ $(echo "$status"|grep -c ": built") -eq 1 ] &&
|
||||
[ $(echo "$status"|grep -c ": installed") -eq 0 ]; then
|
||||
echo -n "Installing DKMS module: ${module}-${modulever}... "
|
||||
/usr/bin/dkms install -q -m ${module} -v ${modulever} -k ${VERSION} -a ${ARCH}
|
||||
/usr/bin/dkms install --force -q -m ${module} -v ${modulever} -k ${VERSION} -a ${ARCH}
|
||||
rval=$?
|
||||
# If the module failed installation, go to the next module.
|
||||
if [ $rval -eq 0 ]; then
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'dkms'
|
||||
pkgname=dkms
|
||||
version=3.0.10
|
||||
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"
|
||||
|
|
Loading…
Add table
Reference in a new issue