Commit 7e80ee7d authored by Seblu's avatar Seblu
Browse files

name come back to kernel to avoid conflit with some package in AUR

fix bug in install script of kernels



git-svn-id: https://seblu.net/s/archpkg@20 02741741-5192-46b8-8916-7152b19231d9
parent 6d4ec965
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
# Maintainer: Sebastien Luttringer <seblu@seblu.net>
pkgname=kernel26-git
pkgname=kernel-git
pkgver=2.6
pkgrel=1
makedepends=('gcc')
@@ -8,7 +8,7 @@ license=('GPL2')
url="http://www.kernel.org"

_kernelver=${pkgver//_/-}
_kernelsuf=${pkgname#kernel26}
_kernelsuf=${pkgname#kernel}

shopt -s nullglob

+0 −0

File moved.

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

pkgname="kernel26-git"
pkgname="kernel-git"

post_install () {
  source /usr/share/$pkgname/info
@@ -21,8 +21,11 @@ post_upgrade() {
  post_install
}

post_remove() {
pre_remove() {
  clean_initcpio
}

post_remove() {
  echo "==> Updating grub2 configuration..."
  /sbin/grub-mkconfig -o /boot/grub/grub.cfg
}
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ build() {
  # configuring
  echo "==> Configuring"
  yes "" | make config &>/dev/null
  make prepare > /dev/null
  make prepare &> /dev/null

  # Compiling sources
  echo "==> Compiling"
+0 −0

File moved.

Loading