Build Linux kernel using mock

From VVCWiki
Jump to navigationJump to search

PAE kernel on RHEL5

mock -v --target i686 --without xen --without debug --without debuginfo --without up --without kabichk \
-r epel-5-i386 kernel-2.6.25-14.vvc.el5.src.rpm

kernel on RHEL6

mock -v -r epel-6-i386 --target i686 --without debug --without debuginfo --without kabichk \
--with firmware --without perf kernel-2.6.32-358.6.1.el6.vvc.src.rpm