From 551999d8244e4b609fc8a14708c2e339d9276a2b Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 14 Sep 2012 13:41:58 +0000 Subject: [PATCH] core/linux-raspberrypi: reverse module move and depmod calls --- core/linux-raspberrypi/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/linux-raspberrypi/PKGBUILD b/core/linux-raspberrypi/PKGBUILD index eca7804d0..c1712510f 100644 --- a/core/linux-raspberrypi/PKGBUILD +++ b/core/linux-raspberrypi/PKGBUILD @@ -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() {