Results 1 to 2 of 2

Thread: patching help

  1. #1
    Join Date
    Jan 2008
    Location
    Ft. Wayne
    Beans
    158
    Distro
    Ubuntu 9.10 Karmic Koala

    patching help

    I am running a 2.6.28.6 kernel and would like to apply the 2.6.28.7 patch and compile it. I have downloaded the patch and when I use this command:
    Code:
     patch -p1 > patch-2.6.28.7
    I get a a message the says:
    Code:
    |diff --git a/Documentation/filesystems/sysfs-pci.txt b/Documentation/filesystems/sysfs-pci.txt
    |index 68ef488..de99749 100644
    |--- a/Documentation/filesystems/sysfs-pci.txt
    |+++ b/Documentation/filesystems/sysfs-pci.txt
    --------------------------
    File to patch:
    I don't know what to type after file to patch. I have tried everything and it says file doesnt exits then asks if I want to skip.
    ECS Black Series GF8200A NVIDIA GeForce 8200 HDMI
    AMD Phenomx4 9650 2.3ghz Quad-Core
    4048MB DDR2 1066Mhz Ram
    Nvidia Geforce 9500GT 1gig dedicated Ram

  2. #2
    Join Date
    Nov 2007
    Location
    Central Coast, California
    Beans
    1,789

    Re: patching help

    It's been a while since I've used patch, but I believe you need to send the patch as input, rather than output. You may also have to adjust the -p1 parameter, since that changes something to do with the levels of directories.

    Take a read through this.
    I do not use Ubuntu any more, nor have I ever used Gnome. Therefore, I tend to give advice that is distro- and DE-agnostic, which, while perhaps not the easiest way, will allow you to move freely between machines.

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
  •