# $Id$ # standard magellan kernel: # using linux-2.6.39 # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/) # using unionfs-2.5.9.1 (http://www.filesystems.org/project-unionfs.html) # dropped tuxonice support atm # dropped reiser4 support # enabled all options needed to use lxc conatiners (see: http://lxc.teegra.net/) # removed deprecated ATA support, only use PATA drivers # enabled btrfs filesystem # added patch to mount cgroupfs under /sys/fs/cgroup # what type are we building (sources or image) ? KERNEL_TYPE="sources" # which branch we're using BRANCH="magellan" PNAME="kernel26-sources-${BRANCH}" # 2.6.x.x subver style PSUBVER="" PVER="2.6.39${PSUBVER}" PBUILD="r1" PCATEGORIE="sys-kernel" STATE="unstable" DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources." HOMEPAGE="http://magellan-linux.net" DEPEND="" PROVIDE="virtual/kernel-sources" # we are providing a realpkg from now on ! # note: for srcinstall only ! no package exists #PKGTYPE="sources" SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2" SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}" # include global kernel26 functions sminclude kernel26 # --- extra drivers included in this kernel: --- # we do not bundle ati-drivers and nvidia-glx drivers anymore # use our new module builders! # --- eot extra drivers --- # we are providing a realpkg from now on ! # note2: we prevent to build a package here (smage2) #NOPKGBUILD=true # no need to waste time here NOSTRIP=true SRC_URI=( http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE} mirror://kernel26-${BRANCH}/${SRCFILE} mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.39-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}" "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.39-unionfs-2.5.9.1.patch patches-${PVER}-${PBUILD}" ) UP2PVER="${PVER}" UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" src_prepare() { kernel26_src_prepare || die # 001-100 - ck patches (deprecated atm) # 100-150 - official updates # 150-300 - magellan patches, driver updates etc mpatch patches-${PVER}-${PBUILD}/0150-2.6.39-fbcondecor-0.9.6.patch || die mpatch patches-${PVER}-${PBUILD}/0153-2.6.39-unionfs-2.5.9.1.patch || die # 300-400 - compilations fixes and other }