doc/grub
This commit is contained in:
parent
d6e112d6c5
commit
012b10f7d5
1 changed files with 13 additions and 1 deletions
|
@ -24,7 +24,19 @@ 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."""
|
"""Make a binary bootable image.
|
||||||
|
|
||||||
|
:param image_format: output format (x86_64-efi, i386-pc, arm64-efi)
|
||||||
|
:type image_format: str
|
||||||
|
:param image_path: output file
|
||||||
|
:type image_path: str
|
||||||
|
:param modules: modules to embed
|
||||||
|
:type modules: list[str]
|
||||||
|
:param memdisk_path: archive to include
|
||||||
|
:type memdisk_path: str
|
||||||
|
:param pubkey_path: extra public key to add
|
||||||
|
:type pubkey_path: str | None
|
||||||
|
"""
|
||||||
args: list[str | tuple[str, ...]] = [
|
args: list[str | tuple[str, ...]] = [
|
||||||
"grub-mkimage",
|
"grub-mkimage",
|
||||||
("--compress", COMPRESSION),
|
("--compress", COMPRESSION),
|
||||||
|
|
Loading…
Reference in a new issue