This repository contains two 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
.
- 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
. - Edit updates.plist, add any updates that
autodmg-rss.py
doesn't find, and remove irrelevant updates. - Run
./autodmg-checksum.py updates.plist
. - Use
updates.plist
to update AutoDMG'sUpdateProfiles.plist
, while paying attention to installation order. - Move
UpdateProfiles.plist
into~/Library/Application Support/AutoDMG
for testing.