@Sko - I've written a script to build an installer volume (what has recently been called the "legacy" installer method)
(Please test carefully - there may be errors in my scripting)
EDIT : Oops, found a bug - replaced the script attached
EDIT2: I have removed any requirement for local copies of modified files (PlatformSupport.plist for example). Everything is now built on-the-fly. You just need to put a copy of Pike's boot.efi (of your choice) in the same folder as the script, AND get a copy of pbzx. The script should be version agnostic, it'll work with v2.x, v3.x, and the frequent dev build. Run the script as root from the Terminal (sudo buildInstallerDrive.sh [pathToYourIntendedInstallerVolume])
e.g.
sudo buildInstallerDrive.sh /Volumes/Untitled
There are some prerequisites:
Run the script and wait....
The final output should be your installer volume (disk, SSD, USB stick, whatever...) named Install OS X El Capitan
-----------
I have tried to modify the Essentials.pkg file, but after rebuilding the package, the Installer gives up saying no items to install. I assume this is because the original Essentials.pkg file is signed by Apple (and the Installer is probably checking for this)
(Please test carefully - there may be errors in my scripting)
EDIT : Oops, found a bug - replaced the script attached
EDIT2: I have removed any requirement for local copies of modified files (PlatformSupport.plist for example). Everything is now built on-the-fly. You just need to put a copy of Pike's boot.efi (of your choice) in the same folder as the script, AND get a copy of pbzx. The script should be version agnostic, it'll work with v2.x, v3.x, and the frequent dev build. Run the script as root from the Terminal (sudo buildInstallerDrive.sh [pathToYourIntendedInstallerVolume])
e.g.
sudo buildInstallerDrive.sh /Volumes/Untitled
There are some prerequisites:
- Use of the Terminal
- Super User (sudo -s)
- The Hackintosh community built a handy utility to extract the Payload of an Installer Package, pbzx
- There's a pre-built binary there. (Registration required)
- Download it, copy it to somewhere on the standard PATH (I suggest /usr/local/bin)
- Make sure it is executable (chmod 755 /usr/local/bin/pbzx)
- Edit the script and change the variable at the top to point to the Volume that you will overwrite with the newly built Installer
- Make sure the script is executable
Run the script and wait....
The final output should be your installer volume (disk, SSD, USB stick, whatever...) named Install OS X El Capitan
-----------
I have tried to modify the Essentials.pkg file, but after rebuilding the package, the Installer gives up saying no items to install. I assume this is because the original Essentials.pkg file is signed by Apple (and the Installer is probably checking for this)
Attachments
Last edited: