[FSUG-Bangalore] Help needed : how to apply patch to linux kernel

Balbir Singh bsingharora at gmail.com
Sat Mar 6 12:25:03 IST 2010


On Sat, Mar 6, 2010 at 12:13 PM, rajkumar vbalakrishnasamy
<rajkumar.lynx at gmail.com> wrote:
> Hi all,
>      I need to install Gobohide tool in my Fedora core 11 system and i
> download the software from http://www.gobolinux.org and extracted.Then i
> navigated to the GoboHide/bin directory and executed the ./gobohide -h
> command.The output is:
>
> [root at localhost bin]# ls
> go  gobohide
> [root at localhost bin]# ./gobohide -h go
> ioctl: Inappropriate ioctl for device
> [root at localhost bin]#
>
> Then i noticed that i need to patch Linux kernel.So how to patch linux
> kernel.And from which directory i have to patch Linux kernel.And this
> command is right or wrong
>
> patch -i /path/to/gobohide.patch -p1
>
> if i excecuted this command i get the output as:
>
> [root at localhost bin]# patch -i
> /home/user/Download/Linux/2.6.29.1-r1/01-gobohide.patch -p1
>

This is clearly incorrect, you seem to be in the bin directory, you
should be in the same directory as the sources. Could you try after
going to the kernel source directory and trying the same command?

Balbir


More information about the FSUG-Bangalore mailing list