[Pkg-virtualbox-devel] Bug#469882: Bug#469882: virtualbox-ose-source:

Michael Meskes meskes at debian.org
Mon Mar 10 11:00:51 UTC 2008


On Sun, Mar 09, 2008 at 02:28:33PM +0100, Philipp Kern wrote:
> KVERS is just the version number which is `2.6.24' on vanilla kernels,
> not like `2.6.24-ABI-ARCH' on Debian kernels.  So this architecture
> check is quite bogus.

My plan is to use the following code snippet in debian/rules instead with the next
version:

# Set ARCH so we can cross compile Debian kernel
ifneq ($(shell echo $(KVERS) | grep 86), )
        ARCH := i386
endif
ifneq ($(shell echo $(KVERS) | grep amd64), )
        ARCH := x86_64
endif

This should do it. But could you please test?

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes at jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!





More information about the Pkg-virtualbox-devel mailing list