reverse module move and depmod calls

This commit is contained in:
Dave Reisner 2012-09-07 14:56:07 +00:00
parent f8f7842277
commit 4eb9b67642
1 changed files with 3 additions and 3 deletions

View File

@ -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() {