[oe-commits] [meta-openembedded] 03/25: xfce4-session: get rid of machine-host

git at git.openembedded.org git at git.openembedded.org
Fri May 10 03:35:18 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 122ceec56269d3946deea685b2f646bd19782e10
Author: Andreas Müller <schnitzeltony at gmail.com>
AuthorDate: Wed May 8 08:31:51 2019 +0200

    xfce4-session: get rid of machine-host
    
    OE-Core's base-file does add hostname to hosts since:
    
    commit 31e6d08f20a804fccb958e19045d8f9e9806071a
    Author: Chen Qi <Qi.Chen at windriver.com>
    Date:   Tue Jan 8 17:12:52 2019 +0800
    
        netbase/base-files: move /etc/hosts from netbase to base-files
    
        Move /etc/hosts to base-files, and also add entry to it according
        to hostname setting. This fixes the problem of commands like
        `hostname -f' failing due to lack of such entry.
    
        Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
        Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    
    Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-xfce/conf/layer.conf                               |  4 ----
 meta-xfce/recipes-xfce/xfce4-session/machine-host.bb    | 17 -----------------
 .../recipes-xfce/xfce4-session/xfce4-session_4.13.1.bb  |  2 --
 3 files changed, 23 deletions(-)

diff --git a/meta-xfce/conf/layer.conf b/meta-xfce/conf/layer.conf
index fd7f9b5..da07f8e 100644
--- a/meta-xfce/conf/layer.conf
+++ b/meta-xfce/conf/layer.conf
@@ -20,7 +20,3 @@ LAYERDEPENDS_xfce-layer += "meta-python"
 LAYERDEPENDS_xfce-layer += "networking-layer"
 
 LAYERSERIES_COMPAT_xfce-layer = "thud warrior"
-
-SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
-  xfce4-session->machine-host \
-"
diff --git a/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb b/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb
deleted file mode 100644
index c791974..0000000
--- a/meta-xfce/recipes-xfce/xfce4-session/machine-host.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-SUMMARY = "Meta package adding machine name to known hosts"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
-
-ALLOW_EMPTY_${PN} = "1"
-
-LOCALHOSTMACHINE = "127.0.0.1    ${MACHINE}"
-
-# on some machines starting applications as xfce4-terminal take ages without
-# machine name in hosts
-pkg_postinst_${PN} () {
-if ! grep -q '${LOCALHOSTMACHINE}' $D/etc/hosts ; then
-    echo '${LOCALHOSTMACHINE}' >> $D/etc/hosts
-fi
-}
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.13.1.bb b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.13.1.bb
index b11aaa4..f09af5b 100644
--- a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.13.1.bb
+++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.13.1.bb
@@ -30,5 +30,3 @@ FILES_${PN} += " \
 FILES_${PN} += " \
     ${libdir}/xfce4/session/splash-engines/*.la \
 "
-
-RDEPENDS_${PN} += "machine-host"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list