core/linux-raspberrypi: reverse module move and depmod calls

This commit is contained in:
Kevin Mihelich 2012-09-14 13:41:58 +00:00
parent 787b589a73
commit 551999d824

View file

@ -128,12 +128,12 @@ package_linux-raspberrypi() {
mkdir -p "${pkgdir}/lib/modules/extramodules-${pkgver}-${_kernelname:-ARCH}"
echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${pkgver}-${_kernelname:-ARCH}/version"
# Now we call depmod...
depmod -b "$pkgdir" -F System.map "$_kernver"
# move module tree /lib -> /usr/lib
mkdir -p "${pkgdir}/usr"
mv "$pkgdir/lib" "$pkgdir/usr"
# Now we call depmod...
depmod -b "$pkgdir" -F System.map "$_kernver"
}
package_linux-headers-raspberrypi() {