From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Lorenz To: development@lists.ipfire.org Subject: [PATCH] openvmtools: add release file Date: Sat, 04 Jun 2016 18:03:35 +0200 Message-ID: <1465056215-7181-1-git-send-email-marcel.lorenz@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7004409185088351475==" List-Id: --===============7004409185088351475== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 --- 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=3D"This is needed for open-vm-tools" +DISTRIB_ID=3D"IPFire" +DISTRIB_RELEASE=3D"core95" diff --git a/config/rootfiles/packages/openvmtools b/config/rootfiles/package= s/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 =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) SUP_ARCH =3D x86_64 i586 PROG =3D openvmtools -PAK_VER =3D 2 +PAK_VER =3D 3 =20 DEPS =3D "" =20 @@ -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=3D/usr \ - --with-kernel-release=3D$(KVER)-ipfire --without-pam \ - --disable-unity --without-gtk2 --without-gtkmm \ - --without-procps --without-icu \ - --without-x --with-linuxdir=3D/usr/src/linux \ - --without-kernel-modules --disable-deploypkg \ - --without-xerces-c --without-xerces + --with-kernel-release=3D$(KVER)-ipfire \ + --without-pam \ + --without-gtk2 \ + --without-gtkmm \ + --without-procps \ + --without-icu \ + --without-x \ + --with-linuxdir=3D/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) --=20 1.9.1 --===============7004409185088351475==--