diff --git a/kmod/PKGBUILD b/kmod/PKGBUILD index d698cb71d..882e4b2aa 100644 --- a/kmod/PKGBUILD +++ b/kmod/PKGBUILD @@ -1,13 +1,13 @@ # # Chakra Packages for Chakra, part of chakra-project.org # -# maintainer (x86_64): Manuel Tortosa +# maintainer: Manuel Tortosa pkgname=kmod -pkgver=10 +pkgver=11 pkgrel=1 pkgdesc="Linux kernel module handling" -arch=('i686' 'x86_64') +arch=('x86_64') url='http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary' license=('GPL2') depends=('glibc' 'zlib') @@ -17,8 +17,8 @@ conflicts=('module-init-tools') replaces=('module-init-tools') source=("ftp://ftp.kernel.org/pub/linux/utils/kernel/$pkgname/$pkgname-$pkgver.tar.xz" "depmod-search.conf") -md5sums=('e2a883c4df15a50f78a7a61d5b64089f' - '285fc738c220ff84419995fc8c6d6ca1') +md5sums=('607e33b0144625c2e5221e5a7df49c7a' + '9ae9acc68ca27134f55a0959073b8e53') build() { cd "$pkgname-$pkgver" @@ -30,9 +30,9 @@ build() { make } -check() { - make -C "$pkgname-$pkgver" check -} +#check() { +# make -C "$pkgname-$pkgver" check +#} package() { make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install diff --git a/linux/linux.install b/linux/linux.install index a828b1f6b..9d61ee2d0 100644 --- a/linux/linux.install +++ b/linux/linux.install @@ -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 ${KERNEL_VERSION} + depmod -b /usr ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." mkinitcpio -p linux${KERNEL_NAME} @@ -33,19 +33,6 @@ post_upgrade() { hasgrub=$? pacman -Q grub2-common &>/dev/null hasgrub2=$? - pacman -Q lilo &>/dev/null - haslilo=$? - # reminder notices - if [ $haslilo -eq 0 ]; then - echo ">>>" - if [ $hasgrub -eq 0 -o $hasgrub2 -eq 0 ]; then - echo ">>> If you use the LILO bootloader, you should run 'lilo' before rebooting." - else - echo ">>> You appear to be using the LILO bootloader. You should run" - echo ">>> 'lilo' before rebooting." - fi - echo ">>>" - fi if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then echo "WARNING: /boot appears to be a separate partition but is not mounted." @@ -53,7 +40,7 @@ post_upgrade() { # updating module dependencies echo ">>> Updating module dependencies. Please wait ..." - depmod ${KERNEL_VERSION} + depmod -b /usr ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." mkinitcpio -p linux${KERNEL_NAME} }