Difference between pages "RHEL6 Kernel HOWTO" and "Specific Funtoo Ebuilds"

(Difference between pages)
(Step 2: Install kernel sources)
 
 
Line 1: Line 1:
{{Fancynote|This page describes how to use a non-Funtoo, unofficial kernel. For official Funtoo Linux kernels, see [[Funtoo Linux Kernels]].}}
+
This is the list of ebuilds we have on our side that do not exist on Gentoo by alphabetical name (if you are looking for the ebuilds we have forked, please refer [[Forked_Ebuilds|there]]):
== Introduction ==
+
  
This HOWTO will show you how to get a {{Package|sys-kernel/openvz-rhel6-stable}} kernel running on a Funtoo Linux system.
+
{| {{Table}}
 +
|-
 +
!Category
 +
!Name
 +
!Version
 +
!Funtoo Maintainer
 +
!Changes/Notes
 +
!TODO
 +
|-
 +
|app-text
 +
|pyroom
 +
|TBC
 +
|[[User:golodhrim]]
 +
|pyroom is a distraction free text editor.
 +
|Nothing
 +
|-
 +
|app-arch
 +
|pxz
 +
|4.999.9_beta
 +
|[[User:404_Error]]
 +
|Parallel XZ compressor/decompressor. The revision seems to be in relationship with app-arch/xz-utils, okay with >=app-arch/xz-utils-5.0.
 +
|Remains to be tested on sparc64 and x86, only tested on amd64 so far.
 +
|-
 +
|media-sound
 +
|ocp
 +
|0.1.20
 +
|[[User:404_Error]]
 +
|Linux port of the so well known Cubic Player :) Functional amd64 and sparc64(!)
 +
|Remains to be tested on x86.
 +
|-
 +
|dev-lang
 +
|python
 +
|2.7.1-r3
 +
|[[User:404_Error]]
 +
