2010/11/30 Akemi Yagi <amy...@gmail.com>:
> On Tue, Nov 30, 2010 at 12:12 PM, Pascal Robert <prob...@macti.ca> wrote:
>
>>>>   [r...@hylafax SPECS]# rpmbuild -ba --target x86_64 kernel-2.6.spec
>
> You are building as root. This is a bad practice. When building a
> CentOS custom kernel, please try following the instructions in:
>
> http://wiki.centos.org/HowTos/Custom_Kernel

I suggest to use mock for building CentOS/RHEL or fedora packages.

http://fedoraproject.org/wiki/Projects/Mock

For example:

mock -r epel-5-x86_64 --rebuild kernel.src.rpm

Best regards,

Morten
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to