2 if bb.data.inherits_class('rootfs_rpm', d):
3 rootfsdepends = d.getVarFlag("do_rootfs", "depends", True)
4 rootfsdepends = rootfsdepends.replace("rpmresolve-native:do_populate_sysroot", "")
5 d.setVarFlag("do_rootfs", "depends", rootfsdepends)
6 if bb.data.inherits_class('image-live', d):
7 bootimgdepends = d.getVarFlag("do_bootimg", "depends", True)
8 bootimgdepends = bootimgdepends.replace(d.expand("${INITRD_IMAGE}:do_rootfs"), "")
9 d.setVarFlag("do_bootimg", "depends", bootimgdepends)