Skip to content

Commit

Permalink
Merge pull request #2459 from OSInside/fix_uuid_setup_for_btrfs
Browse files Browse the repository at this point in the history
Fix setup of UUID for btrfs
  • Loading branch information
Conan-Kudo authored Feb 13, 2024
2 parents 8c6ac25 + 2645225 commit dfa7f2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kiwi/filesystem/btrfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ def set_uuid(self):
"""
device = self.device_provider.get_device()
Command.run(
['btrfstune', '-u', device]
['btrfstune', '-f', '-u', device]
)
2 changes: 1 addition & 1 deletion test/unit/filesystem/btrfs_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ def test_create_on_device(self, mock_command):
def test_set_uuid(self, mock_command):
self.btrfs.set_uuid()
mock_command.assert_called_once_with(
['btrfstune', '-u', '/dev/foo']
['btrfstune', '-f', '-u', '/dev/foo']
)

0 comments on commit dfa7f2c

Please sign in to comment.