Skip to content

Comment on A weird CPIO discrepancyparent

Comments

macOS packages are gzipped cpio archives:

file Diva.au.pkg/Payload

Payload: gzip compressed data, from Unix, original size modulo 2^32 25391104

gzip -dc Diva.au.pkg/Payload > unpacked file unpacked

unpacked: ASCII cpio archive (pre-SVR4 or odc)

A long time ago, when Apple was on the verge of releasing OS X, they ran a series of dev conferences. These were to inform then-current Mac devs on the huge changes from 9 to X.

One slide was "we've come up with a new way to install apps! Just run /bin/sh configure, then make, then make install!". After the wave of consternation swept the assembled devs, the next slide was "only joking". With reassurance that you'll still be able to drag an icon to install.

Very amusing to me that CPIO is underneath the pkg install method/format. I wonder what those old school Mac devs would have thought?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.