** Update: Recovery HD updaters packages for 10.11 will only work when run in OS X 10.11, previous packages could run in different OSesnot so for 10.11
Updated April 6, 2015: createRecoveryHDUpdater 15.4.6.command – built PKG now is targetable to volumes other than /
Released Feb 28, 2015: createRecoveryHDUpdater 15.2.28.command
Building off the previous work the updated script will now create a nicely named dmg
Containing both an interactive script for updating disks and a new script to create a .pkg!
The fruits of RecoveryHD PKG Maker.command:
Custom Bundle ID is interactively provided, the PackageVersion is matched to the OS release. Signing identity is asked for in the script but not tested (my cert might be broken, YMMV). The target of the package is always / – an exercise for the reader to change the postinstall script to use Installer’s variables to affect the target The exercise to make the .pkg targetable has been exercised by me… Enjoy!