Giter VIP home page Giter VIP logo

Comments (11)

Macjutsu avatar Macjutsu commented on July 28, 2024 1

Just an update here... there are still not RSR updates in the wild to actually test... so nothing I can do at this point.

from super.

Macjutsu avatar Macjutsu commented on July 28, 2024 1

I'm aware... next release will support RSRs.

from super.

master-vodawagner avatar master-vodawagner commented on July 28, 2024

Looks like the logic will need the following extra argument in the /System/Volumes/Update/Update update-asset-attributes

ProductVersionExtra

For the first RSR test, this is my result.....

ProductVersionExtra = "(a)"

from super.

Macjutsu avatar Macjutsu commented on July 28, 2024

Also, to be clear at this point betas are not supported either... but this is yet another monkeywrench in the mess that is softwareupdate.

from super.

Macjutsu avatar Macjutsu commented on July 28, 2024

So while I have a new build with betas working properly now... I'm not sure what to do with the rapid security responses yet.

I though the whole point was they did NOT require a restart... yet here we are with these results in my software update list...

* Label: macOS Security Response 13.2 (a)-22D7750270d Title: macOS Security Response 13.2 (a), Version: 13.2 (a), Size: 117241K, Recommended: YES, Action: restart,

from super.

master-vodawagner avatar master-vodawagner commented on July 28, 2024

If you want more eyes on your test code I’m happy to help try it in my dedicated DEV environment

from super.

master-vodawagner avatar master-vodawagner commented on July 28, 2024

I think RSRs always needed a restart but it doesn’t take as long to install vs a minor patching

from super.

Macjutsu avatar Macjutsu commented on July 28, 2024

Good news... latest release supports beta seeds... bad news... there are other things going on in 13.2 that break super... but as soon as those are resolved I'll get to work on supporting RSR updates.

https://github.com/Macjutsu/super/releases/tag/v3.0-b6

from super.

croaker-1 avatar croaker-1 commented on July 28, 2024

There is one today: 13.3.1 (a)

from super.

croaker-1 avatar croaker-1 commented on July 28, 2024

Here is what I am seeing with the RSR 13.3.1 (a) update:

