* [PATCH 0/1] sstate.bbclass: drop obsolete codes
@ 2018-04-27 3:14 Chen Qi
2018-04-27 3:14 ` [PATCH 1/1] " Chen Qi
0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2018-04-27 3:14 UTC (permalink / raw)
To: openembedded-core
The following changes since commit b6bc5b2840246ac0f0e5d8cebcdffc1a0ca2518f:
bitbake: toaster: add 'Sumo' to release selection (2018-04-26 11:43:26 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib ChenQi/sstate-obsolete-codes
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/sstate-obsolete-codes
Chen Qi (1):
sstate.bbclass: drop obsolete codes
meta/classes/sstate.bbclass | 5 -----
1 file changed, 5 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] sstate.bbclass: drop obsolete codes
2018-04-27 3:14 [PATCH 0/1] sstate.bbclass: drop obsolete codes Chen Qi
@ 2018-04-27 3:14 ` Chen Qi
0 siblings, 0 replies; 2+ messages in thread
From: Chen Qi @ 2018-04-27 3:14 UTC (permalink / raw)
To: openembedded-core
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@windriver.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"
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-27 3:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-27 3:14 [PATCH 0/1] sstate.bbclass: drop obsolete codes Chen Qi
2018-04-27 3:14 ` [PATCH 1/1] " Chen Qi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.