I already asked SLES folks to re-introduce the sle_version, but I suppose this won't be instant. We can't really go ahead without them in this. So for now please use the suse_version && is_opensuse combination as mentioned on the cross-distro wiki page mentioned earlier. Lubos On Mon, Oct 21, 2024 at 11:04 AM Mihai Moldovan <ionic@ionic.de> wrote:
* On 10/21/24 10:59, Andrei Borzenkov wrote:
On Mon, Oct 21, 2024 at 11:49 AM Mihai Moldovan <ionic@ionic.de> wrote:
sles_version to be 0 (which sounds weird)
Did not sles_version disappear in SLE 12 (and whatever openSUSE corresponded to it)? It is even mentioned in the wiki page you referenced.
Right, it was essentially replaced with sle_version and is_opensuse later on. However, this macro (sle_version) doesn't seem to be defined at all, but my gut feeling tells me that if I were to load up a Leap 16.0 image, it would be defined somewhere.
Fortunately, for what Peter wants, suse_version is good enough.
Mihai
-- Best regards Luboš Kocman openSUSE Leap Release Manager