Can't compile psb-kernel-source with more than one kernel installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mobile Edition |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I executed this:
sudo dget -u --build http://
and got this error:
dpatch apply-all
applying patch use_udev to ./ ... ok.
dpatch cat-all >>patch-stampT
mv -f patch-stampT patch-stamp
/usr/bin/make LINUXDIR=
make[1]: Entering directory `/home/
make[1]: *** No rule to make target `2.6.28-
make[1]: Leaving directory `/home/
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
The problem I think it's located in debian/rules at line 7:
KERNEL_VER := $(shell ls -1 /lib/modules)
It try to get the KERNEL_VER this will return one line with X number of directories. I think that this line should look like this:
KERNEL_VER := $(shell uname -r)
Regards,