This repository contains three utilities to help generate update profiles for AutoDMG
autodmg-rss.py
reads Apple's RSS feed for software updates and creates a plist with the name and URL of each update. Not all updates have standard download buttons (notably iTunes), and some updates are only available from Software Update, so some will have to be added manually.
autodmg-checksum.py
takes the plist from autodmg-rss.py
and downloads each update that doesn't have the sha1 checksum or size set. It also updates the PublicationDate to the current time, and it saves the updates for you in AutoDMG/Updates
.
autodmg-verify.py
checks for common errors, such as plist syntax errors, unreferenced updates, or forgetting to update the PublicationDate.
- Install a bare OS on a test machine, and perform initial setup.
- Run
sudo softwareupdate -l -a
. - Note the updates and the order they appear in.
- Run
./autodmg-rss.py updates.plist
. - Use
updates.plist
to update AutoDMG'sUpdateProfiles.plist
, while paying attention to installation order. - Manually add any updates that
autodmg-rss.py
doesn't find, and remove deprecated updates. - Run
./autodmg-checksum.py updates.plist
. - Run
./autodmg-verify.py updates.plist
. - Run
./install.sh
to moveUpdateProfiles.plist
into~/Library/Application Support/AutoDMG
for testing. - Build an image with updates applied.
- Deploy it and verify that no additional updates are required.