Tue May 02 17:37:09 ZMHXXFQM9W super[95840]: Verbose Mode: Function downloadMacOSSoftwareUpdate: softwareUpdateLabelTARGET[] is:
macOS Security Response 13.3.1 (a)-22E772610a
Tue May 02 17:37:09 ZMHXXFQM9W super[95840]: Verbose Mode: Function downloadMacOSSoftwareUpdate: workflowTimeoutSECONDS is: 120
Tue May 02 17:37:14 ZMHXXFQM9W super[95840]: softwareupdate: macOS Security Response 13.3.1 (a) is downloading...
Tue May 02 17:37:14 ZMHXXFQM9W super[95840]: Verbose Mode: Function downloadMacOSSoftwareUpdate: workflowTimeoutSECONDS is: 1200
Tue May 02 17:37:14 ZMHXXFQM9W super[95840]: softwareupdate: macOS Security Response 13.3.1 (a) download and preparation complete.
Tue May 02 17:37:14 ZMHXXFQM9W super[95840]: Verbose Mode: Function downloadMacOSSoftwareUpdate: softwareUpdateTitleTARGET is: macOS Security Response 13.3.1 (a)
Tue May 02 17:37:14 ZMHXXFQM9W super[95840]: Verbose Mode: Function downloadMacOSSoftwareUpdate: ```
softwareUpdateDownloadTITLE is: macOS Security Response 13.3.1 (a)
Tue May 02 17:37:14 ZMHXXFQM9W super[95840]: Verbose Mode: Function downloadMacOSSoftwareUpdate: preparedMacOSVERSION is: 13.3.1
Tue May 02 17:37:14 ZMHXXFQM9W super[95840]: Verbose Mode: Function downloadMacOSSoftwareUpdate: macOSUpgradeVersionTARGET is: FALSE
Tue May 02 17:37:14 ZMHXXFQM9W super[95840]: Verbose Mode: Function downloadMacOSSoftwareUpdate: macOSSoftwareUpdateVERSION is: 13.3.1 (a)
Tue May 02 17:37:14 ZMHXXFQM9W super[95840]: Error: Downloaded macOS update version of 13.3.1 doesn't match expected version 13.3.1 (a), trying again in 900 seconds.

It looks like macOSSoftwareUpdateVERSION picks up the "(a)" but preparedMacOSVERSION does not.
To allow preparedMacOSVERSION to capture the extra version information, I replaced:

preparedMacOSVERSION=$(defaults read /System/Volumes/Update/Update update-asset-attributes 2> /dev/null | grep -w 'OSVersion' | sed -e 's/ OSVersion = "//' -e 's/";//')

on lines 4103 & 4325 with

preparedMacOSVERSION=$(defaults read /System/Volumes/Update/Update update-asset-attributes 2> /dev/null | grep -w 'OSVersion' | sed -e 's/ OSVersion = "//' -e 's/";/ /' | tr -d '\012'; defaults read /System/Volumes/Update/Update update-asset-attributes 2> /dev/null | grep -w 'ProductVersionExtra' | sed -e 's/ ProductVersionExtra = "//' -e 's/";//')

This allowed the update to download and install.

Tue May 02 21:42:32 ZMHXXFQM9W super[33763]: Verbose Mode: Function downloadMacOSSoftwareUpdate: softwareUpdateLabelTARGET[] is:
macOS Security Response 13.3.1 (a)-22E772610a
Tue May 02 21:42:32 ZMHXXFQM9W super[33763]: Verbose Mode: Function downloadMacOSSoftwareUpdate: workflowTimeoutSECONDS is: 120
Tue May 02 21:42:37 ZMHXXFQM9W super[33763]: softwareupdate: macOS Security Response 13.3.1 (a) is downloading...
Tue May 02 21:42:37 ZMHXXFQM9W super[33763]: Verbose Mode: Function downloadMacOSSoftwareUpdate: workflowTimeoutSECONDS is: 1200
Tue May 02 21:42:37 ZMHXXFQM9W super[33763]: softwareupdate: macOS Security Response 13.3.1 (a) download and preparation complete.
Tue May 02 21:42:37 ZMHXXFQM9W super[33763]: Verbose Mode: Function downloadMacOSSoftwareUpdate: softwareUpdateTitleTARGET is: macOS Security Response 13.3.1 (a)
Tue May 02 21:42:37 ZMHXXFQM9W super[33763]: Verbose Mode: Function downloadMacOSSoftwareUpdate: softwareUpdateDownloadTITLE is: macOS Security Response 13.3.1 (a)
Tue May 02 21:42:37 ZMHXXFQM9W super[33763]: Verbose Mode: Function downloadMacOSSoftwareUpdate: preparedMacOSVERSION is: 13.3.1 (a)
Tue May 02 21:42:37 ZMHXXFQM9W super[33763]: Verbose Mode: Function downloadMacOSSoftwareUpdate: macOSUpgradeVersionTARGET is: FALSE
Tue May 02 21:42:37 ZMHXXFQM9W super[33763]: Verbose Mode: Function downloadMacOSSoftwareUpdate: macOSSoftwareUpdateVERSION is: 13.3.1 (a)
Tue May 02 21:42:37 ZMHXXFQM9W super[33763]: Verbose Mode: Function setDisplayLanguage: titleWorkflowDISPLAY is: macOS 13.3.1 (a) Update
Tue May 02 21:42:37 ZMHXXFQM9W super[33763]: IBM Notifier: Ask for restart or defer dialog with a 900 second timeout.

from super.

Macjutsu avatar Macjutsu commented on July 28, 2024

https://github.com/Macjutsu/super/releases/tag/v3.0-b11

from super.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.