Skip to content
Snippets Groups Projects
Verified Commit 01ec234f authored by Clayton Craft's avatar Clayton Craft :speech_balloon:
Browse files

systemd/kmod: add fixes for usr merge (MR 5554)

This patch was submitted upstream to Alpine aports in
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71426

[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
parent 5236c63f
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
pkgname=kmod
pkgver=99932
_pkgver=32
pkgrel=3
pkgrel=4
pkgdesc="Linux kernel module management utilities"
url="http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary"
arch="all"
......@@ -13,7 +13,7 @@ license="GPL-2.0-or-later"
makedepends_build="sed libxslt"
makedepends_host="$depends_dev zlib-dev xz-dev zstd-dev openssl-dev>3"
makedepends="$makedepends_build $makedepends_host"
triggers="$pkgname.trigger=/lib/modules/*"
triggers="$pkgname.trigger=/lib/modules/*:/usr/lib/modules/*"
subpackages="
$pkgname-dev
$pkgname-doc
......
......@@ -2,7 +2,7 @@
for i in "$@"; do
if [ -e "$i"/modules.order ]; then
/sbin/depmod ${i#/lib/modules/}
/sbin/depmod "${i#*/lib/modules/}"
else
#clean up on uninstall
rm -f "$i"/modules.alias \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment