summaryrefslogtreecommitdiff
path: root/classes/update-alternatives.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/update-alternatives.bbclass')
-rw-r--r--classes/update-alternatives.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/update-alternatives.bbclass b/classes/update-alternatives.bbclass
index 2e24eeec48..c63581c5d1 100644
--- a/classes/update-alternatives.bbclass
+++ b/classes/update-alternatives.bbclass
@@ -10,7 +10,7 @@ update_alternatives_postrm() {
update-alternatives --remove ${ALTERNATIVE_NAME} ${ALTERNATIVE_PATH}
}
-def updatealternativesafterparse(d):
+def update_alternatives_after_parse(d):
import bb
if bb.data.getVar('ALTERNATIVE_NAME', d) == None:
raise bb.build.FuncFailed, "%s inherits update-alternatives but doesn't set ALTERNATIVE_NAME" % bb.data.getVar('FILE', d)
@@ -18,7 +18,7 @@ def updatealternativesafterparse(d):
raise bb.build.FuncFailed, "%s inherits update-alternatives but doesn't set ALTERNATIVE_PATH" % bb.data.getVar('FILE', d)
python __anonymous() {
- updatealternativesafterparse(d)
+ update_alternatives_after_parse(d)
}
python populate_packages_prepend () {