lint/grub

This commit is contained in:
Marc Beninca 2024-09-13 16:52:01 +02:00
parent 88311cb55c
commit f46d5a9765
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,3 +1,5 @@
"""Wrap GRUB commands."""
import cmd import cmd
import ps import ps
@ -24,6 +26,7 @@ def make_image(
memdisk_path: str, memdisk_path: str,
pubkey_path: str | None = None, pubkey_path: str | None = None,
) -> None: ) -> None:
"""Make a binary bootable image."""
args = [ args = [
("grub-mkimage",), ("grub-mkimage",),
("--compress", COMPRESSION), ("--compress", COMPRESSION),