Kaynağa Gözat

Run copy_swdescription() later

Since styhead, a build error raises because sw-description is not found.
This is due because sw-description is copied earlier, and it is not
found when do_swuimage runs. Move the copy later just before the SWU is
built.

Signed-off-by: Thomas Koeferli <tkoeferli@comvetia.ch>
Signed-off-by: Stefano Babic <stefano.babic@swupdate.org>
Thomas 1 yıl önce
ebeveyn
işleme
9a71f94e78
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      classes-recipe/swupdate-image.bbclass

+ 1 - 1
classes-recipe/swupdate-image.bbclass

@@ -46,7 +46,7 @@ python do_swupdate_copy_swdescription() {
     shutil.copyfile(sw_desc_path, os.path.join(workdir, "sw-description"))
 }
 
-addtask swupdate_copy_swdescription before do_image_complete after do_unpack
+addtask swupdate_copy_swdescription before do_image_complete after do_image
 addtask swuimage after do_swupdate_copy_swdescription do_image_complete before do_build
 
 # define setscene task