osbuild: take partition into account in calc_id and add test
This commit is contained in:
parent
9cf68394d9
commit
e76e0e92d6
2 changed files with 24 additions and 0 deletions
|
|
@ -37,6 +37,8 @@ class Mount:
|
|||
m.update(json.dumps(self.info.name, sort_keys=True).encode())
|
||||
if self.device:
|
||||
m.update(json.dumps(self.device.id, sort_keys=True).encode())
|
||||
if self.partition:
|
||||
m.update(json.dumps(self.partition, sort_keys=True).encode())
|
||||
if self.target:
|
||||
m.update(json.dumps(self.target, sort_keys=True).encode())
|
||||
m.update(json.dumps(self.options, sort_keys=True).encode())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue