Build RPM packages in chrooted system
Hi,
I've read some topics about "y2pmbuild" and "build" to create SuSE RPM packages in a chroot. I haven't found any clear tutorial on this (the pages at opensuse.org don't explain which commands to type.. :confused:). How can I create a chroot with the minimal set of required packages? |
I usually build rpm's as an unpriv user. If you think that's enough read IBM developerWorks, Packaging software with RPM, Part 2: Building without root, patching software, and distributing RPMs. Or are there specific requirements why you need a chroot env for building rpm's?
|
Yes, I have upgraded KDE at my system, but need want to compile my application with a clean system (or it will crash at other systems). I also want to use a chroot so I can compile for other SuSE versions at the same system.
|
want to compile my application with a clean system (or it will crash at other systems). I also want to use a chroot so I can compile for other SuSE versions at the same system.
Well, then install GPG and the y2pmsh rpm and head over to the SUSE Build Tutorial. the pages at opensuse.org don't explain which commands to type At the bottom of the SUSE Build Tutorial are some links to good tutorials about building rpm's and you should read them even if y2pmbuild is a wrapper for most of the commands. |
All times are GMT -5. The time now is 03:51 AM. |