* [PATCH 0/1] Traceback when inheriting useradd but not setting USERADD_PARAM or GROUPADD_PARAM
@ 2013-07-23 15:07 Ionut Radu
2013-07-23 15:07 ` [PATCH 1/1] useradd.bbclass: fix traceback " Ionut Radu
0 siblings, 1 reply; 2+ messages in thread
From: Ionut Radu @ 2013-07-23 15:07 UTC (permalink / raw)
To: openembedded-core
The following changes since commit 31e6eee860b5f9f4ac9ef0889bcff5648de6e3f9:
poky-tiny.conf: blacklist core-image-weston option (2013-07-18 21:26:58 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ionut/work
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ionutx/work
Ionut Radu (1):
useradd.bbclass: fix traceback when inheriting useradd but not
setting USERADD_PARAM or GROUPADD_PARAM
meta/classes/useradd.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.7.10.4
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH 1/1] useradd.bbclass: fix traceback when inheriting useradd but not setting USERADD_PARAM or GROUPADD_PARAM
2013-07-23 15:07 [PATCH 0/1] Traceback when inheriting useradd but not setting USERADD_PARAM or GROUPADD_PARAM Ionut Radu
@ 2013-07-23 15:07 ` Ionut Radu
0 siblings, 0 replies; 2+ messages in thread
From: Ionut Radu @ 2013-07-23 15:07 UTC (permalink / raw)
To: openembedded-core
Replaced bb.build.FuncFailed with bb.fatal
[YOCTO #4486]
Signed-off-by: Ionut Radu <ionutx.radu@intel.com>
---
meta/classes/useradd.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 3fe011d..a68b6fd 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -219,7 +219,7 @@ def update_useradd_after_parse(d):
for pkg in useradd_packages.split():
if not d.getVar('USERADD_PARAM_%s' % pkg, True) and not d.getVar('GROUPADD_PARAM_%s' % pkg, True) and not d.getVar('GROUPMEMS_PARAM_%s' % pkg, True):
- raise bb.build.FuncFailed("%s inherits useradd but doesn't set USERADD_PARAM, GROUPADD_PARAM or GROUPMEMS_PARAM for package %s" % (d.getVar('FILE'), pkg))
+ bb.fatal("%s inherits useradd but doesn't set USERADD_PARAM, GROUPADD_PARAM or GROUPMEMS_PARAM for package %s" % (d.getVar('FILE'), pkg))
python __anonymous() {
update_useradd_after_parse(d)
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-23 15:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23 15:07 [PATCH 0/1] Traceback when inheriting useradd but not setting USERADD_PARAM or GROUPADD_PARAM Ionut Radu
2013-07-23 15:07 ` [PATCH 1/1] useradd.bbclass: fix traceback " Ionut Radu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox