make binrpm-pkg

Ed Hill ed at eh3.com
Sun Aug 28 11:50:49 EDT 2005


On Sun, 2005-08-28 at 10:40 -0400, jbk wrote:
> I compiled a custom kernel using make binrpm-pkg for an i586 
> configuration. The suffix on the package that was created is 
> .i386. This did not have an effect on the installed kernel 
> package, I just would like to know if there is a way to name 
> the package correctly?
> Second, the make does not make an initrd image as part of 
> the package, is there a way to incorporate one in the build?
> Third, the package install does not update grub.conf for the 
> new kernel.
> 
> This is all on FC4.

Hi Jim,

I'm not familiar with "make binrpm-pkg".  But I am one of the Fedora
Extras volunteers so I routinely write, maintain, and review RPMs.

The preferred RPM building methods for Fedora are either in your home
directory with something like:

  yum install fedora-rpmdevtools
  fedora-buildrpmtree
  wget $URL_FOR_SRPM
  rpmbuild --rebuild $SRPM

or, alternatively, in "mock" using:

  yum install mock
  wget $URL_FOR_SRPM
  mock $SRPM

where the latter provides a pristine chroot-ed environment for the build
and is preferred (its the "standard" within Fedora Extras).  And note
that mock may conflict with SELinux (depending upon your SELinux policy)
so you may have to turn it off or temporarily disable SELinux:

  system-config-securitylevel

to get mock working.

Hope that helps,
Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Rm 54-1424;  77 Massachusetts Ave.
             Cambridge, MA 02139-4307
emails:  eh3 at mit.edu                ed at eh3.com
URLs:    http://web.mit.edu/eh3/    http://eh3.com/
phone:   617-253-0098
fax:     617-253-4464




More information about the Discuss mailing list