You make a very good point and I am going to stop fiddling with packagemaker. correct me if I am wrong: $1/Contents/Resources will get me inside the package and $3/ will give me the root of the instadmg volume?
Allister thanks for that. I feel like half the people using a firstboot are getting the owner group with just package maker and the other half have to chmod and chown in the postflight. Allister did you choose your method because you couldnt get package maker to do it correctly?
And just so we are all clear I am trying to build a 10.6.4 image on 10.6.4 using r395 with packagemaker version 3.0.4.
I have been having the same problem that bw38 has been having. and I can confirm that it is because of the owner and group. Every time I run instadmg the files get placed correctly but the owner and group of the launchd come back as the username of the host system building the instadmg and staff. I know my firstboot.pkg is good because I can exclude it from my build and run it manually and all is good. I am also running my firstboot.pkg last in my train.
Is there any info anybody can give us on this? I know we are both very close and just missing some small detail. Thanks.
[QUOTE][u]Quote by: Moofo[/u][p]First of all, in 10.5 and in 10.6, if you use netrestore, the destination disk of the machine you will restore will end up as “HFS+” not “HFS+ Journaled” which causes some problem with reliability on hard reboots. For this reason, there was always a script on the admin desktop of the image to:
Reset the KDC
Enable Journaling
My script seems to work on 10.6, execpt that it seems that it doesn’t replace the certificates in the system keychain. To avoid the “overwrite” problem you had, there is a simple fix
[/p][/QUOTE]
Moofo can you post your script for enabling journaling? Also the process you use with the script? Do you use it with instadmg or after first boot? Thanks.
I am getting a similiar error when trying to use instaup2date. I using r266 on a 10.5.8.
[code]
File “/Volumes/Extra/Depolyment/instadmg/InstaDMG105/AddOns/InstaUp2Date/instaUp2Date.py”, line 882, in
main()
File “/Volumes/Extra/Depolyment/instadmg/InstaDMG105/AddOns/InstaUp2Date/instaUp2Date.py”, line 872, in main
thisController.parseFile(inputFilePath, topLevel=True)
File “/Volumes/Extra/Depolyment/instadmg/InstaDMG105/AddOns/InstaUp2Date/instaUp2Date.py”, line 225, in parseFile
thisPackage = installerPackage( simpleLineMatch.group(“prettyName”), simpleLineMatch.group(“archiveLocation”), simpleLineMatch.group(“archiveChecksum”), simpleLineMatch.group(“packageLocation”), simpleLineMatch.group(“packageChecksum”) )
File “/Volumes/Extra/Depolyment/instadmg/InstaDMG105/AddOns/InstaUp2Date/instaUp2Date.py”, line 549, in __init__
if self.retrieveFromArchive():
File “/Volumes/Extra/Depolyment/instadmg/InstaDMG105/AddOns/InstaUp2Date/instaUp2Date.py”, line 732, in retrieveFromArchive
checksumResult = checksum.checksum(self.archiveLocation, self.archiveChecksumType, returnCopy=True)
File “/Volumes/Extra/Depolyment/instadmg/InstaDMG105/AddOns/InstaUp2Date/checksum.py”, line 162, in checksum
httpCode = readFile.getcode()
AttributeError: addinfourl instance has no attribute ‘getcode’
[/code]
I have been having issues with ilife on 10.5 but it should be more updated than what you were looking at. Let me know if you find and problems with them.
Here are my sciprts for 10.5 and 10.4 (I dont have the source)
[url]http://files.me.com/andyboutte/qlerrq[/url]
And here is what we used to use before we had the script made:
10.4
mout -uw /
cd /private/var/db/netinfo
rm -r local.nidb
rm ../.AppleSetupDone
cd /Users
ls
rm -r username
shutdown -r now
10.5
mout -uw /
launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist & dscl localhost
cd /Local/Defualt/Users/
rm username
exit
rm. /private/var/db/.AppleSetupDone
cd /Users/
rm -r username
shutdown -r now
When I tried what you posted it gave me an error on the second line. I am guessing that I am getting the testusergroup wrong. When you say ‘from the first line’ I am not 100% sure I know what you referring to. Any help would be greatly appreciated. Thanks.
Ok. That makes sense. Thank you very much for the reply. But what if I want to install ilife and use instaup2date? As far as I am know you are supposed to put ilife in the cusotmpkg folder. Is that correct?
Ive been trying to build my leopard and ilife 08 image but ilife is giving me a lot of problems. Ive been reading this article and am wondering if there is actually something else I have to do to get ilife to work:
Thanks Walt I really appreciate it. I have no problem helping out making the catalog files I just think it will save a lot of people a lot of time if we have a central place to post and use catalog files.
Two features that would be awesome if you have any ideas:
web catalog file
notification when catalog files are updated
Thanks for the reply. Last questions…at least for a while. Is there a central place where people can get catalog files? Is there the possibility of hosting the catalog file on the web so that it would not have to be updated locally?
Recent Comments