Bug 3085 - Scripttags and cd/dvds
Status: ASSIGNED
Alias: None
Product: Loki Setup
Classification: Unclassified
Component: General
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: St
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2007-04-11 09:30 EDT by kratz00
Modified: 2007-08-01 20:25:51 EDT
0 users

See Also:



Description kratz00 2007-04-11 09:30:01 EDT
you have a proper cdrom tag and a script tag

<cdrom id="disc1" name="Some Disc">some.file</cdrom>

<script cdromid="disc1">
sh setup.data/do_something.sh
</script>

If you don't have the disc inserted the installer will not ask for the cd/dvd and the script will fail. Normally the installer prompts the user to insert the right disc. This works for the 'files' tag but no for the 'script' tag and the only workaround at the moment is to copy one file before you can run the script, so the user is prompted to insert the cd/dvd.
Comment 1 St 2007-07-31 19:24:10 EDT
A possible solution might be to add an attribute for the script tag so that detection of the CD/DVD can work.
Comment 2 kratz00 2007-08-01 15:02:03 EDT
Hm, I thought this is done by the tag "cdromid", see my first comment.
Comment 3 St 2007-08-01 20:25:51 EDT
Right. It's been a while. :) I'll look into it, seems like a legitimate bug.