Ticket #98 (closed defect: fixed)
debirf fails on kernel install on non-standard archs
| Reported by: | jrollins | Owned by: | jrollins |
|---|---|---|---|
| Priority: | major | Component: | debirf |
| Keywords: | debirf kernel | Cc: |
Description
A user 'qq' reported that debirf was failing to build on a "bigmem" system, because the install-kernel module was failing to correctly determine the arch of the running kernel. Clearly we need a better more robust way of determining what kernel arch to install.
Here are a couple of suggestions:
linux-image-$(ls -1 /lib/modules/ | sort -n | tail -1) linux-image-$(ls -1 -t /lib/modules/ | head -1)
I think we may have had issues with the above methods in the past when trying to build a lenny system on an etch machine, or vice versa. I think this might be the best I have:
linux-image-2.6-$(uname -r | cut -d- -f3-)
That cuts out the kernel-debian version, and leaves the rest. I'm going to implement this, but leave the bug open just in case a better idea comes along.

