Comments (13)
Do you see this issue when using the release version?
from imagr.
And what does the install log say when moving these items?
from imagr.
I tried imagr-1.4.2 - same thing.
"2018-10-24 15:30:47.275 Imagr[602:74038] Copying first boot pkg install tools"
from imagr.
You cut the log off before the bit I am interested in. The macOS installer is what is moving these items, I need to know why. It will probably be in /var/log/install.log
from imagr.
Ah, my bad.
install.log
from imagr.
I'm at a loss. I can't see anything out of the ordinary in that log. All I have left is suggesting to take all your items out and add them back one at a time in case they're doing anything.
from imagr.
Bit of an update:
I've verified that /Library/{LaunchAgents, LaunchDaemons, PrivilegedHelperTools} gets written to the target volume correctly before startosinstall.
I assume the Mojave installer sees anything in these directories as "Previous Content" and moves them out of the way as part of the install process.
I've made a workaround by taking everything that is supposed to go in /Library and putting it in a pkg (attached).
Then I let the OSX installer add it as an extra package like so:
<dict>
<key>type</key>
<string>startosinstall</string>
<key>url</key>
<string>http://192.168.100.7/netboot/osx-10.14.1.dmg</string>
<key>additional_package_urls</key>
<array>
<string>http://192.168.100.7/netboot/first-boot.pkg</string>
</array>
</dict>
The only downside is that it takes one extra reboot after install to start the first-boot process.
from imagr.
from imagr.
I currently have a branch that I'm working on that has this built in, caveat being that it's based off Greg's embedded python fork - however the included changes should be able to be back ported into the none embedded branch if someone is interested.
Currently implemented:
- Builds first-boot tools pkg at app build time and copies into the bundle
- Appends the first-boot tools to the end of a 10.14 or later macOS install(*)
- PKG install then loads the launch agents and kicks off the first-boot tools script(**)
Currently not finished or working:
(*) Currently there is no detection of the OS version being installed in the workflow, it is being hard set to 10.14 for testing purposes
(**) While the first-boot script runs correctly, LoginLog will not open after the OS installer finishes - still working on why. I assume some combination of being the transient user space between the installer and the loginwindow and the OS not wanting the launch anything with a GUI.
https://github.com/chrisgrande/imagr/tree/first-boot-pkg
from imagr.
I seem to be having a similar issue with 10.13.6, however there is no Previous Contents folder. All packages and scripts end up correctly in the Target Volume .imagr folder, but nothing in the LoadAgents or LoadDemons or PrivilegedHelperTools.
from imagr.
Then that sounds like a different issue. More information would be required, but I have to admit that the last time I used imagr was around 10.13.4. If it is broken on both 10.14 and 10.13 now I may just archive the project as there are better ways of deploying macOS these days.
from imagr.
I'm certainly open to suggestions. I was looking for something to replace deploystudio, and I thought imagr was it. If there are better ways I'm all ears.
from imagr.
DEP is what I, and apple would recommend. You could also use Greg Neagle’s Installr or Bootstrappr
from imagr.
Related Issues (20)
- imagr open behind select language pane in macOS Sierra HOT 3
- Imagr crashes if reporting server unavailable HOT 2
- Imagr crashes if timeapi.org returns unexpected data HOT 1
- Description text box for the workflows is not scrollable HOT 1
- Imagr logs a crash if a volume is unmounted HOT 2
- Setting time with http fails to respect timezone HOT 4
- Bug: first-boot items are not installed in order in macOS High Sierra
- validateplist doesn't append query string to background_image check
- Packages/DMGs with spaces will fail if using gurl HOT 2
- Feature request: Prevent Mac from sleeping while Imagr app is running a workflow HOT 1
- first-boot infinite loop if exit code non-zero HOT 7
- After APFS to HFS Conversion via script will casue Imagr to hang HOT 9
- Does not work with macOS 10.13.4 Installer HOT 4
- 10.11 NBI workflow start crash HOT 1
- Workflow doesn't recognize volume format change HOT 4
- Auto key of computer_name component ignored when part of included workflow HOT 2
- com.apple.osinstall error -3 on OS X 10.13.4 if workflow writes to formatted target before startosinstall HOT 2
- first_boot LaunchDaemon does not get created when startosinstall is called via included_workflow HOT 1
- Imagr (High Sierra) preventing reboot during install workflow HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagr.