linux 3.6.6 wil be next kernel, though no move to /usr/lib at this time

This commit is contained in:
abveritas 2012-11-16 23:07:15 +00:00
parent 1f753785c4
commit 42646f2219
2 changed files with 6 additions and 6 deletions

View File

@ -114,7 +114,7 @@ build() {
####################
# build!
make ${MAKEFLAGS} LOCALVERSION= bzImage modules
make ${MAKEFLAGS} bzImage modules
}
package_linux() {
@ -133,10 +133,10 @@ package_linux() {
KARCH=x86
# get kernel version
_kernver="$(make LOCALVERSION= kernelrelease)"
_kernver="$(make kernelrelease)"
mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install
make INSTALL_MOD_PATH="${pkgdir}" modules_install
cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgname}"
# add vmlinux
@ -173,7 +173,7 @@ package_linux() {
depmod -b "$pkgdir" -F System.map "$_kernver"
# Move module /lib -> /usr/lib
mv "$pkgdir/lib" "$pkgdir/usr"
#mv "$pkgdir/lib" "$pkgdir/usr"
}
package_linux-headers() {

View File

@ -10,7 +10,7 @@ export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
post_install () {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
depmod -b /usr ${KERNEL_VERSION}
depmod ${KERNEL_VERSION}
echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
mkinitcpio -p linux${KERNEL_NAME}
@ -40,7 +40,7 @@ post_upgrade() {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
depmod -b /usr ${KERNEL_VERSION}
depmod ${KERNEL_VERSION}
echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
mkinitcpio -p linux${KERNEL_NAME}
}