Commit 299e0d8b authored by Seblu's avatar Seblu
Browse files

linux 3.0


git-svn-id: https://seblu.net/s/archpkg@102 02741741-5192-46b8-8916-7152b19231d9
parent e3d45716
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# Maintainer: Sebastien Luttringer <seblu@seblu.net>

kernelver=3.0-rc7
kernelver=3.0
kernelsuf=-rwolf

pkgname=kernel-${kernelver}${kernelsuf}
+375 −187

File changed.

Preview size limit exceeded, changes collapsed.

+9 −5
Original line number Diff line number Diff line
# arg 1:  the new package version
# arg 2:  the old package version

pkgname='kernel-3.0-rc7-rwolf'
pkgname='kernel-3.0-rwolf'

post_install () {
  source /usr/share/$pkgname/info
@@ -9,8 +9,10 @@ post_install () {
  depmod ${KERNEL_BUILD}
  echo "==> Generationg init root filesystem..."
  /sbin/mkinitcpio -p $pkgname
  if [[ -x /sbin/grub-mkconfig ]]; then
    echo "==> Updating grub2 configuration..."
    /sbin/grub-mkconfig -o /boot/grub/grub.cfg
  fi
  #if test -e /usr/bin/VirtualBox; then
  #  compile_vbox_modules
  #fi
@@ -35,8 +37,10 @@ pre_remove() {
}

post_remove() {
  if [[ -x /sbin/grub-mkconfig ]]; then
    echo "==> Updating grub2 configuration..."
    /sbin/grub-mkconfig -o /boot/grub/grub.cfg
  fi
}

compile_vbox_modules() {