all kernels: reverse module move and depmod calls

This commit is contained in:
Kevin Mihelich 2012-09-14 16:03:05 +00:00
parent ef93ea5179
commit 9341b8f0d6
13 changed files with 39 additions and 39 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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