Generate checksums for DIB images
Change-Id: If8c0cdab5c443f7533873eef0d79673760bfa51b
This commit is contained in:
parent
f9ec4c5d16
commit
86f9d22592
@ -19,3 +19,16 @@
|
||||
shell: |
|
||||
tar -czf "{{ ipa_tar_dir }}/{{ image_name }}.tar.gz" {{ image_name }}*
|
||||
mv {{ image_name }}* "{{ ipa_raw_dir }}"
|
||||
|
||||
- name: Generate image checksums
|
||||
shell:
|
||||
cmd: sha256sum "{{ image_name }}.{{ item }}" > "{{ image_name }}.{{ item }}.sha256"
|
||||
chdir: "{{ ipa_raw_dir }}"
|
||||
with_items:
|
||||
- kernel
|
||||
- initramfs
|
||||
|
||||
- name: Generate tarball checksum
|
||||
shell:
|
||||
cmd: sha256sum "{{ image_name }}.tar.gz" > "{{ image_name }}.tar.gz.sha256"
|
||||
chdir: "{{ ipa_tar_dir }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user