Jump to content
3 posts in this topic

Recommended Posts

Hint: How to patch Mojave's Combo Update to install on HFs+

 

If we wanna use macOSUpd10.14.x.pkg  to upgrade our not Apfs system (i.e. HFs+ partition)

we have  to patch distribution file inside .pkg.

 

1) Expand .pkg

pkgutil --expand /Users/username/Desktop/macOSUpd10.14.1.pkg /Users/username/Desktop/macOSUpd10.14.1

 

2) Edit distribution (we can use TextEdit )

 

FROM:

function FileSystem1(prefix) {
    if (my.target.filesystem && my.target.filesystem.type == 'hfs') {
        return true;
    }
    return false;

 

TO:

function FileSystem1(prefix) {
    if (my.target.filesystem && my.target.filesystem.type == 'hfs') {
        return false;
    }
    return false; 


3) Repack .pkg

pkgutil --flatten  /Users/username/Desktop/macOSUpd10.14.1  /Users/username/Desktop/macOSUpd10.14.1mod.pkg

 

cheers

  • Like 4
  • Thanks 2
Link to comment
https://www.insanelymac.com/forum/topic/336357-macosupd1014xpkg-fix-for-hfs/
Share on other sites

  • 2 weeks later...
×
×
  • Create New...