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