openvmtools: add release file
Message ID | 1465056215-7181-1-git-send-email-marcel.lorenz@ipfire.org |
---|---|
State | Superseded |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (hedwig.ipfire.org [172.28.1.200]) by web02.ipfire.org (Postfix) with ESMTP id C1A49614ED for <patchwork@ipfire.org>; Sat, 4 Jun 2016 17:51:00 +0200 (CEST) Received: from mail01.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 1918615D7; Sat, 4 Jun 2016 17:51:00 +0200 (CEST) Received: from mint01.skynet.local (ip5f5b7cdb.dynamic.kabel-deutschland.de [95.91.124.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 5AE8A15BA for <development@lists.ipfire.org>; Sat, 4 Jun 2016 17:50:58 +0200 (CEST) From: Marcel Lorenz <marcel.lorenz@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] openvmtools: add release file Date: Sat, 4 Jun 2016 18:03:35 +0200 Message-Id: <1465056215-7181-1-git-send-email-marcel.lorenz@ipfire.org> X-Mailer: git-send-email 1.9.1 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Marcel Lorenz
June 5, 2016, 2:03 a.m. UTC
This patch add a simple release file to disable log spam
"HostinfoOSData: Error: no distro file found"
The --without-xerces-c build option is not more needed/supported
Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
---
config/openvmtools/release | 3 +++
config/rootfiles/packages/openvmtools | 1 +
lfs/openvmtools | 21 +++++++++++++--------
3 files changed, 17 insertions(+), 8 deletions(-)
create mode 100644 config/openvmtools/release
Comments
Hi, well... It would have been a better idea to send two patches. One with cleaning up the configure switches and a second one that adds the release file. The latter of that is a NACK from me though. This one has "core95" in it and probably won't get updated with each new release. Therefore this should not live in this package. -Michael On Sat, 2016-06-04 at 18:03 +0200, Marcel Lorenz wrote: > This patch add a simple release file to disable log spam > "HostinfoOSData: Error: no distro file found" > The --without-xerces-c build option is not more needed/supported > > Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org> > --- > config/openvmtools/release | 3 +++ > config/rootfiles/packages/openvmtools | 1 + > lfs/openvmtools | 21 +++++++++++++-------- > 3 files changed, 17 insertions(+), 8 deletions(-) > create mode 100644 config/openvmtools/release > > diff --git a/config/openvmtools/release b/config/openvmtools/release > new file mode 100644 > index 0000000..18c14fa > --- /dev/null > +++ b/config/openvmtools/release > @@ -0,0 +1,3 @@ > +COMMENT="This is needed for open-vm-tools" > +DISTRIB_ID="IPFire" > +DISTRIB_RELEASE="core95" > diff --git a/config/rootfiles/packages/openvmtools > b/config/rootfiles/packages/openvmtools > index caeb568..3529272 100644 > --- a/config/rootfiles/packages/openvmtools > +++ b/config/rootfiles/packages/openvmtools > @@ -2,6 +2,7 @@ etc/rc.d/init.d/openvmtools > etc/rc.d/rc0.d/K01openvmtools > etc/rc.d/rc3.d/S60openvmtools > etc/rc.d/rc6.d/K01openvmtools > +etc/release > etc/vmware-tools > etc/vmware-tools/guestproxy-ssl.conf > etc/vmware-tools/poweroff-vm-default > diff --git a/lfs/openvmtools b/lfs/openvmtools > index 72101d5..d2c292d 100644 > --- a/lfs/openvmtools > +++ b/lfs/openvmtools > @@ -33,7 +33,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) > TARGET = $(DIR_INFO)/$(THISAPP) > SUP_ARCH = x86_64 i586 > PROG = openvmtools > -PAK_VER = 2 > +PAK_VER = 3 > > DEPS = "" > > @@ -82,18 +82,23 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > cd $(DIR_APP) && sed -e "s/-Werror//g" -i configure.ac > cd $(DIR_APP) && autoreconf -vfi > cd $(DIR_APP) && ./configure --prefix=/usr \ > - --with-kernel-release=$(KVER)-ipfire --without-pam \ > - --disable-unity --without-gtk2 --without-gtkmm \ > - --without-procps --without-icu \ > - --without-x --with-linuxdir=/usr/src/linux \ > - --without-kernel-modules --disable-deploypkg \ > - --without-xerces-c --without-xerces > + --with-kernel-release=$(KVER)-ipfire \ > + --without-pam \ > + --without-gtk2 \ > + --without-gtkmm \ > + --without-procps \ > + --without-icu \ > + --without-x \ > + --with-linuxdir=/usr/src/linux \ > + --without-kernel-modules \ > + --disable-deploypkg \ > + --without-xerces > cd $(DIR_APP) && make $(MAKETUNING) > cd $(DIR_APP) && make install > ln -sf ../init.d/openvmtools /etc/rc.d/rc3.d/S60openvmtools > ln -sf ../init.d/openvmtools /etc/rc.d/rc0.d/K01openvmtools > ln -sf ../init.d/openvmtools /etc/rc.d/rc6.d/K01openvmtools > rm -rvf /usr/etc/pam.d /usr/share/openvmtools > - > + cp -fv $(DIR_SRC)/config/openvmtools/release /etc/ > @rm -rf $(DIR_APP) > @$(POSTBUILD)