Re: Requirement for amount of free space on root volume in installer?
Re: Requirement for amount of free space on root volume in installer?
- Subject: Re: Requirement for amount of free space on root volume in installer?
- From: Iceberg-Dev <email@hidden>
- Date: Sat, 09 Jul 2011 01:36:24 +0200
On Jul 8, 2011, at 11:29 PM, Mac QA wrote:
Hi,
I have an installer pkg created from an Iceberg packproj -- it is a
normal package (when you right-click it says "show package contents").
I want to add a requirement that there be at least a gigabyte of free
space on the root volume. The requirement editor in Iceberg doesn't
seem to have a way to support this. Only gestalt, sysctl, etc, which
don't seem to provide a way to do this check. Please correct me if I
am wrong.
So then I saw that the requirements editor in Package Maker 3 does
have a way to specify "Megabytes available on target" so I created a
simple test package using Package Maker and set this requirement. My
intent was to then examine the pkg it creates and try to copy that
into my Iceberg produced pkg manually. However, the pkg that Package
Maker produced didn't even have a "show package contents" when
right-clicked, so there was seemingly no way to inspect it.
The "Megabytes available on target" requirement in PackageMaker 3 is
probably the requirement based on the JavaScript features and
extension of distribution scripts.
Can anyone suggest the proper way to perform this check using Iceberg?
It can probably be done for instance with an InstallationCheck shell
script using the df tool.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden