On Sat, 1 Apr 2006, houghi <houghi@houghi.org> wrote:- <snip>
The reverse order is just a gimmick, so you see CD5, CD4, ... However a different order should not be the the cause of the problem.
Apparently, at present, it does but only when there is the add-on CD present.
So for me it is not a real solution to the problem. Next version might be that the naming is such that the extra ISO is again last. e.g. now it is: SUSE-Linux-10.1-beta9-Addon-BiArch.iso SUSE-Linux-10.1-beta9-i386-CD1.iso ... SUSE-Linux-10.1-beta9-i386-CD5.iso What if the next CD is called SUSE-Linux-10.1-beta9-non-oss.iso ( or SUSE-Linux-10.1-beta9-NON-OSS.iso) then you have a different order. Or what if they renamed their CD's, or use real CD's and put them in in random order (with the -c option).
Without coding around the problem, it's going to happen again.
Also it could be that a person wants to use his own CD that he made and gave it whatever name.
At present, it would probably fail. If it appears after the last SUSE CD, the contents file will overwrite the previous one and we're back to square one.
That is the difference with your script and mine. You only have to work for you, mine has to work for the rest of the world. ;-)
Well, as I said, I wasn't expecting mine to be released into the wild.
So many reasons that it is not a real solution.
I know, but there are a few possible solutions. One would be to check each CD as it's mounted, and the contents copied, to see if it's the first SUSE CD. If it is, make a temporary copy of both ./content and ./media.1/products. Once all the CDs are copied, write the temporary copies back to the correct places in the DVD structure and this should get around the problem. To really make sure that you've got the right ones, you could parse the ./content file and compare it to known good values, only making the copies if they match. Another possible solution would be to build your own ./content and ./media.1/products files. Looking at the i386 version, the ./media.1/products file have a very simple format: / SUSE-Linux-CD-OSS-i386 10.1 The ./content is a little more complex but, if you're making an online repository, you're already going to be making a basic one for that. A few minor additions and you could have a quite customised DVD[0].
Still thanks and if anybody from SUSE can give some feedback, that would also be great.
houghi
[0] like changing the default language and time-zone. Regards, David Bolt -- Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/ AMD1800 1Gb WinXP/SUSE 9.3 | AMD2400 256Mb SuSE 9.0 | A3010 4Mb RISCOS 3.11 AMD2400(32) 768Mb SUSE 10.0 | Falcon 14Mb TOS 4.02 | A4000 4Mb RISCOS 3.11 AMD2600(64) 512Mb SUSE 10.0 | | RPC600 129Mb RISCOS 3.6