[oe-commits] [openembedded-core] 113/124: sstate.bbclass: drop obsolete codes

git at git.openembedded.org git at git.openembedded.org
Fri May 4 08:57:14 UTC 2018


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

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 215b83ce892a7002ed0b1bd7b82a08e67ae15121
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Fri Apr 27 11:14:26 2018 +0800

    sstate.bbclass: drop obsolete codes
    
    The SSTATECLEANFUNCS mechanism was introduced to solve user/group
    deletion problem. After RSS mechanism was introduced, there's no
    need to do so.
    
    There was a patch to remove these obsolete codes for useradd.bbclass,
    but the codes in sstate.bbclass were not removed. So clean it up.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/sstate.bbclass | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 0b28850..1a95f8f 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -59,7 +59,6 @@ SSTATEPREINSTFUNCS = ""
 SSTATEPOSTUNPACKFUNCS = "sstate_hardcode_path_unpack"
 SSTATEPOSTINSTFUNCS = ""
 EXTRA_STAGING_FIXMES ?= "HOSTTOOLS_DIR"
-SSTATECLEANFUNCS = ""
 
 # Check whether sstate exists for tasks that support sstate and are in the
 # locked signatures file.
@@ -507,10 +506,6 @@ def sstate_clean(ss, d):
                 stfile.endswith(rm_nohash):
             oe.path.remove(stfile)
 
-    # Removes the users/groups created by the package
-    for cleanfunc in (d.getVar('SSTATECLEANFUNCS') or '').split():
-        bb.build.exec_func(cleanfunc, d)
-
 sstate_clean[vardepsexclude] = "SSTATE_MANFILEPREFIX"
 
 CLEANFUNCS += "sstate_cleanall"

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


More information about the Openembedded-commits mailing list