OLPC Kernel Build: Difference between revisions
From HacDC Wiki
Haxwithaxe (talk | contribs) (Created page with "# <pre># yum install kernel-devel gcc make ncurses-devel rpmdevtools yum-utils mkinitrd</pre> # <pre># rpmdev-setuptree</pre> # <pre># yumdownloader --source kernel</pre> # <pre>...") |
No edit summary |
||
Line 13: | Line 13: | ||
# <pre># mkinitrd /boot/inird-<your build version> <yuor build version></pre> | # <pre># mkinitrd /boot/inird-<your build version> <yuor build version></pre> | ||
# <pre># cd /boot/ && rm vmlinuz && ln -s vmlinuz-<your build version> vmlinuz && ln -s System.map-<your build version> System.map && rm initrd.img && ln -s initrd-<your build version> initrd.img</pre> | # <pre># cd /boot/ && rm vmlinuz && ln -s vmlinuz-<your build version> vmlinuz && ln -s System.map-<your build version> System.map && rm initrd.img && ln -s initrd-<your build version> initrd.img</pre> | ||
[[Category:OLPC]] |
Revision as of 22:17, 3 April 2012
# yum install kernel-devel gcc make ncurses-devel rpmdevtools yum-utils mkinitrd
# rpmdev-setuptree
# yumdownloader --source kernel
# yum-builddep kernel-*.src.rpm
# rpm -Uvh kernel-*.src.rpm
# cd ~/rpmbuild/SOURCES
# tar jxvf olpc-2.6.tar.bz2
# cd linux-<version>
# cp ../kernel-xo1-custom.config .config
# make menuconfig
# make binrpm-pkg
# rpm -i ~/rpmbuild/RPMS/i386/kernel-*-i386.rpm
# mkinitrd /boot/inird-<your build version> <yuor build version>
# cd /boot/ && rm vmlinuz && ln -s vmlinuz-<your build version> vmlinuz && ln -s System.map-<your build version> System.map && rm initrd.img && ln -s initrd-<your build version> initrd.img