Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31909 - games_get_cd in games.eclass could be more tolerant
Summary: games_get_cd in games.eclass could be more tolerant
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-24 04:58 UTC by Toby Dickenson
Modified: 2004-01-17 20:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toby Dickenson 2003-10-24 04:58:54 UTC
The games_get_cd function prompts the user to insert the right cd, then makes *one* pass through all mounts looking for a key file. If it cant find the key file, then it leaves the GAMES_CD variable unset and the ebuild aborts.

It would be nice if it allowed the user a few retries if it doesnt find the key file in the first attempt.

Ive been prompted to report this after installing my fist game via ebuild since enabling supermount for my cdrom, which allows cds to be ejected, changed, and accessed, all without an explicit mount/unmount step. This interacts badly with this characteristic of the ebuild because 'find' will report an error about changing inodes if it is the first thing to access the cdrom after changing disc. 

It would be nice to be tolerant of the user inserting the wrong disc too - it wouldnt be the first time I had made that mistake.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-01-05 06:23:09 UTC
*** Bug 37067 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2004-01-17 20:40:41 UTC
ok, we got the code in eutils.eclass and i've converted unreal-tournament so far

i guess we'll just convert in good time ;)