Can't compile psb-kernel-source with more than one kernel installed

Bug #393692 reported by Jonathan Gonzalez V.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Mobile Edition
New
Undecided
Unassigned

Bug Description

Hi,

I executed this:

sudo dget -u --build http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu/pool/main/p/psb-kernel-source/psb-kernel-source_4.41.1-0ubuntu1~904um1.dsc

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=/lib/modules/2.6.28-11-vserver 2.6.28-13-generic/build DRM_MODULES="psb"
make[1]: Entering directory `/home/zeus/psb/psb-kernel-source-4.41.1'
make[1]: *** No rule to make target `2.6.28-13-generic/build'. Stop.
make[1]: Leaving directory `/home/zeus/psb/psb-kernel-source-4.41.1'
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,

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.