houghi schrieb:
Siegbert Baude wrote:

The only remark: Could you change the name of the resulting DVD iso? SUSE changed the naming of the CD isos (they removed "OSS" and changed the order of name parts), could you adopt this and also remove your 10.0.42 number with 10.1 as the CDs are called? Anybody could change this by a single "mv" command, of course. :-)

I just get the info out of the file content and that tells me:
PRODUCT SUSE LINUX
VERSION 10.0.42
DISTPRODUCT SUSE-Linux-CD-OSS-i386
DISTVERSION 10.0.42-Beta4
<snip>

[Quoting order changed]

> The reason is simple. The version is 10.0.42-Beta4 and not 10.1. When
> 10.1 comes around, the version will be 10.1 and not sooner.
> So to make a long story short: it is not my 10.0.42 number, it is
> SUSE's number.

Hm, so the problem is Novell-internal, because on the front door of opensuse.org, there is written: "Feb 18th: SUSE Linux 10.1 Beta 4 has been released." Also the CDs are all called along the line of "SUSE-Linux-10.1-beta4-i386-CD1.iso".

> It is a wise choice. There might be people who have all
> alpha's and beta's and want to keep the iso's and know which one is
> which.

10.1-beta4-i386-CDn is also unique and really most projects (it seems to me including openSUSE) add there beta flag to the goal, where they want to go to, not to the starting point where they are coming from. My reasoning for my question is, that I just got some questions "Where is the 10.1 DVD, you accidentally placed the old 10.0.42 Beta there", when I offered the resulting isos internally at my university. Most probably others face the same. As said the "mv" command is really not a big deal and already part of my mechanism, so only a minor detail we're discussing.

The resulting iso will thus be named: SUSE-10.0.42-Beta4-DVD.iso
The only disadvatange I see is that it is not properly named i386 or
x86-64.

If you have a hack that is usable with information on the ISO's and is
also usbale with other versions, then I will look at it, test it and if
good, use it.

I would just save the name of the first CD iso (you're fiddling with it already in your ISO_TEST2 function) and substitute CD1 with DVD. You also solve the problem with i386 and x86_64 in the same time.

So something like:

ISO=`ls SUSE*CD1*iso | sed 's/CD1/DVD/'`

should do the job (I think your script assumes, you're in the directory of the CD isos).

My test:
$ ls
MD5SUMS                             SUSE-Linux-10.1-beta4-i386-CD3.iso
README.IMPORTANT.txt                SUSE-Linux-10.1-beta4-i386-CD4.iso
SUSE-Linux-10.1-beta4-i386-CD1.iso  SUSE-Linux-10.1-beta4-i386-CD5.iso
SUSE-Linux-10.1-beta4-i386-CD2.iso
$ ISO=`ls SUSE*CD1*iso|sed 's/CD1/DVD/'`
$ echo $ISO
SUSE-Linux-10.1-beta4-i386-DVD.iso
$

Ciao
Siegbert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to