[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: Xen 3.0 (release) Debian packages?



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@xxxxxxxxxxxxx>          | 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.