Magellan Linux

Contents of /trunk/todo/kernel26-openvz/kernel26-openvz-2.6.24_004.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2398 - (show annotations) (download)
Thu Jul 9 19:51:19 2009 UTC (15 years, 3 months ago) by niro
File size: 2324 byte(s)
-moved to 'todo'
1 # $Header: /magellan-cvs/smage/kernel26-openvz/kernel26-openvz-2.6.24_004.1-r1.smage2,v 1.1 2008/04/09 07:31:20 niro Exp $
2
3 # linux kernel for openvz systems:
4 # using linux-2.6.24.4
5 # using 2.6.24-004.1 patch set
6 # use modular ide-framework to fix udma issues with nforce boards
7 # disabled drbd support, broken atm and compilation fails
8 # enabled magic sysrq key support and debugging via sysrq keys
9
10 # what type are we building (sources or image) ?
11 KERNEL_TYPE="image"
12
13 # which branch we're using
14 BRANCH="openvz"
15
16 PNAME="kernel26-${BRANCH}"
17
18 # 2.6.x.x subver style
19 PSUBVER="_004.1"
20
21 PVER="2.6.24${PSUBVER}"
22 PBUILD="r1"
23
24 PCATEGORIE="sys-kernel"
25 STATE="unstable"
26
27 DESCRIPTION="OpenVZ kernel ${PVER}-${BRANCH}-${PBUILD} image."
28 HOMEPAGE="http://openvz.org/"
29
30 DEPEND=">= sys-apps/module-init-tools-3.4
31 >= sys-fs/udev-119
32 >= sys-apps/hotplug-20040401
33 >= sys-apps/mkinitrd-6
34 >= sys-apps/initscripts-0.4.3"
35
36 PROVIDE="virtual/kernel
37 virtual/alsa-drivers"
38
39 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
40 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
41
42 # include global kernel26 functions
43 sminclude kernel26 mtools
44
45 # --- extra drivers included in this kernel: ---
46 # --- eot extra drivers ---
47
48 SRC_URI=(
49 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
50 mirror://kernel26-${BRANCH}/${SRCFILE}
51 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
52 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
53 mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0001-${PVER/${PSUBVER}/}-openvz-combined-${PSUBVER/_/}.patch
54 mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0002-${PVER/${PSUBVER}/}-openvz-version-fix-${PSUBVER/_/}.patch
55 )
56
57 src_prepare()
58 {
59 kernel26_src_prepare || die
60
61 # fix version in version patch
62 sed "s:@MAGELLAN_EXTRAVERSION@:${EXTRAVERSION}:" \
63 ${SOURCEDIR}/${PNAME}/0002-${PVER/${PSUBVER}/}-openvz-version-fix-${PSUBVER/_/}.patch \
64 > ${SOURCEDIR}/${PNAME}/0002-${PVER/${PSUBVER}/}-openvz-version-fix-${PSUBVER/_/}.patch-fixed || die
65
66 # 001-100 - openvz patches
67 mpatch 0001-${PVER/${PSUBVER}/}-openvz-combined-${PSUBVER/_/}.patch || die
68 mpatch 0002-${PVER/${PSUBVER}/}-openvz-version-fix-${PSUBVER/_/}.patch-fixed || die
69 # 100-150 - official updates
70 # 150-300 - magellan patches, driver updates etc
71 # 300-400 - compilations fixes and other
72 }

Properties

Name Value
svn:keywords Id