xbps-triggers: update to 0.125.

`dkms install` with `--force`, for some reasons, my initial installing
of some dkms modules was failing, the subsequent installing run into
failure too, except when `--force` has been passed in. `--force` seems
to be the correct flags for all invocation of `dkms` because it will be
invoked either by `xbps-install` (`--force` is harmless there),
or `xbps-install -yff` or `xbps-reconfigure`,
which obviously need `--force`.

While we're at it, invoke `dkms` in quiet mode because we will dump dkms
into /dev/null anyway.
This commit is contained in:
Đoàn Trần Công Danh 2023-05-30 13:52:08 +07:00 committed by Đoàn Trần Công Danh
parent 9373a5ef9a
commit fda533f243
2 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@ add_modules() {
set -- ${dkms_modules}
while [ $# -gt 0 ]; do
echo -n "Building DKMS module '$1-$2' for kernel-${_kver}... "
$DKMS build -m "$1" -v "$2" -k "${_kver}" >/dev/null 2>&1
$DKMS build -q -m "$1" -v "$2" -k "${_kver}" >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo "done."
else
@ -99,7 +99,7 @@ add_modules() {
shift 2; continue
fi
echo -n "Installing DKMS module '$1-$2' for kernel-${_kver}... "
$DKMS install -m "$1" -v "$2" -k "${_kver}" >/dev/null 2>&1
$DKMS install --force -q -m "$1" -v "$2" -k "${_kver}" >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo "done."
else

View file

@ -1,6 +1,6 @@
# Template file for 'xbps-triggers'
pkgname=xbps-triggers
version=0.124
version=0.125
revision=1
bootstrap=yes
short_desc="XBPS triggers for Void Linux"