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
On Tue, Jan 15, 2013 at 2:03 PM, Bin Wang <wbin00@gmail.com> wrote:
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?
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.
Thanks, Bin Wang
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Thank you Warm Regards Anuz
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. On 2013/01/15/ 23:56, Anuz Pratap Singh Tomar wrote:
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
participants (2)
-
Anuz Pratap Singh Tomar -
Bin Wang