summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image.bbclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 03cbbf7a91..dc9bd80165 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -76,10 +76,17 @@ LDCONFIGDEPEND ?= "ldconfig-native:do_populate_sysroot"
76LDCONFIGDEPEND_libc-uclibc = "" 76LDCONFIGDEPEND_libc-uclibc = ""
77LDCONFIGDEPEND_libc-musl = "" 77LDCONFIGDEPEND_libc-musl = ""
78 78
79# This is needed to have depmod data in PKGDATA_DIR,
80# but if you're building small initramfs image
81# e.g. to include it in your kernel, you probably
82# don't want this dependency, which is causing dependency loop
83KERNELDEPMODDEPEND ?= "virtual/kernel:do_packagedata"
84
79do_rootfs[depends] += " \ 85do_rootfs[depends] += " \
80 makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND} \ 86 makedevs-native:do_populate_sysroot virtual/fakeroot-native:do_populate_sysroot ${LDCONFIGDEPEND} \
81 virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot \ 87 virtual/update-alternatives-native:do_populate_sysroot update-rc.d-native:do_populate_sysroot \
82 virtual/kernel:do_packagedata" 88 ${KERNELDEPMODDEPEND} \
89"
83do_rootfs[recrdeptask] += "do_packagedata" 90do_rootfs[recrdeptask] += "do_packagedata"
84 91
85def command_variables(d): 92def command_variables(d):