Re: Requirement for amount of free space on root volume in installer?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; bh=JPbJTULX0d3nnF+n4nbrZbM6YJMkDFbeznjxqwASCnU=; b=WFp8rKPtbB0ztKxCWgEiuH57fHHKAAKYnGtdZYLfrhfOrNusIxheM2nBxHWv6HwtJQ juzYuFL6PiaH4eBQbx9/MF1SGEF6An0Alw4c7hw4P1oG5mc8Ry7P+vB7HR5UJn1N/4DU lM6e83zTcJEPSpPorp3gDrLWGq0b8FxWumgbA= 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. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Iceberg-Dev