Skip to content

Commit

Permalink
kernel-install: plumb stdin/stdout
Browse files Browse the repository at this point in the history
Otherwise cannot use pin prompts
  • Loading branch information
bluca committed Nov 18, 2024
1 parent 30c14da commit c8b320a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel-install/50-mkosi.install
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import argparse
import dataclasses
import logging
import os
import sys
import tempfile
from pathlib import Path
from typing import Optional
Expand Down Expand Up @@ -161,7 +162,7 @@ def main() -> None:

logging.info(f"Building {output}")

run(cmdline)
run(cmdline, stdin=sys.stdin, stdout=sys.stdout)

if format == OutputFormat.cpio:
build_microcode_initrd(context.staging_area / "microcode")
Expand Down

0 comments on commit c8b320a

Please sign in to comment.