- This topic has 4 replies, 3 voices, and was last updated 17 years, 1 month ago by
afp548contributor.
-
AuthorPosts
-
February 19, 2008 at 6:27 pm #371578
Patrick Fergus
ParticipantInstaDMG 1.3b attempts to use relative directories to set up the various important folders:
[code]# Put naked Apple pkg updates in here. Prefix a number to order them.
UPDATE_FOLDER=./AppleUpdates# Put naked custom pkg installers here. Prefix a number to order them.
CUSTOM_FOLDER=./CustomPKG[/code]Unfortunately, this doesn’t work since “.” is the working directory when the script is called. Consider a script “bar.sh”, which is:
[code]#!/bin/bash
pwd[/code]The following is possible:
[code]pfergus:~ pfergus$ cd
pfergus:~ pfergus$ pwd
/Users/pfergus
pfergus:~ pfergus$ mkdir foo
pfergus:~ pfergus$ pico foo/bar.sh
pfergus:~ pfergus$ chmod +x foo/bar.sh
pfergus:~ pfergus$ foo/bar.sh
/Users/pfergus[/code]cd’ing into the “Instadmg” directory and executing the script from there appears to work.
Thanks,
– Patrick
February 27, 2008 at 10:26 pm #371689vampyreapocalyps
ParticipantThe build train root would be the directory that contains instadmg.bash as well as BaseOS, AppleUpdates, etc., directories? I am also getting No such file or directory errors when trying to create a dmg using instaDMG1.3. I’m sure it’s just me not doing it right.
First I [code]cd /Users/acadmin/Desktop/InstaDMG_1.3b/Instadmg/[/code]
then [code]sudo ./instadmg.bash[/code]
I copied the log file generated here:
“08-02-27
16:47:49
Creating disk image
created: /Users/acadmin/Desktop/InstaDMG_1.3b/Instadmg/DMG_Scratch/InstaDMG.08-02-27.sparseimage
Image mounted at /dev/disk1
I’m Running on PPC Platform
Started erase on disk disk1Creating Partition Map
5% ..
Formatting Disk
[6D10% ..[7D100% ..
Finished erase on disk disk1Finished partitioning on disk disk1
/dev/disk2 Apple_partition_scheme
/dev/disk2s1 Apple_partition_map
/dev/disk2s2 Apple_Driver_ATAPI
/dev/disk2s3 Apple_HFS /Volumes/Mac OS X Install DVD
08-02-27
16:48:05
Beginning Installation from /Volumes/Mac OS X Install DVD
I’m running on Tiger. Not checking for InstallerChoices.xml file
[b]installer: Error the package path specified was invalid: ‘/Volumes/Mac OS X Install DVD/System/Installation/Packages/OSInstall.mpkg’.[/b]
08-02-27
16:48:06
Beginning Update Installs from ./AppleUpdates
installer: Package name is Security Update 2008-001 (Universal)
installer: Installing onto volume mounted at /Volumes/InstaDMG.
installer: Preparing for installation…..
installer: Preparing the Disk…..
installer: Preparing Target Volume
#
installer: Preparing Security Update 2008-001 (Universal)…..
installer: Installing Security Update 2008-001 (Universal)…..
installer:
installer: Configuring Installation
##
installer: Writing files
#
installer: Writing files: 5% Completed
#
installer: Writing files: 14% Completed
installer: Writing files: 79% Completed
#
installer: Writing files: 89% Completed
#
installer: Writing files: 99% Completed
installer: Writing package receipt
#
installer: Finishing Installation…..
#
installer: Finishing Installation
#
installer: Optimizing System Performance…..
##
installer:
#
installer: The software was successfully installed…..
installer: The install was successful.
installer: Package name is iTunes
installer: Installing onto volume mounted at /Volumes/InstaDMG.
installer: Preparing for installation…..
installer: Preparing the Disk…..
installer: Preparing Target Volume
#
installer: Preparing iTunes…..
installer: Running Apple Mobile Device Support Installer script
installer: Running iTunes Installer script
#
installer: Running iTunes Access Installer script
installer: Running iTunes Phone Driver Installer script
installer: Installing Apple Mobile Device Support…..
installer:
installer: Configuring Installation
#
installer: Running Installer Script
installer: Writing files
#
installer: Running Installer Script
#
installer: Writing package receipt
#
installer: Installing iTunes…..
installer:
installer: Configuring Installation
#####
installer: Running Installer Script
installer: Writing files
#
installer: Writing files: 1% Completed
installer: Writing files: 2% Completed
#
#
installer: Writing package receipt
#
installer: Installing iTunes Access…..
installer:
installer: Configuring Installation
#
installer: Writing files
installer: Writing package receipt
#
installer: Installing iTunes Phone Driver…..
installer:
installer: Configuring Installation
#
installer: Writing files
installer: Writing package receipt
#
installer: Finishing Installation…..
installer: Running Apple Mobile Device Support Installer script
installer: Running iTunes Installer script
#
installer: Running iTunes Access Installer script
installer: Running iTunes Phone Driver Installer script
#
installer: Finishing Installation
#
installer:
#
installer: The software was successfully installed…..
installer: The install was successful.
08-02-27
16:49:24
Beginning Update Installs from ./CustomPKG
installer: Package name is Radmind Tools 1.11.1
installer: Installing onto volume mounted at /Volumes/InstaDMG.
installer: Preparing for installation…..
installer: Preparing the Disk…..
installer: Preparing Target Volume
#
installer: Preparing Radmind Tools 1.11.1…..
installer: Installing Radmind Tools 1.11.1…..
installer:
installer: Configuring Installation
installer: Writing files
#
installer: Writing package receipt
installer: Finishing Installation…..
##
installer: Finishing Installation
#
installer:
#
installer: The software was successfully installed…..
installer: The install was successful.
installer: Error the package path specified was invalid: ‘./CustomPKG/2/’.
08-02-27
16:49:29
Creating the deployment DMG and scanning for ASR
Rename the deployment volume
Disk renamed to OS-Build-08-02-27
Build a new image from folder…
16:49:30
created: /Users/acadmin/Desktop/InstaDMG_1.3b/Instadmg/ASR_Output/08-02-27.dmg
Disk /dev/disk1 ejected
16:51:28
Scanning image for ASR
Image to scan is ./ASR_Output/08-02-27.dmg
Checksumming partition of size 63 blocks…done
Block checksum: ….10….20….30….40….50….60….70….80….90….100
Reordering: ….10….20….30….40….50….60….70….80….90….100
08-02-27
16:51:54
Removing scratch DMG
”What am I doing wrong?
March 5, 2008 at 3:51 pm #371768Patrick Fergus
ParticipantYou may have hit a combination of install disk name that Josh hasn’t anticipated. Can you mount the OS install dmg by hand (just double-click it) and run the following battery of commands? It’s a bunch of commands so we can see where the directory structure doesn’t match the InstaDMG script, and it’s more efficient to give you a bunch of commands instead of having ping-pong “well, run [i]this[/i] now”-type forum posts.
[code]ls -al /Volumes/
ls -al /Volumes/Mac\ OS\ X\ Install DVD/
ls -al /Volumes/Mac\ OS\ X\ Install DVD/System/
ls -al /Volumes/Mac\ OS\ X\ Install DVD/System/Installation/
ls -al /Volumes/Mac\ OS\ X\ Install DVD/System/Installation/Packages/
ls -al /Volumes/Mac\ OS\ X\ Install DVD/System/Installation/Packages/OSInstall.mpkg[/code]Dump your results in a reply and we’ll see where it goes.
Thanks,
– Patrick
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed