How can I build a Mac package on linux? (BOM file problem)

别来无恙 提交于 2019-12-01 17:26:16

It is now possible to create BOM (bill-of-materials) files on linux. Someone created an open-source version of mkbom at:

http://hogliux.github.io/bomutils

The website also has an easy to follow step-by-step tutorial on creating a Mac OS X installer on Linux ( http://hogliux.github.io/bomutils/tutorial.html ).

My company regularly build Mac OS X installers on linux with this method and so far we haven't had any major problems.

Either you can find a package of this utility for your Linux: http://www.unix.com/man-page/All/8/mkbom/ or you can try to write it yourself, given the information available at Apple's website on BOM.

I created some code which can list a BOM from Linux. Needs some more work to actually write a BOM.

https://cauldrondevelopment.com/svn/osxbom/trunk

The BOM format is not at all intuitive. Really nasty actually. If you take a look at my code you can get an idea of the format. I noticed that GNUStep did away with the NEXTStep BOM format which is presumably where Apple got it.

Finally I've created a postflight hook that is doing all the installation process

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!