SLES 11 and 12 contained a media.1/build file on each DVD, that
contained a string like (SLES 12 example)
SLE-12-SP2-Server-DVD-s390x-Build2192.  We have some code that parses
that value to figure out which distro, version, service pack, and
architecture the DVD corresponds to.

On the SLES 15 DVDs, there is no such file.  media.1/media appears to
have the corresponding content, i.e.

/nfs/repo/SLE-15-SP0-pkgs/dvd1 # cat media.1/media
SUSE - SLE-15-Packages-s390x-Build668.1-Media1.iso
SLE-15-Packages-s390x-Build668.1-Media1.iso
1

While media.1/media did exist on SLES 12 DVDs, the content was much
different:
cat /nfs/repo/SLE-12-SP2/media.1/media
SUSE
20161031195753
2

Before I write code to depend on this, I wanted to make sure that
media.1/media is the best way to get the information we're after,
programatically, with SLES 15.  I see no mention of this change on the
release notes page at
https://www.suse.com/releasenotes/x86_64/SUSE-SLES/15/

It would not be completely surprising if, along with the os-release
file, there was a similar "parser friendly" format on the DVDs that I
have not found yet.

--
John Arwe
z/VM Development

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to