mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
Revert "main/kmod: move to /usr"
This broke things, and the issue it tried to fix in the first place was
bogus. (https://gitlab.alpinelinux.org/alpine/aports/-/issues/16393)
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16410
This reverts commit 284844fae1
.
This commit is contained in:
parent
9dc1b0b6a0
commit
b458c2108f
@ -2,7 +2,7 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=kmod
|
||||
pkgver=32
|
||||
pkgrel=1
|
||||
pkgrel=3
|
||||
pkgdesc="Linux kernel module management utilities"
|
||||
url="http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary"
|
||||
arch="all"
|
||||
@ -32,7 +32,9 @@ build() {
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--bindir=/bin \
|
||||
--sysconfdir=/etc \
|
||||
--with-rootlibdir=/lib \
|
||||
--with-zlib \
|
||||
--with-xz \
|
||||
--with-zstd \
|
||||
@ -42,6 +44,11 @@ build() {
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
local i
|
||||
mkdir -p "$pkgdir"/sbin
|
||||
for i in lsmod rmmod insmod modinfo modprobe depmod; do
|
||||
ln -sf ../bin/$i "$pkgdir"/sbin/$i
|
||||
done
|
||||
}
|
||||
|
||||
libs() {
|
||||
|
Loading…
Reference in New Issue
Block a user