[lokisetup] SETUP_CDROMPATH

Chunky Kibbles chunky at icculus.org
Fri Feb 27 20:17:07 EST 2004


On Sat, Feb 28, 2004 at 01:07:02AM +0100, Dressler Ronny wrote:
> thanks gary,
> 
> but thats only a workaround *g* important is for me:
> is it a bug or is it intentionally!? so i can't finish my installer ;(
> because of i can't say to the user: hey buddy u have to export 2 or 3 or 4
> variables. 

What happens if you simply don't name the CDs?

At the same time, it's actually pretty useful:

mkdir /tmp/thingy
for f in 1 2; do
  echo "please insert cd$f and hit enter"
  read junk
  dd if=/dev/cdrom of=/tmp/thingy/cd$f.iso9660
done


for f in 1 2; do
  mkdir -p /mnt/thingy/$f
  mount -t iso9660 -o loop /tmp/thingy/cd$f.iso9660 /mnt/thingy/$f
  SETUP_CROM_thingy$f=/mnt/thingy/$f
  export SETUP_CDROM_thingy$f
done
sh /mnt/thingy/1/setup.sh

Bleh. If that meant nothing to you, forget it. Elsewises, it's a
useful trick when you're developing a big ut2k3 mod and need to
uninstall & reinstall ut2k3 lots of times.

Gary (-;

> -----Original Message-----
> From:	Chunky Kibbles [mailto:chunky at icculus.org]
> Sent:	Fri 2/27/2004 8:34 PM
> To:	lokisetup at icculus.org
> Cc:	
> Subject:	Re: [lokisetup] SETUP_CDROMPATH
> On Fri, Feb 27, 2004 at 04:59:02PM +0100, Dressler Ronny wrote:
> > hi again,
> > 
> > i tried both. i used a precomiled installer from icculus/~ravage,
> > and later i compiled the latest cvs version by myself. i both cases the
> same.
> > 
> > today i found (maybe) the problem: 
> > 
> > i used always 2 <cdrom> tags in the setup.xml file
> > like this:
> > 
> > <cdrom id="disc1" name="name1">file.1</cdrom>
> > <cdrom id="disc2" name="name2">file.2</cdrom>
> > 
> > exist only ONE <cdrom> tag is the SETUP_CDROMPATH variable = /mn/cdrom
> > BUT exist 2 <cdrom> tags is the SETUP_CDROMPATH variable = (null)
> > 
> > can anyone check that? is it only a problem on my machine or is it a bug?
> 
> SETUP_CDROM_name1=/mnt/cdrom
> SETUP_CDROM_name2=/mnt/cdrom2
> export SETUP_CDROM_name1 SETUP_CDROM_name2
> 
> Gary (-;
> 
> 
> 



More information about the Lokisetup mailing list