Comment 4 for bug 1576763

Revision history for this message
Tyler Hicks (tyhicks) wrote : Re: pi2 images generate different checksums on repeated runs

I'm having trouble with this one because I can't reproduce it in the same way that's described in the bug description. The bug description shows that two of the snap files share one sha512 and two other snap files share another sha512. What I'm seeing is that no snap files share the same sha512 (md5sum shown below for easier reading):

$ for i in 1 2 3 4 5; do sudo sh -c "unsquashfs -f -d nmap_unpack_$i nmap_7.12SVN-0.4_armhf.snap; mksquashfs nmap_unpack_$i nmap_$i.snap -fstime 1461597924 -noappend -comp xz -all-root -no-xattrs"; done
...
$ md5sum *.snap
50c3f6ca2c64a85d89be90086c6025a6 nmap_1.snap
b14a8b87581b73e6c68ae7f1e07d1282 nmap_2.snap
91da8708b2ee90e1398215671f5aa4d5 nmap_3.snap
823f9f332a1cdd898904d02886a28f19 nmap_4.snap
1c5ec183fed50dbba8c166f2467ad43a nmap_5.snap
5fccb0276e2cd329021591129855eb83 nmap_7.12SVN-0.4_armhf.snap

This test run was on a raspi2 device inside of an ubuntu:16.04 lxd container.