The current ut2004 install process can be quite traumatic , esp. for people who have a seperate /var . Firstly it requires 6GB free in /var which very few people have , and also 6 GB free on / , so thats 12GB free overall. Another problem faced is if there is a data error while copying or the user inadvertently inserted the wrong CD during the 6CD install process. Due to this after 15 minutes of installing the install will suddenly terminate without giving the user a chance to change the cd or retry. The new ebuild uses some "tricks" to get over the /var problem . Firstly we make /opt/ut2004.install-temp as the temp folder and call mount --bind /opt/ut2004.install-temp/work ${S} , and create a mapping for image folder too. --bind is a very well supported option for mount and it "fools" portage into using the /opt/ partition so that the 12 GB hdd usage problem is gone. Secondly , the file copying is modified with a new function which allows users the chance to retry an operation in case of an error or wrong cd inserted. This is just an ebuild i edited up quickly so that i could try out this awesome game ASAP. If you see and problems / bugs please feel free to edit them or comment. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 46317 [details] Updated UT 2004 ebuild
I'll look into it, but there is no way that we're going to use the bind mount trick, as it first off defies the sandbox, which isn't something we would want. Now, I am definitely interested in adapting the resuming functions into the ebuild, as it would prove beneficial if it can be done properly. I'll look into this when I get a chance and am back from vacation.
The ebuild i submitted actually requires you to disable sandbox , and "dies" telling the user to disable sandbox mode. The mount --bind is the reason i made the ebuild non sandbox friendly .. It could also be possible for me to make the ebuild a bit more "intelligent" , and if it detects sandbox mode to not use the mount bind trick . Awaiting your suggestions after the hols.
Created attachment 47585 [details, diff] Modifed to reflect all of SPEECH now being on CD5 and a CD7 existing! This is a update to the trick with no sandbox, and corrects the path for the ${DISK4}Music/KR-UT2004-Menu.ogg \ entry to ${DISK5}Music/KR-UT2004-Menu.ogg \ Also adds: CD7 here: if [ ${USE_DVD} ] then DISK1="CD1/" DISK2="CD2/" DISK3="CD3/" DISK4="CD4/" DISK5="CD5/" DISK6="CD6/" DISK7="CD7/" fi and adds the follwoing section as well: UT_CURRENT_DISC="Disc 7" #Disk 7 einfo "Copying files from Disk 7..." UT_CP_COMMAND="cp -r ${CDROM_ROOT}/${DISK7}Extras ${Ddir}" copy_error This is just a rought draft...corrections and comments and opinions are welcomed....
So you just broke non-ECE DVD installs?
Check out bug #63703 and see if the ebuilds there resolve your problem. If so, let me know either here or there, but do not close this bug, as I still need it open for tracking purposes.
No response... but 3355 is based off the new ebuilds and is in portage...