mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +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>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=kmod
|
pkgname=kmod
|
||||||
pkgver=32
|
pkgver=32
|
||||||
pkgrel=1
|
pkgrel=3
|
||||||
pkgdesc="Linux kernel module management utilities"
|
pkgdesc="Linux kernel module management utilities"
|
||||||
url="http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary"
|
url="http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary"
|
||||||
arch="all"
|
arch="all"
|
||||||
@ -32,7 +32,9 @@ build() {
|
|||||||
--build=$CBUILD \
|
--build=$CBUILD \
|
||||||
--host=$CHOST \
|
--host=$CHOST \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--bindir=/bin \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
--with-rootlibdir=/lib \
|
||||||
--with-zlib \
|
--with-zlib \
|
||||||
--with-xz \
|
--with-xz \
|
||||||
--with-zstd \
|
--with-zstd \
|
||||||
@ -42,6 +44,11 @@ build() {
|
|||||||
|
|
||||||
package() {
|
package() {
|
||||||
make DESTDIR="$pkgdir" install
|
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() {
|
libs() {
|
||||||
|
Loading…
Reference in New Issue
Block a user