reverse module move and depmod calls
This commit is contained in:
parent
f8f7842277
commit
4eb9b67642
6
PKGBUILD
6
PKGBUILD
|
@ -162,11 +162,11 @@ _package() {
|
||||||
mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}"
|
mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}"
|
||||||
echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}/version"
|
echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}/version"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
|
||||||
|
|
||||||
# Now we call depmod...
|
# Now we call depmod...
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
|
# move module tree /lib -> /usr/lib
|
||||||
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
}
|
}
|
||||||
|
|
||||||
_package-headers() {
|
_package-headers() {
|
||||||
|
|
Loading…
Reference in New Issue