Results 1 to 3 of 3

Thread: Force pbuilder to use a specific kernel?

  1. #1
    Join Date
    Jan 2009
    Beans
    114
    Distro
    Lubuntu 13.10 Saucy Salamander

    Question Force pbuilder to use a specific kernel?

    How might I force pbuilder to use a specific kernel?

    I'm trying to use pbuilder to compile a .ko module for 2.6. My host machine is using 3.0 (Xubuntu 11.10); the target machines will use 2.6 (Server 10.04.3).

    pbuilder-dist returns a 3.0 kernel for "uname -r". I can get around some of the issues this obviously causes by hard-coding the kernel version I want into the Makefile. However, I cannot test the .ko in pbuilder since it's using a 3.0 kernel. How might I switch kernels?
    I Googled/rtfm before posting.
    G-74SX: #! Waldorf | Kali | Win7HP | 2630QM | 2TB SSD | 16GB | GTX 560M

  2. #2
    Join Date
    Nov 2005
    Location
    Bordeaux, France
    Beans
    11,292
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Force pbuilder to use a specific kernel?

    You need at least a virtual machine like qemu or VirtualBox. You can't run a different kernel in pbuilder, it's basically just a chroot.

  3. #3
    Join Date
    Jan 2009
    Beans
    114
    Distro
    Lubuntu 13.10 Saucy Salamander

    Re: Force pbuilder to use a specific kernel?

    Thanks; that answers my question.
    I Googled/rtfm before posting.
    G-74SX: #! Waldorf | Kali | Win7HP | 2630QM | 2TB SSD | 16GB | GTX 560M

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •