From e246bc5838801e9d61dd896597426af9bcd7ec74 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Fri, 13 Oct 2006 10:25:57 +0000 Subject: task-bootstrap*: refactor common function into task-bootstrap.inc --- packages/tasks/task-bootstrap-unionroot.bb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'packages/tasks/task-bootstrap-unionroot.bb') diff --git a/packages/tasks/task-bootstrap-unionroot.bb b/packages/tasks/task-bootstrap-unionroot.bb index 5db841903d..c64dda5f98 100644 --- a/packages/tasks/task-bootstrap-unionroot.bb +++ b/packages/tasks/task-bootstrap-unionroot.bb @@ -14,15 +14,7 @@ PACKAGES = "${PN}" MODUTILS ?= "24 26" -def bootstrap_modutils_rdepends(d): - import bb - m = bb.data.getVar('MODUTILS', d, 1) - r = [] - if '24' in m: - r.append('modutils-depmod') - if '26' in m: - r.append('module-init-tools-depmod') - return ' '.join(r) +require task-bootstrap.inc HOTPLUG ?= "linux-hotplug" -- cgit v1.2.3