Jump to content

macOSUpd10.14.x.pkg fix for HFS+


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

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