diff options
author | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-03-11 21:20:42 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <andre@pc-01.localdomain> | 2012-03-11 21:20:42 -0300 |
commit | 53cf0f4e89a2ca37fb304addbabe51f24c663d15 (patch) | |
tree | 71c9ac686532f6d0d160f2e6855eaaa7a7323909 /kernels | |
parent | 552685ef4b2dc1257fee20e9af913ce02ad84188 (diff) | |
download | abslibre-53cf0f4e89a2ca37fb304addbabe51f24c663d15.tar.gz abslibre-53cf0f4e89a2ca37fb304addbabe51f24c663d15.tar.bz2 abslibre-53cf0f4e89a2ca37fb304addbabe51f24c663d15.zip |
kernels/linux-libre-xen
Diffstat (limited to 'kernels')
-rw-r--r-- | kernels/linux-libre-xen/PKGBUILD | 36 |
1 files changed, 9 insertions, 27 deletions
diff --git a/kernels/linux-libre-xen/PKGBUILD b/kernels/linux-libre-xen/PKGBUILD index e8e763670..1dd0325fd 100644 --- a/kernels/linux-libre-xen/PKGBUILD +++ b/kernels/linux-libre-xen/PKGBUILD @@ -6,12 +6,12 @@ # Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy> pkgbase=linux-libre-xen -pkgname=('linux-libre-xen' 'linux-libre-xen-headers' 'linux-libre-xen-docs') # Build stock -LIBRE kernel with Xen guest support +pkgname=('linux-libre-xen' 'linux-libre-xen-headers') # Build stock -LIBRE kernel with Xen guest support # pkgname=linux-custom # Build kernel with a different name _kernelname=${pkgname#linux-libre} _basekernel=3.2 pkgver=${_basekernel}.9 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url="http://linux-libre.fsfla.org/" license=('GPL2') @@ -104,12 +104,11 @@ build() { package_linux-libre-xen() { pkgdesc="The Linux-libre Kernel and modules with Xen guest support" - groups=('base') depends=('coreutils' 'module-init-tools>=3.16' 'mkinitcpio>=0.7') optdepends=('crda: to set the correct wireless channels of your country') - provides=('kernel26' "linux=$pkgver") - conflicts=('kernel26' 'kernel26-libre' 'linux') - replaces=('kernel26' 'kernel26-libre' 'linux') + provides=('kernel26-xen' "linux-xen=$pkgver") + conflicts=('kernel26-xen' 'kernel26-libre-xen' 'linux-xen') + replaces=('kernel26-xen' 'kernel26-libre-xen' 'linux-xen') backup=("etc/mkinitcpio.d/${pkgname}.preset") install=${pkgname}.install @@ -155,10 +154,10 @@ package_linux-libre-xen() { } package_linux-libre-xen-headers() { - pkgdesc="Header files and scripts for building modules for linux-libre kernel" - provides=('kernel26-headers' "linux-headers=${pkgver}") - conflicts=('kernel26-headers' 'kernel26-libre-headers' 'linux-headers') - replaces=('kernel26-headers' 'kernel26-libre-headers' 'linux-headers') + pkgdesc="Header files and scripts for building modules for linux-libre-xen kernel" + provides=('kernel26-xen-headers' "linux-xen-headers=${pkgver}") + conflicts=('kernel26-xen-headers' 'kernel26-libre-xen-headers' 'linux-xen-headers') + replaces=('kernel26-xen-headers' 'kernel26-libre-xen-headers' 'linux-xen-headers') mkdir -p "${pkgdir}/lib/modules/${_kernver}" @@ -284,20 +283,3 @@ package_linux-libre-xen-headers() { # remove unneeded architectures rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa} } - -package_linux-libre-xen-docs() { - pkgdesc="Kernel hackers manual - HTML documentation that comes with the Linux-libre kernel." - provides=('kernel26-docs' "linux-docs=$pkgver") - conflicts=('kernel26-docs' 'kernel26-libre-docs' 'linux-docs') - replaces=('kernel26-docs' 'kernel26-libre-docs' 'linux-docs') - - cd "${srcdir}/linux-${_basekernel}" - - mkdir -p "${pkgdir}/usr/src/linux-${_kernver}" - cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}" - find "${pkgdir}" -type f -exec chmod 444 {} \; - find "${pkgdir}" -type d -exec chmod 755 {} \; - - # remove a file already in linux package - rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile" -} |