Good works! Blackosx!
From now I no find issue...
Hi Fabio
Thanks for trying out the package installer in my branch. It's working well here too and I have performed many successfully test installations running it.
I've made many tweaks to the existing scripts. The slimpkg script now matches the buildpkg script where applicable and I've changed, renamed, added and removed folders and files in the package folder so it probably looks quite different to how you knew it. Boot0md now supersedes Boot0hfs throughout. If there is an existing /Extra folder at the root of the target partition it will be backed up by the installer before making a new one.
One of the big changes I've made is to incorporate the scripts from my previous work on the package installer (
http://forum.voodooprojects.org/index.php/topic,1521.msg8870.html#msg8870), though this time link them in to work with the buildpkg script. I had learned a bit about packages when I'd previously played with Packagemaker so that helped me understand the process better, though I still haven't read and understood everything. But to be honest building the package without using the Packagemaker app GUI is by far a better way to do it. It's worth noting that I haven't included the part of code from my previous scripts which deleted /Volumes/EFI after installing to the EFI system partition as this I believed was (somehow) the source of the problem in the past. So currently this needs to be removed manually.
The other big change is there is now an install log generated by the installer which gets saved to the root of the selected target partition. This is so users can know what has been installed where on their system as I have read many posts in the past here from users who either can't find the installed files, or have more than one /Extra folder so any changes made aren't reflected upon next boot. I have a plan to add a feature for the install scripts to scan a users machine for other existence(s) of Chameleon and notify users prior to installation.
I've changed the way boot options and kernel flags are setup/managed/created as having an exact same script using the exact same code for each boot option seemed silly and was a waste of time when it came to making changes. It's quite dynamic now and very simple to add/remove/change them and I've also tried to make use of the 'exclusive' option which is working, but I haven't figured out how (if possible) to set the 'choose none' option to be selected by default.
The code is functional but I'm sure it can be simplified/improved by someone with a wider knowledge of bash scripting commands.
The English localizable strings have changed and I might re-order them again at some point so the other languages will need to be updated to match. I know you've put much work in to adding different languages so sorry to have created more work for either you or someone else.
There are more things to improve/change and add in time but most of the big changes have been done for now. There is no support for RAID yet, though it's something I feel the installer should be able to deal with. And maybe the order/folders of boot options that I currently have could be changed?
You think is ready to merge it into the main code?
I think soon, but I would prefer to hear more feedback and see some results from more users trials before it is and for that I will need to post a preview test package. I'll try to do that later today.
UPDATE:Here's a beta v1 of the package installer from my branch.
It's built from the exact code from my branch apart from:
• All the languages other than English have been removed.
• The two 'Exclusive' options have been disabled.
• The Welcome.rftd and Conclusion.rtfd files have been changed to include '(Beta test installer v1 - blackosx branch)'.
• buildpkg.sh has had '(blackosx branch)' removed from being appended to stage=${version##*-}
UPDATE 2:v1 removed and v2 now posted.
Changed post script so it won't make an empty Extra folder when not needed.
UPDATE 3:v2 removed and v3 now posted.
Added a check for an existing Chameleon installation on a different partition of same target disk to help stop new users from confusing themselves.
UPDATE 4: 5th October 23:30v3 removed and v4 now posted.
Don't create /Extra folder if process is stopped due to exisiting Chameleon installation found.
UPDATE 5: 7th October 08:21v4 removed and v5 now posted.
Tweaks and code cleanups. This could almost be the final beta?
UPDATE 6: 7th October 15:19v5 removed and new beta package now
posted to InsanelyMac for testing.