How can I port OpenPKG to a new platform?
Porting OpenPKG to a new platform usually is two-fold: • You have to get the bootstrap package “openpkg” building and running on the new platform. This basically means that that the contained software packages (Bash, cURL, Tar, RPM, etc) have to build and that the linking into the system (users/groups and cron/init scripts) is known by the bootstrap. For getting the software building, you perhaps have to add one or more patchfiles to the “openpkg” package or at least use some “shtool” substitutions in “openpkg.spec”. For the linking into the system, add the corresponding commands to the “%pre” and “%preun” sections of “openpkg.spec”. • You have to port your wished OpenPKG packages to the new platform. Because all OpenPKG packages are inherently portable (because do not contain any platform specific things), porting them usually always means to get the underlying vendor software package building. OpenPKG most of the time (only a few exceptions exists) package only already portable vendo