diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 9 |
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" | |||
76 | LDCONFIGDEPEND_libc-uclibc = "" | 76 | LDCONFIGDEPEND_libc-uclibc = "" |
77 | LDCONFIGDEPEND_libc-musl = "" | 77 | LDCONFIGDEPEND_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 | ||
83 | KERNELDEPMODDEPEND ?= "virtual/kernel:do_packagedata" | ||
84 | |||
79 | do_rootfs[depends] += " \ | 85 | do_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 | " | ||
83 | do_rootfs[recrdeptask] += "do_packagedata" | 90 | do_rootfs[recrdeptask] += "do_packagedata" |
84 | 91 | ||
85 | def command_variables(d): | 92 | def command_variables(d): |