Last active
August 29, 2015 14:05
-
-
Save gregneagle/cf86543ff40b937bd4f0 to your computer and use it in GitHub Desktop.
Autopkg .install recipe demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./autopkg run Firefox.install -v | |
Processing Firefox.install... | |
MozillaURLProvider | |
MozillaURLProvider: Found URL http://ftp.mozilla.org/pub/mozilla.org//firefox/releases/latest/mac/en-US/Firefox%2031.0.dmg | |
URLDownloader | |
URLDownloader: Storing new Last-Modified header: Thu, 17 Jul 2014 03:38:41 GMT | |
URLDownloader: Storing new ETag header: "4b25e62-3c17d83-4fe5b607b1240" | |
URLDownloader: Downloaded /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/downloads/Firefox.dmg | |
EndOfCheckPhase | |
AppDmgVersioner | |
AppDmgVersioner: Mounted disk image /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/downloads/Firefox.dmg | |
AppDmgVersioner: BundleID: org.mozilla.firefox | |
AppDmgVersioner: Version: 31.0 | |
PkgRootCreator | |
PkgRootCreator: Created /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/Firefox | |
PkgRootCreator: Created /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/Firefox/Applications | |
Copier | |
Copier: Mounted disk image /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/downloads/Firefox.dmg | |
Copier: Copied /private/tmp/dmg.OKk4nW/Firefox.app to /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/Firefox/Applications/Firefox.app | |
PkgCreator | |
PkgCreator: Connecting | |
PkgCreator: Sending packaging request | |
PkgCreator: Disconnecting | |
Installer | |
Installer: Connecting | |
Installer: Sending installation request | |
Installer: STATUS:installer: Package name is Firefox-31.0 | |
Installer: STATUS:installer: Installing at base path / | |
Installer: STATUS:installer:PHASE:Preparing for installation… | |
Installer: STATUS:installer:PHASE:Preparing the disk… | |
Installer: STATUS:installer:PHASE:Preparing Firefox-31.0… | |
Installer: STATUS:installer:PHASE:Waiting for other installations to complete… | |
Installer: STATUS:installer:PHASE:Configuring the installation… | |
Installer: STATUS:installer:STATUS: | |
Installer: STATUS:installer:%28.962404 | |
Installer: STATUS:installer:PHASE:Writing files… | |
Installer: STATUS:installer:%63.485963 | |
Installer: STATUS:installer:PHASE:Moving items into place… | |
Installer: STATUS:installer:PHASE:Validating packages… | |
Installer: STATUS:installer:%97.750000 | |
Installer: STATUS:installer:STATUS: | |
Installer: STATUS:installer:PHASE:Finishing the Installation… | |
Installer: STATUS:installer:STATUS: | |
Installer: STATUS:installer:%100.000000 | |
Installer: STATUS:installer:PHASE:The software was successfully installed. | |
Installer: STATUS:installer: The install was successful. | |
Installer: Disconnecting | |
Receipt written to /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/receipts/Firefox-receipt-20140820-162148.plist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You'll need to build a new autopkg installer (because the autopkginstalld must be installed and activated as root), which means you need to pull the latest AutoPkgGitMaster.pkg.recipe: | |
autopkg repo-update recipes | |
autopkg run AutoPkgGitMaster.pkg.recipe | |
Install the package it outputs. | |
autopkg run Firefox.install -v | |
...and hope nothing explodes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./autopkg run Firefox.install -v | |
Processing Firefox.install... | |
MozillaURLProvider | |
MozillaURLProvider: Found URL http://ftp.mozilla.org/pub/mozilla.org//firefox/releases/latest/mac/en-US/Firefox%2031.0.dmg | |
URLDownloader | |
URLDownloader: Item at URL is unchanged. | |
URLDownloader: Using existing /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/downloads/Firefox.dmg | |
EndOfCheckPhase | |
AppDmgVersioner | |
AppDmgVersioner: Mounted disk image /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/downloads/Firefox.dmg | |
AppDmgVersioner: BundleID: org.mozilla.firefox | |
AppDmgVersioner: Version: 31.0 | |
PkgRootCreator | |
PkgRootCreator: Created /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/Firefox | |
PkgRootCreator: Created /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/Firefox/Applications | |
Copier | |
Copier: Mounted disk image /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/downloads/Firefox.dmg | |
Copier: Copied /private/tmp/dmg.3QIRPW/Firefox.app to /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/Firefox/Applications/Firefox.app | |
PkgCreator | |
PkgCreator: Package already exists at path /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/Firefox-31.0.pkg. | |
PkgCreator: Existing package matches version and identifier, not building. | |
Installer | |
Installer: Skipping installation: no new package. | |
Receipt written to /Users/gneagle/Library/AutoPkg/Cache/com.github.autopkg.install.Firefox_EN/receipts/Firefox-receipt-20140820-163654.plist | |
Nothing downloaded, packaged or imported. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment