mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Flush stdout before bootstrap
This commit is contained in:
parent
3be90c7afd
commit
ffda41f38a
3 changed files with 5 additions and 1 deletions
2
.github/workflows/qemu.yml
vendored
2
.github/workflows/qemu.yml
vendored
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
- name: Remount package disk
|
||||
if: always()
|
||||
run: >
|
||||
DEV=$(sudo losetup -f target/external.img) &&
|
||||
DEV=$(sudo losetup -f --show target/external.img) &&
|
||||
sudo partprobe ${DEV}p1 &&
|
||||
mkdir -p mnt &&
|
||||
sudo mount ${DEV}p1 mnt
|
||||
|
|
|
|||
|
|
@ -19,6 +19,9 @@ def run(*args, cleanup=None, **kwargs):
|
|||
if kwargs.pop('verbose', False):
|
||||
print(arguments)
|
||||
|
||||
sys.stdout.flush()
|
||||
sys.stderr.flush()
|
||||
|
||||
try:
|
||||
return subprocess.run(arguments, check=True, **kwargs)
|
||||
except subprocess.CalledProcessError:
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ you can run bootstap inside chroot.
|
|||
import argparse
|
||||
import os
|
||||
import signal
|
||||
import sys
|
||||
import threading
|
||||
|
||||
from lib.generator import Generator, stage0_arch_map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue