소스 검색

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 년 전
부모
커밋
b0e82e47e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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