Is "make rpm-pkg" and "make binrpm-pkg" same?
Hi,
I build the kernel with "make rpm-pkg" and "make binrpm-pkg". The "make help" shows:
rpm-pkg - Build both source and binary RPM kernel packages
binrpm-pkg - Build only the binary kernel package
But except the different process, the RPMs I got seems same. I look the kernel.spec and binkernel.spec, it seems same, too. I'm wonder does rpm-pkg really build source?
Thanks,
Bin Wang
Quoted 5 lines · Bin Wang
Hi,
I build the kernel with "make rpm-pkg" and "make binrpm-pkg". The "make help" shows:
Quoted 8 lines
rpm-pkg - Build both source and binary RPM kernel packages
binrpm-pkg - Build only the binary kernel packageBut except the different process, the RPMs I got seems same. I look the kernel.spec and binkernel.spec, it seems same, too. I'm wonder does rpm-pkg really build source?
I think this very distribution specific question. RPMs are mostly used by
Redhat based distros, Suse distro and probably few others. I would suggest asking this question of distro mailing list.
Quoted 9 lines
Thanks,
Bin Wang_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Signature · 6 lines
Thank you Warm Regards Anuz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130115/e590701c/attachment.html
Hi, Anuz
Thanks for your help. It turns out that "build source RPM package" means it will make a SRPM package in path/to/rpmbuild/SRPM.
Quoted 3 lines · Anuz Pratap Singh Tomar
I think this very distribution specific question. RPMs are mostly used by Redhat based distros, Suse distro and probably few others.
I would suggest asking this question of distro mailing list.
It is a distro specified question. I don't know it until I have a basic understand of RPM packages. In fact, there is a comment in scripts/package/Makefile:
# The rpm target generates two rpm files:
# /usr/src/packages/SRPMS/kernel-2.6.7rc2-1.src.rpm # /usr/src/packages/RPMS/i386/kernel-2.6.7rc2-1.<arch>.rpm
Sorry for did not notice it at the first time.
Bin Wang