[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-users
Subject:    [Xen-users] Re: Xen 3.0 (release) Debian packages?
From:       Bob Tanner <tanner () real-time ! com>
Date:       2005-12-30 14:23:19
Message-ID: dp3fso$6n5$1 () sea ! gmane ! org
[Download RAW message or body]

Ralph Passgang wrote:
> work-around: get the source package of xen3 (via apt-get source xen) and
> type:
> 
> make linux-2.6-xen-config CONFIGMODE=menuconfig
> 
> after that you can build a xen kernel with make-kpkg or simply with:
> make linux-2.6-xen-build && make linux-2.6-xen-install

I'm wondering why apt wasn't "used" to make building the xen kernel package
"easier". 

Build-Depends: <what's there already>, linux-source-2.6.12

And somehow alter the buildconfigs/Rules.mk to look in /usr/src for the
kernel source? GNU make isn't my strong suit, but something like this:

# Setup Linux search path
LINUX_SRC_PATH  ?= .:..:/usr/src/linux
vpath linux-source-%.tar.bz2 $(LINUX_SRC_PATH)

# download a pristine Linux kernel tarball if there isn't one in
LINUX_SRC_PATH 
linux-source-%.tar.bz2: override _LINUX_VDIR = $(word 1,$(subst ., ,$*))
$(word 2 $(subst ., ,$*))

I'm not sure about the whole override and $(word,1...) stuff, that might
need to be altered. But I think the concept of what I'm thinking is clear.


-- 
Bob Tanner <tanner@real-time.com>          | Phone : (952)943-8700
http://www.real-time.com, Minnesota, Linux | Fax   : (952)943-8500
Key fingerprint = AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic