mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -26,7 +26,6 @@ update-rc.d $D ${INITSCRIPT_NAME} remove
|
||||
|
||||
|
||||
def update_rc_after_parse(d):
|
||||
import bb
|
||||
if bb.data.getVar('INITSCRIPT_PACKAGES', d) == None:
|
||||
if bb.data.getVar('INITSCRIPT_NAME', d) == None:
|
||||
raise bb.build.FuncFailed, "%s inherits update-rc.d but doesn't set INITSCRIPT_NAME" % bb.data.getVar('FILE', d)
|
||||
|
||||
Reference in New Issue
Block a user