|
|
Create an OS X package from the command line
Will this break resource forks? I often use hfstar but can't rely on users to have it.
Create an OS X package from the command line
WOW!!! I am all for CLI stuff and am trying to do everything I can using CLI - but thats incredibly difficult compared to using the PackageMaker that comes with Developer Tools.
For info on using PackageMaker You probably have to have Dev registration but its free. If you have downloaded Developer Tools, you are already registered to do that. I was just learning how to create packages this weekend, and I was surprised how easy it actually is.
Re: Create an OS X package from the command line
The GUI is great for a one off. But for anything that requires consistency, anything that you do again and again, the CLI is great because it's scriptable. Script it and forget it.
Re: Create an OS X package from the command line
That's right!
Create an OS X package from the command line
Short answer: Unfortunately, probably not. Longer answer: Also, I don't know whether the package command-line utility calls pax to do its work or whether the necessary functions are built-in to package along with some kind of added resourcefork support. There may be a way to hack the pkg after it's been built with package, by manually using the hfspax utility to build a replacement Archive.pax.gz, but would the Installer app honour the resource forks when it's time to install? (hfspax is available in Fink). If anyone has time to experiment with this, please post your results here.
Create an OS X package from the command line
/usr/bin/package is a csh script (yuk!); view it and you'll see it uses pax.
Create an OS X package from the command line
AFAIK, hfstar (and hfspax?) make archives with the resource forks stored in them as somdir/somefile/..namedFork/rsrc so when they come out i *think* that standard tar or pax will un-archive them properly. anyone out there know for sure? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.11 seconds |
|