Open Carpet Redux

A while back, I posted about Open Carpet and OES. I thought I’d add some more about OES Linux.

On OES Linux I have already mentioned the novell-release file. There is also an SuSE-release file. In your distributions.xml file you would list it as:

<distro>
<name>SUSE LINUX Enterprise Server</name>
<version>9</version>
<arch>i586</arch>
<type>rpm</type>
<target>sles-9-i586</target>
<status>supported</status>
<detect>
<file source="/etc/SuSE-release"
substring="SUSE LINUX Enterprise Server" />
</detect>
</distro>

Why are there two release files? Simple. Let’s say you are developing an application that you only want, or only will support on OES, but not on SLES 9 (the base OS behind OES). Voila. There is your control…if you are delivering the application through Open Carpet.