WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Xen 3.0 (release) Debian packages?
From: Bob Tanner <tanner@xxxxxxxxxxxxx>
Date: Fri, 30 Dec 2005 08:23:19 -0600
Delivery-date: Fri, 30 Dec 2005 17:45:19 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Real Time Enterprises, Inc.
References: <Pine.LNX.4.63.0512151935250.8947@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <200512161224.22746.ralph@xxxxxxxxxxxxx>
Reply-to: tanner@xxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KNode/0.9.2
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