RE: [OT] How to extract a BOM archive correctly?
RE: [OT] How to extract a BOM archive correctly?
- Subject: RE: [OT] How to extract a BOM archive correctly?
- From: Eduard de Jong <email@hidden>
- Date: Fri, 5 Oct 2007 14:20:40 +0100
At 09:12 -0400 05-10-2007, Karan, Cem (Civ, ARL/CISD) wrote:
Mmm, I see... well, is the .bom format completely specified anywhere?
man bom tells you about it
lsbom shows it content
mkbom makes one from a directory
Even if ditto can't extract anything, if I can write a tool that can
modify the permissions for me, then that will work.
This isn't as crazy as it sounds, there is a guy that is doing this via
a hexeditor already:
http://forums.macosxhints.com/archive/index.php/t-66174.html
I would just like to do this properly, via a tool that knows the format.
Thanks,
Cem Karan
-----Original Message-----
From: Fritz Anderson [mailto:email@hidden]
Sent: Friday, October 05, 2007 8:40 AM
To: Karan, Cem (Civ, ARL/CISD)
Cc: Xcode Users
Subject: Re: [OT] How to extract a BOM archive correctly?
On 5 Oct 2007, at 6:46 AM, Karan, Cem (Civ, ARL/CISD) wrote:
I just did, but... isn't Archive.bom the source archive? If not, then
what is it asking for? Can you give me an example of how to do the
extraction from something that already is in your own /Library/
Receipts directory?
You can't. You are clinging to a forlorn hope.
The "packages" in the Receipts directories have the same names as
installer packages, but have been stripped of the Contents/
Archive.pax.gz files, which contain the files that were installed.
Archive.bom is still present, as a listing (or "receipt") of what was
installed, but a listing is not the same thing as the actual files
themselves. A .bom (bill-of-materials) file is _not_ an archive.
Find an installer .pkg package and examine the contents; then compare it
to the receipt of the same name. The very, very large Archive.pax.gz
file is absent. Otherwise, it would not be practical to keep the
receipt; imagine keeping the entire archive of every OS installation.
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden