diff options
-rw-r--r-- | classes/swupdimage.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/classes/swupdimage.bbclass b/classes/swupdimage.bbclass index 0a5da0d..c1bda2f 100644 --- a/classes/swupdimage.bbclass +++ b/classes/swupdimage.bbclass @@ -48,7 +48,11 @@ python swupdimage_virtclass_handler () { e.data.setVar("IMAGE_BUNDLE_NAME", imageext) # We override the default methods such that they only copy from the mega rootfs. e.data.setVar("do_image", " swupd_create_rootfs(d)\n") - e.data.setVar("do_rootfs", "") + # do_rootfs must not be empty, because empty tasks get skipped + # and we don't want that for do_rootfs because its cleandirs + # variable triggers the creation of the IMGDEPLOYDIR that we + # are going to write into. + e.data.setVar("do_rootfs", " pass") # Depend on complete bundle generation in the base image. dep = ' %s:do_swupd_update' % pn_base e.data.appendVarFlag('do_image', 'depends', dep) |