[relnotes] [Fedora Project Wiki] Update of "Docs/Beats/Kernel" by SamFolkWilliams

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Fedora Project Wiki" for change notification.

The following page has been changed by SamFolkWilliams:
http://fedoraproject.org/wiki/Docs/Beats/Kernel

The comment on the change is:
fixed bug 204070

------------------------------------------------------------------------------
  
  Many of the tutorials, examples, and textbooks about Linux kernel development assume the kernel sources are installed under the `/usr/src/linux/` directory. If you make a symbolic link, as shown below, you should be able to use those learning materials with the Fedora Core packages. Install the appropriate kernel sources, as shown earlier, and then run the following command:
  
- {{{su -c 'ln -s /usr/src/kernels/kernel-<all-the-rest> /usr/src/linux'
+ {{{su -c 'ln -s /usr/src/kernels/<version>.<arch> /usr/src/linux'
  }}}
  
  Enter the `root` password when prompted.
@@ -73, +73 @@

  
  Users who require access to Fedora Core original kernel sources can find them in the kernel .src.rpm package.  To create an exploded source tree from this file, perform the following steps:
  
- [[Admonition("note", "Do Not Build Packages as Super-user (root)", "Building packages as the superuser is inherently dangerous and is not required, even for the kernel.  These instructions allow you to install the kernel source as a normal user.  Many general information sites refer to `/usr/src/linux` in their kernel instructions.  If you use these instructions, simply substitute `~/rpmbuild/BUILD/kernel-<version>/linux-<version>`.]]
+ [[Admonition("note", "Do Not Build Packages as Super-user (root)", "Building packages as the superuser is inherently dangerous and is not required, even for the kernel.  These instructions allow you to install the kernel source as a normal user.  Many general information sites refer to `/usr/src/linux` in their kernel instructions.  If you use these instructions, simply substitute `~/rpmbuild/BUILD/kernel-<version>/linux-<version>.<arch>`.]]
  
   1. Prepare a RPM package building environment in your home directory.  Run the following commands:
  
@@ -107, +107 @@

  rpmbuild -bp --target $(uname -m) kernel-2.6.spec
  }}}
  
-   The kernel source tree is located in the `${HOME}/rpmbuild/BUILD/kernel-<version>/` directory.
+   The kernel source tree is located in the `~/rpmbuild/BUILD/kernel-<version>/linux-<version>.<arch>` directory.
  
   1. The configurations for the specific kernels shipped in Fedora Core [[GetVal(DocsDict,BeatsVer)]] are in the `configs/` directory. For example, the i686 configuration file is named `configs/kernel-<version>-i686.config`. Issue the following command to place the desired configuration file in the proper place for building:
  


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Gnome Users]     [KDE Users]

  Powered by Linux