legacy-wiki
Openrba
Recovered from the older tannerjc.net wiki snapshot dated January 23, 2016.
create packages
What does koji do and how does it work?
- https://fedorahosted.org/koji/
- New buildroot for each build
- http://fedoraproject.org/wiki/Projects/Mock
chroot
Need to have an on-demand chroot environment to build the package.
- http://fedoraproject.org/wiki/Projects/Mock
- lvm logical volumes Creating a logical volume prior to each build is time intensive. Could there be one LV that is snapshot’ed prior to the build and reverted post build?
- chroot jails
- cgroups?
formats
- rpms
- rpmbuild
- .spec
- debs
- debmake
- control file
- msi
references
http://openstackgd.wordpress.com/2011/10/06/how-we-build-packages-in-grid-dynamics-using-gear-mock/
create meta rpms
Yum or apt groups would be ideal to handle groups, but neither offer the ability to define pre/post script actions. meta-rpms that pretend to be groups would offer pretty much the same functionality.
create repo
rpm
- createrepo
- spacewalk
apt
create kickstart
create image
- koji can create livecds and appliance images: http://fedoraproject.org/wiki/Koji/KojiLiveCDHowTo
A chroot is initialized and populated with the packages and their dependencies from the livecd-build or appliance-build package group.