mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
all kernels: reverse module move and depmod calls
This commit is contained in:
parent
ef93ea5179
commit
9341b8f0d6
13 changed files with 39 additions and 39 deletions
|
@ -199,12 +199,12 @@ package_kernel26-olinuxino() {
|
||||||
# remove build and source links
|
# remove build and source links
|
||||||
rm -f ${pkgdir}/usr/lib/modules/${_kernver}/{source,build}
|
rm -f ${pkgdir}/usr/lib/modules/${_kernver}/{source,build}
|
||||||
|
|
||||||
|
# Now we call depmod...
|
||||||
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_kernel26-headers-olinuxino() {
|
package_kernel26-headers-olinuxino() {
|
||||||
|
|
|
@ -123,12 +123,12 @@ package_linux-am33x() {
|
||||||
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"
|
||||||
|
|
||||||
|
# Now we call depmod...
|
||||||
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-am33x() {
|
package_linux-headers-am33x() {
|
||||||
|
|
|
@ -116,12 +116,12 @@ package_linux-cubox() {
|
||||||
mkdir -p "${pkgdir}/lib/modules/extramodules-${pkgver}-${_kernelname:-ARCH}"
|
mkdir -p "${pkgdir}/lib/modules/extramodules-${pkgver}-${_kernelname:-ARCH}"
|
||||||
echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${pkgver}-${_kernelname:-ARCH}/version"
|
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
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-cubox() {
|
package_linux-headers-cubox() {
|
||||||
|
|
|
@ -120,12 +120,12 @@ package_linux-imx5() {
|
||||||
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"
|
||||||
|
|
||||||
|
# Now we call depmod...
|
||||||
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-imx5() {
|
package_linux-headers-imx5() {
|
||||||
|
|
|
@ -121,12 +121,12 @@ package_linux-imx6() {
|
||||||
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"
|
||||||
|
|
||||||
|
# Now we call depmod...
|
||||||
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-imx6() {
|
package_linux-headers-imx6() {
|
||||||
|
|
|
@ -141,12 +141,12 @@ package_linux-kirkwood() {
|
||||||
|
|
||||||
cd "${srcdir}/linux-${_basekernel}"
|
cd "${srcdir}/linux-${_basekernel}"
|
||||||
|
|
||||||
|
# Now we call depmod...
|
||||||
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-kirkwood() {
|
package_linux-headers-kirkwood() {
|
||||||
|
|
|
@ -139,12 +139,12 @@ package_linux-mmp() {
|
||||||
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"
|
||||||
|
|
||||||
|
# Now we call depmod...
|
||||||
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-mmp() {
|
package_linux-headers-mmp() {
|
||||||
|
|
|
@ -120,12 +120,12 @@ package_linux-odroidx() {
|
||||||
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"
|
||||||
|
|
||||||
|
# Now we call depmod...
|
||||||
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-odroidx() {
|
package_linux-headers-odroidx() {
|
||||||
|
|
|
@ -123,12 +123,12 @@ package_linux-omap() {
|
||||||
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"
|
||||||
|
|
||||||
|
# Now we call depmod...
|
||||||
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-omap() {
|
package_linux-headers-omap() {
|
||||||
|
|
|
@ -139,12 +139,12 @@ package_linux-orion() {
|
||||||
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"
|
||||||
|
|
||||||
|
# Now we call depmod...
|
||||||
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-orion() {
|
package_linux-headers-orion() {
|
||||||
|
|
|
@ -122,12 +122,12 @@ package_linux-sun4i() {
|
||||||
mkdir -p "${pkgdir}/lib/modules/extramodules-${pkgver}-${_kernelname:-ARCH}"
|
mkdir -p "${pkgdir}/lib/modules/extramodules-${pkgver}-${_kernelname:-ARCH}"
|
||||||
echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${pkgver}-${_kernelname:-ARCH}/version"
|
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
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-sun4i() {
|
package_linux-headers-sun4i() {
|
||||||
|
|
|
@ -132,12 +132,12 @@ package_linux-trimslice() {
|
||||||
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"
|
||||||
|
|
||||||
|
# Now we call depmod...
|
||||||
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir "$pkgdir/usr"
|
mkdir "$pkgdir/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers-trimslice() {
|
package_linux-headers-trimslice() {
|
||||||
|
|
|
@ -145,12 +145,12 @@ package_linux() {
|
||||||
|
|
||||||
cd "${srcdir}/linux-${_basekernel}"
|
cd "${srcdir}/linux-${_basekernel}"
|
||||||
|
|
||||||
|
# Now we call depmod...
|
||||||
|
depmod -b "$pkgdir" -F System.map "$_kernver"
|
||||||
|
|
||||||
# move module tree /lib -> /usr/lib
|
# move module tree /lib -> /usr/lib
|
||||||
mkdir -p "${pkgdir}/usr"
|
mkdir -p "${pkgdir}/usr"
|
||||||
mv "$pkgdir/lib" "$pkgdir/usr"
|
mv "$pkgdir/lib" "$pkgdir/usr"
|
||||||
|
|
||||||
# Now we call depmod...
|
|
||||||
depmod -b "$pkgdir" -F System.map "$_kernver"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_linux-headers() {
|
package_linux-headers() {
|
||||||
|
|
Loading…
Reference in a new issue