Added kernel-xen-dom0, a package for latest xen dom0 support.
--HG-- extra : convert_revision : f8d5bd55cc469859f33476fec3ed57f838434646
This commit is contained in:
parent
6bfc693a43
commit
c63b1cc8d8
7 changed files with 4481 additions and 1 deletions
1
srcpkgs/kernel-headers-xen-dom0
Symbolic link
1
srcpkgs/kernel-headers-xen-dom0
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
kernel-xen-dom0
|
4433
srcpkgs/kernel-xen-dom0/files/x86_64-dotconfig
Normal file
4433
srcpkgs/kernel-xen-dom0/files/x86_64-dotconfig
Normal file
File diff suppressed because it is too large
Load diff
12
srcpkgs/kernel-xen-dom0/kernel-headers-xen-dom0.template
Normal file
12
srcpkgs/kernel-xen-dom0/kernel-headers-xen-dom0.template
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# Template file for 'kernel-headers-xen-dom0'.
|
||||||
|
#
|
||||||
|
short_desc="${pkgname} src headers (Xen dom0)"
|
||||||
|
long_desc="
|
||||||
|
This package contains the required source headers to be able to build
|
||||||
|
external 3rd party binary modules."
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/src ${DESTDIR}/usr
|
||||||
|
}
|
BIN
srcpkgs/kernel-xen-dom0/patches/xen_paravirt_ops_dom0.patch.bz2
Normal file
BIN
srcpkgs/kernel-xen-dom0/patches/xen_paravirt_ops_dom0.patch.bz2
Normal file
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
-Np1
|
25
srcpkgs/kernel-xen-dom0/template
Normal file
25
srcpkgs/kernel-xen-dom0/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Build template for 'kernel-xen'.
|
||||||
|
. ${XBPS_SRCPKGDIR}/kernel/template
|
||||||
|
|
||||||
|
# Override required vars.
|
||||||
|
pkgname=kernel-xen-dom0
|
||||||
|
_kernel_xen_dom0=yes
|
||||||
|
_kernel_ver=2.6.31
|
||||||
|
# This matches upstream version from linux-2.6-xen xen-master branch.
|
||||||
|
_kernel_patch_ver=6
|
||||||
|
_kernel_orig_patch_ver=12
|
||||||
|
version=${_kernel_ver}.${_kernel_patch_ver}
|
||||||
|
wrksrc="linux-${_kernel_ver}.${_kernel_orig_patch_ver}"
|
||||||
|
distfiles="${KERNEL_SITE}/kernel/v2.6/linux-${_kernel_ver}.${_kernel_orig_patch_ver}.tar.bz2"
|
||||||
|
checksum=e4fa8994ca4edb4a9d435e338dfe1ee1e50e606ffa97ea3881d1ba636cf658ce
|
||||||
|
short_desc="The Linux kernel and associated stuff (2.6 branch + Xen dom0)"
|
||||||
|
long_desc="
|
||||||
|
This package provides the linux kernel image and associated modules
|
||||||
|
supporting Xen in domain 0."
|
||||||
|
|
||||||
|
subpackages="kernel-headers-xen-dom0"
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
rm -rf ${DESTDIR}/lib/firmware
|
||||||
|
}
|
|
@ -90,7 +90,15 @@ do_install()
|
||||||
lver="${myver}"
|
lver="${myver}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
hdrdest=${DESTDIR}/usr/src/kernel-headers-${lver}
|
if [ -n "${_kernel_xen_dom0}" ]; then
|
||||||
|
hdrdest=${DESTDIR}/usr/src/kernel-headers-xen-dom0-${lver}
|
||||||
|
else
|
||||||
|
hdrdest=${DESTDIR}/usr/src/kernel-headers-${lver}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "${_kernel_xen_dom0}" ]; then
|
||||||
|
lver="${lver}-xen-dom0"
|
||||||
|
fi
|
||||||
|
|
||||||
install -m 644 arch/x86/boot/bzImage ${DESTDIR}/boot/vmlinuz-${lver}
|
install -m 644 arch/x86/boot/bzImage ${DESTDIR}/boot/vmlinuz-${lver}
|
||||||
install -m 644 System.map ${DESTDIR}/boot/System.map-${lver}
|
install -m 644 System.map ${DESTDIR}/boot/System.map-${lver}
|
||||||
|
|
Loading…
Reference in a new issue