Commit 655c74db authored by Marin Jankovski's avatar Marin Jankovski

Update the spec for debian packager md5_sums file.

Fix to deb md5sums format for 'dpkg --verify'
parent b34ff0c3
<% md5sums.each do |path, checksum| -%> <% md5sums.each do |path, checksum| -%>
<%= checksum %> <%= path %> <%= checksum %> <%= path %>
<% end -%> <% end -%>
...@@ -206,11 +206,12 @@ module Omnibus ...@@ -206,11 +206,12 @@ module Omnibus
subject.write_md5_sums subject.write_md5_sums
contents = File.read("#{staging_dir}/DEBIAN/md5sums") contents = File.read("#{staging_dir}/DEBIAN/md5sums")
expect(contents).to include("9334770d184092f998009806af702c8c .filea") expect(contents).to include("9334770d184092f998009806af702c8c .filea")
expect(contents).to include("826e8142e6baabe8af779f5f490cf5f5 file1") expect(contents).to include("826e8142e6baabe8af779f5f490cf5f5 file1")
expect(contents).to include("1c1c96fd2cf8330db0bfa936ce82f3b9 file2") expect(contents).to include("1c1c96fd2cf8330db0bfa936ce82f3b9 file2")
expect(contents).to_not include("0c5bc033075b0c1062e861f18219f8fd DEBIAN/preinst") expect(contents).to_not include("0c5bc033075b0c1062e861f18219f8fd DEBIAN/preinst")
expect(contents).to_not include("4e8ed96bd90c2c964c0e9d36865e53e5 DEBIAN/postrm") expect(contents).to_not include("4e8ed96bd90c2c964c0e9d36865e53e5 DEBIAN/postrm")
expect(contents).to_not include("1c1c96fd2cf8330db0bfa936ce82f3b9 file2")
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment