{"id":638,"date":"2015-02-28T18:30:51","date_gmt":"2015-02-28T23:30:51","guid":{"rendered":"http:\/\/www.brunerd.com\/blog\/?p=638"},"modified":"2015-11-13T13:19:21","modified_gmt":"2015-11-13T18:19:21","slug":"recoveryhd-updater-now-with-pkg-building","status":"publish","type":"post","link":"https:\/\/www.brunerd.com\/blog\/2015\/02\/28\/recoveryhd-updater-now-with-pkg-building\/","title":{"rendered":"RecoveryHD Updater now with PKG building"},"content":{"rendered":"<p>** Update:\u00a0Recovery HD\u00a0updaters packages for 10.11\u00a0will\u00a0<strong>only<\/strong>\u00a0work when run in OS X 10.11, previous packages could run in different OSesnot so for 10.11<\/p>\n<p>Updated April 6, 2015:\u00a0<a href=\"http:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/createRecoveryHDUpdater-15.4.6.command.zip\">createRecoveryHDUpdater 15.4.6.command<\/a>\u00a0&#8211; built\u00a0PKG now is targetable to volumes other than \/<\/p>\n<p><del>Released Feb 28, 2015: <a href=\"http:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/createRecoveryHDUpdater-15.2.28.command.zip\">createRecoveryHDUpdater 15.2.28.command<\/a><\/del><\/p>\n<p><a href=\"http:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/createRecoveryHDUpdater-15.2.28.command.zip\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-642 size-full\" src=\"http:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/Recovery15.2.28.png\" alt=\"Recovery15.2.28\" width=\"172\" height=\"118\" \/><\/a><\/p>\n<p>Building off the <a href=\"http:\/\/www.brunerd.com\/blog\/2012\/03\/21\/update-create-lion-recoveryhd-partition-quickly-without-reinstalling\/\">previous work<\/a>\u00a0the updated script will now create a nicely named dmg<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-639\" src=\"http:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/recoverydmg_icon.png\" alt=\"recoverydmg_icon\" width=\"137\" height=\"106\" \/><\/p>\n<p>Containing <em>both<\/em> an interactive script for updating\u00a0disks <em>and<\/em>\u00a0a new script to create a .pkg!<\/p>\n<p><a href=\"http:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/recoverydmg_2scripts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-641\" src=\"http:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/recoverydmg_2scripts.png\" alt=\"recoverydmg_2scripts\" width=\"299\" height=\"100\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The fruits of RecoveryHD PKG Maker.command:<\/p>\n<p><a href=\"http:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/recoverydmg_2scripts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-640\" src=\"http:\/\/www.brunerd.com\/blog\/wp-content\/uploads\/recoverypkg_icon.png\" alt=\"recoverypkg_icon\" width=\"133\" height=\"110\" \/><\/a>Custom Bundle ID is interactively provided, the PackageVersion is matched to the OS release. Signing identity is asked for in the script\u00a0but not tested (my cert might be broken, YMMV). <del>The target of the package is always \/ &#8211; an exercise for the reader to change the postinstall script to use\u00a0Installer&#8217;s variables to affect the target<\/del> The exercise to make the .pkg\u00a0targetable has been exercised by me&#8230; Enjoy!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>** Update:\u00a0Recovery HD\u00a0updaters packages for 10.11\u00a0will\u00a0only\u00a0work when run in OS X 10.11, previous packages could run in different OSesnot so for 10.11 Updated April 6, 2015:\u00a0createRecoveryHDUpdater 15.4.6.command\u00a0&#8211; built\u00a0PKG now is targetable to volumes other than \/ Released Feb 28, 2015: createRecoveryHDUpdater 15.2.28.command Building off the previous work\u00a0the updated script will now create a nicely named [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,12],"tags":[],"class_list":["post-638","post","type-post","status-publish","format-standard","hentry","category-os-x","category-scripting"],"_links":{"self":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts\/638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/comments?post=638"}],"version-history":[{"count":7,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts\/638\/revisions"}],"predecessor-version":[{"id":698,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/posts\/638\/revisions\/698"}],"wp:attachment":[{"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/media?parent=638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/categories?post=638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.brunerd.com\/blog\/wp-json\/wp\/v2\/tags?post=638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}