summaryrefslogtreecommitdiff
path: root/recipes/obsolete/tasks/task-bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/obsolete/tasks/task-bootstrap.inc')
-rw-r--r--recipes/obsolete/tasks/task-bootstrap.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/obsolete/tasks/task-bootstrap.inc b/recipes/obsolete/tasks/task-bootstrap.inc
new file mode 100644
index 0000000000..073da7055f
--- /dev/null
+++ b/recipes/obsolete/tasks/task-bootstrap.inc
@@ -0,0 +1,9 @@
+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)