From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mail19.linbit.com (LINBIT Mail Daemon) with ESMTP id 779DB160650 for ; Wed, 28 May 2025 10:03:39 +0200 (CEST) Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-55324587a53so793631e87.0 for ; Wed, 28 May 2025 01:03:39 -0700 (PDT) Date: Wed, 28 May 2025 10:03:37 +0200 From: Roland Kammerer To: drbd-dev@lists.linbit.com Subject: Re: [PATCH v2 1/2] build: changing SUSE release file Message-ID: References: <20250515024817.25717-1-heming.zhao@suse.com> <20250515024817.25717-2-heming.zhao@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250515024817.25717-2-heming.zhao@suse.com> List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, May 15, 2025 at 10:48:14AM +0800, Heming Zhao wrote: > This commit changes /etc/SuSe-release to /etc/os-release. > The SuSe-release file disappeared a long time ago. > > Signed-off-by: Heming Zhao > --- > configure.ac | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 282fdf1584e3..883fe3e5cdb3 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -402,7 +402,7 @@ else > if test -z $DISTRO; then > AC_CHECK_FILE(/etc/redhat-release, [DISTRO="redhat"]) > AC_CHECK_FILE(/etc/debian_version, [DISTRO="debian"]) > - AC_CHECK_FILE(/etc/SuSE-release, [DISTRO="suse"]) > + AC_CHECK_FILE(/etc/os-release, [DISTRO="suse"]) Hi, everything that has a /etc/os-release (which by now is basically every distribution on this planet) is suse? No. This (not only this) part of the automagic in drbd-utils is a mess and I'm currently in the process of cleaning that up a bit. I will not take this patch as is, IMO it is just wrong, please just wait, this should improve in a week or two. Regards, rck