|Backported the suggested changes for dev-lang/python-2.7.2 ebuild (see [https://bugs.gentoo.org/show_bug.cgi?id=374579 Bug#374579]). Fixes the DLFCN module not found issue that appears with Python on Linux 3.x series.
 +
|Nothing
 +
|-
 +
|dev-util
 +
|codelite
 +
|All versions
 +
|[[User:404_Error]]
 +
|Those were in the Gentoo bugzilla for quite some time but have never been pushed in their portage tree.
 +
|Nothing
  
== Step 1: Dependencies ==
+
|}
 
+
In ''<code>kernel.spec</code>'' from ''<code>kernel-2.6.32-71.18.2.el6.src.rpm</code>'':
+
{{fancynote|Please :
<pre>
+
* report any bugs for these ebuilds to the funtoo-dev mailing list.
# grep BuildRequires kernel.spec
+
* keep listed '''all''' versions pushed in Funtoo with the changes you made, this will help when backtracking issues or the adaptations made.  
BuildRequires: module-init-tools, patch >= 2.5.4, bash >= 2.03, sh-utils, tar
+
* Core developers : Please annonce on our public communication channels when you push a new package in Funtoo.
BuildRequires: bzip2, findutils, gzip, m4, perl, make >= 3.78, diffutils, gawk
+
BuildRequires: gcc >= 3.4.2, binutils >= 2.12, redhat-rpm-config
+
BuildRequires: net-tools, patchutils, rpm-build >= 4.8.0-7
+
BuildRequires: xmlto
+
BuildRequires: asciidoc
+
BuildRequires: sparse >= 0.4.1
+
BuildRequires: elfutils-libelf-devel zlib-devel binutils-devel
+
BuildRequires: gnupg
+
BuildRequires: python
+
BuildRequires: hmaccalc
+
BuildRequires: glibc-static
+
 
+
# grep BuildConflicts kernel.spec
+
BuildConflicts: rhbuildsys(DiskFree) < 7Gb
+
</pre>
+
 
+
It is advised to update {{Package|sys-fs/udev}}, {{Package|sys-fs/lvm2}}, and {{Package|sys-devel/gcc}} if they are not at their latest revision:  
+
 
+
<console>
+
###i## emerge -av1 sys-fs/udev sys-fs/lvm2 sys-devel/gcc
+
 
+
These are the packages that would be merged, in order:
+
 
+
Calculating dependencies                ... done!
+
[ebuild  R  ] sys-devel/gcc-4.4.5  USE="fortran mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) (-libffi) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 0 kB
+
[ebuild  R  ] sys-fs/udev-160-r1  USE="extras (-selinux)" 0 kB
+
[ebuild  R  ] sys-fs/lvm2-2.02.75  USE="rc_enable" 0 kB
+
 
+
Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
+
</console>
+
 
+
== Step 2: Install kernel sources ==
+
 
+
The process for installing an RHEL6 kernel has been drastically simplified. Simply perform the following steps:
+
 
+
<console>
+
###i## emerge -av layman && layman -a init6
+
</console>
+
 
+
Or copy the ebuilds from [https://github.com/init6/init_6/blob/master/sys-kernel/rh-sources/ github].
+
<console>
+
###i## emerge sys-kernel/rh-sources
+
</console>
+
 
+
Next, download the latest src.rpm (at the time of writing this page is kernel-2.6.32-71.18.2.el6.src.rpm) uncompresses the source code and add some patches:
+
 
+
* [https://github.com/init6/init_6/blob/master/sys-kernel/rh-sources/files/2.6.32.71_p14/linux-2.6-hotfixes.patch linux-2.6-hotfixes.patch]
+
* [https://github.com/init6/init_6/blob/master/sys-kernel/rh-sources/files/2.6.32.71_p14/xfs-list-sort.patch xfs-list-sort.patch] say thx '''damex''' from #funtoo channel on FreeNode irc net.
+
*[https://github.com/init6/init_6/blob/master/sys-kernel/rh-sources/files/2.6.32.71_p14/acpi-ec-add-delay-before-write.patch acpi-ec-add-delay-before-write.patch] more [https://bugzilla.kernel.org/show_bug.cgi?id=14733#c41 bugzilla.kernel.org bug #14733]
+
* [https://github.com/init6/init_6/blob/master/sys-kernel/rh-sources/files/2.6.32.71_p14/font-8x16-iso-latin-1.patch font-8x16-iso-latin-1.patch] this patch replaces the font font-8x16 from the linux kernel to a more pleasant and beautiful font was created by Mr. Ka-Ping Yee. Appearance of the font can be seen here [http://sudormrf.wordpress.com/2010/10/23/ka-ping-yee-iso-latin-1&nbsp;font-in-linux-kernel Ka-Ping Yee ISO Latin-1 Font in linux kernel]
+
 
+
To use this font, enable:
+
{{kernelop
+
|title=
+
|desc=
+
-> Graphics support
+
      -> Console display driver support
+
              -> Select compiled-in fonts (FONTS [=y])
+
                      [*]  VGA 8x16 font 
+
 
}}
 
}}
or simply enable ''<code>CONFIG_FONT_8x16</code>'' in kernel config.
 
 
I have not tested "Module ELF structure verification" ''<code>CONFIG_MODULE_VERIFY_ELF</code>'' or "Module signature verification" ''<code>CONFIG_MODULE_SIG</code>''. Everything besides including the nvidia-drivers, nouveau, broadcom-sta works fine.
 
 
== Step 3: Build it ==
 
 
Build it as you build any other kernel. There is nothing extraordinary. No special startup options in the grub is required.
 
That's all kids ;) And may the source/force be with you.
 
 
  
[[Category:Kernel]]
+
[[Category:Ebuilds]]

Latest revision as of 12:16, 19 August 2011

This is the list of ebuilds we have on our side that do not exist on Gentoo by alphabetical name (if you are looking for the ebuilds we have forked, please refer there):

Category Name Version Funtoo Maintainer Changes/Notes TODO
app-text pyroom TBC User:golodhrim pyroom is a distraction free text editor. Nothing
app-arch pxz 4.999.9_beta User:404_Error Parallel XZ compressor/decompressor. The revision seems to be in relationship with app-arch/xz-utils, okay with >=app-arch/xz-utils-5.0. Remains to be tested on sparc64 and x86, only tested on amd64 so far.
media-sound ocp 0.1.20 User:404_Error Linux port of the so well known Cubic Player :) Functional amd64 and sparc64(!) Remains to be tested on x86.
dev-lang python 2.7.1-r3 User:404_Error Backported the suggested changes for dev-lang/python-2.7.2 ebuild (see Bug#374579). Fixes the DLFCN module not found issue that appears with Python on Linux 3.x series. Nothing
dev-util codelite All versions User:404_Error Those were in the Gentoo bugzilla for quite some time but have never been pushed in their portage tree. Nothing

Note

Please :

  • report any bugs for these ebuilds to the funtoo-dev mailing list.
  • keep listed all versions pushed in Funtoo with the changes you made, this will help when backtracking issues or the adaptations made.
  • Core developers : Please annonce on our public communication channels when you push a new package in Funtoo.