diff --git a/kiwi/bootloader/install/base.py b/kiwi/bootloader/install/base.py index 6a45e54e..3c6ac2bc 100644 --- a/kiwi/bootloader/install/base.py +++ b/kiwi/bootloader/install/base.py @@ -69,3 +69,11 @@ class BootLoaderInstallBase: Implementation in specialized bootloader install class required """ raise NotImplementedError + + def set_disk_password(self, password: str): + """ + Include crypto mount credentials + + Implementation in specialized bootloader install class optional + """ + pass diff --git a/test/unit/bootloader/install/base_test.py b/test/unit/bootloader/install/base_test.py index 597f7ba1..56860025 100644 --- a/test/unit/bootloader/install/base_test.py +++ b/test/unit/bootloader/install/base_test.py @@ -24,3 +24,7 @@ class TestBootLoaderInstallBase: def test_secure_boot_install(self): with raises(NotImplementedError): self.bootloader.secure_boot_install() + + def test_set_disk_password(self): + # just pass + self.bootloader.set_disk_password('some')