Getting 2.6.35-22-generic-phc source

If you have trouble with PHC you can ask and hope for help here.
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Turgon
Posts: 4
Joined: Tue 5. Oct 2010, 17:48
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Getting 2.6.35-22-generic-phc source

Post by Turgon » Sat 23. Oct 2010, 11:48

Hello. I keep my laptop undervolted thanks to Linux-PHC, and I need to recompile the kernel to make my tv card work. I am following this step-by-step guide, but the command

Code: Select all

apt-get source linux-image-$(uname -r)]
does not seem to download linux-PHC's kernel source, but the generic one:

Code: Select all

Picking 'linux' as source package instead of 'linux-image-2.6.35-22-generic-phc'
NOTICE: 'linux' packaging is maintained in the 'Git' version control system at:
http://kernel.ubuntu.com/git-repos/ubuntu/ubuntu-maverick.git
¿How would I get the source for the 2.6.35-22-generic-phc kernel? Sorry if am confusing concepts or asking for something very obvious.

lxp
Posts: 42
Joined: Sat 26. Sep 2009, 22:27
Contact:

Re: Getting 2.6.35-22-generic-phc source

Post by lxp » Sun 14. Nov 2010, 19:30

I think it doesn't work because you are missing a deb-src entry for the PPA in your repository configuration.

You should have these entries:

Code: Select all

deb http://ppa.launchpad.net/linux-phc/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/linux-phc/ppa/ubuntu maverick main
The first line provides binary packages, the second line provides source packages.

Alternatively you could also download the source directly from Launchpad:
https://launchpad.net/~linux-phc/+archive/ppa/+packages

The required files would be:
https://launchpad.net/~linux-phc/+archi ... rig.tar.gz
https://launchpad.net/~linux-phc/+archi ... c0.diff.gz

Turgon
Posts: 4
Joined: Tue 5. Oct 2010, 17:48
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Getting 2.6.35-22-generic-phc source

Post by Turgon » Mon 15. Nov 2010, 00:51

Thanks for your help, lxp! :)

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable