- This topic has 5 replies, 4 voices, and was last updated 14 years, 9 months ago by
nobrainer.
-
AuthorPosts
-
July 1, 2010 at 9:47 pm #378925
nobrainer
ParticipantI’m trying to use the createuser pkg file, but I’m not sure how to get it to run with instadmg. I’ve modified the USERDATA and tried leaving the PKG file in Addons, InstaUp2DatePackages, and CustomPKG – but it doesn’t seem to run from any of them. Am I missing a step?
July 2, 2010 at 1:04 pm #378937Rusty Myers
ParticipantHow are you running InstaDMG? Do you run the –process flag from InstaUp2Date or do you just run ./instadmg.bash? If your running InstaUp2Date with the process flag, you need to add the createUser.pkg to the catalog that you call. If your running just the instadmg.bash script, you need to add it into the custom packages folder under a numbered folder (I think).
Check this thread, it has some mentioned of guides and videos that may help you.
https://www.afp548.com/forum/viewtopic.php?showtopic=26912July 2, 2010 at 2:31 pm #378947nobrainer
ParticipantI’m running the Up2date w/ –process…
I modified the 10.6vanilla catalog file as follows…
I tried modifying the 10.6 vanilla catalog file, adding the 2 packages to “3rd party software”
System Settings:
Third Party Software:
Create User createUser.pkg sha1:47a9975d928ed9bc0b5b46639cd76c5c448fac0d
Clear Registration clearReg.pkg sha1:b0ba0f6bfd26956562e286bbcdfa8f78dd3722eb Software Settings:
———————————–
then I get this… from: sudo ./instadmg/AddOns/InstaUp2Date/instaUp2Date.py 10.6_vanilla –process
Traceback (most recent call last):
File “./instadmg/AddOns/InstaUp2Date/instaUp2Date.py”, line 675, in
main()
File “./instadmg/AddOns/InstaUp2Date/instaUp2Date.py”, line 658, in main
thisController.parseFile(catalogFilePath)
File “./instadmg/AddOns/InstaUp2Date/instaUp2Date.py”, line 237, in parseFile
raise Exception(‘Error in config file: %s line number: %i\n%s’ % (fileLocation, lineNumber, line)) # TODO: improve error handling
Exception: Error in config file: /Users/jwojda/instadmg/AddOns/InstaUp2Date/CatalogFiles/10.6_vanilla.catalog line number: 25
Create User createUser.pkg sha1:47a9975d928ed9bc0b5b46639cd76c5c448fac0dJuly 2, 2010 at 4:30 pm #378959sgstuart
ParticipantHi nobrainer,
I would put the under the “System Settings” not “3rd party” and I would put the clearReg first, and then the createUser. See how just doing that works for you.Also if what you pasted below is directly out of your catalog, you appear to have a space instead of a tab in between each section.
you pasted
Create User createUser.pkg sha1:47a9975d928ed9bc0b5b46639cd76c5c448fac0d
Clear Registration clearReg.pkg sha1:b0ba0f6bfd26956562e286bbcdfa8f78dd3722ebshould be
Clear Registration clearReg.pkg sha1:b0ba0f6bfd26956562e286bbcdfa8f78dd3722eb
Create User createUser.pkg sha1:47a9975d928ed9bc0b5b46639cd76c5c448fac0dWhich could explain the error
Exception: Error in config fileThanks,
Steven StuartJuly 3, 2010 at 9:42 pm #378981larkost
ParticipantA few comments:
– It does not really matter if this is in “System Settings” or another section, I would put it in “System Settings” but in this case it is unlikely to interfere with other things (or be relied upon by others).
– If you are getting a message about an error in the config file, the problem might well be the spaces-vs-tabs issue. To emphasize this the format is:
[code][tab][tab] [tab] [/code] The user-visible-name can have spaces, or anything else (other than tabs in it).
– Rather than change the vanilla catalog file, create your own and include the vanilla catalog file. That way when the vanilla file gets updated you don’t have to make changes to your file to egt the updates. A line like this would work:
[code]include-file: 10.6_vanilla[/code]
July 6, 2010 at 1:13 pm #378990nobrainer
ParticipantTrying these changes – is there a way to do a faster build of the image? It’s taking about an hour+ or so between attempts… the –process part, or is that something that just needs to happen?
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed