iPod / Amarok / Buffer I/O Issues

John L Fjellstad john-ubuntu at fjellstad.org
Fri Jun 30 21:09:05 UTC 2006


Ylan Segal <ylan.segal at gmail.com> writes:

> 2) Untar source archive and create symbolic link (substitute 2.X.X for
> the appropriate kernel version)
>
> # cd /usr/src
> # sudo untar --bzip2 -xfv linux-source-2.X.X.tar.bz2
> # sudo ln -s linux-source-2.X.X linux

You don't need to be root to untar (if you are in the src group).
Otherwise, untar it with root and change the permissions. You
also don't have to create the linux link.  Linus himself recommends that
you don't do it:
http://linuxmafia.com/faq/Kernel/usr-src-linux-symlink.html
These days, programs that needs to link to the kernel headers will use 
/lib/modules/`uname -r`/build 
(if you build the kernel yourself with the debian package manager, this
link will point back to the source)

> 3) Use old configuration to start with:
>
> # sudo make oldconfig

Don't need root to do this.

> 4) Use graphical configuration to make particular settings
>
> # sudo make xconfig

Don't need root to do this.

> 5) Compile the kernel (You can use anything you want instead of ylan!)
>
> # sudo make-kpkg clean
> # sudo make-kpkg --initrd --append-to-version=-ylan kernel-image
> kernel-headers

Use fakeroot instead of sudo

-- 
John L. Fjellstad
web: http://www.fjellstad.org/          Quis custodiet ipsos custodes





More information about the ubuntu-users mailing list