From 8e944c382fd3852c020f2f35be9fb76797315b13 Mon Sep 17 00:00:00 2001 From: Paul Dersey Date: Tue, 23 Mar 2021 11:15:57 -0400 Subject: [PATCH] When building in chroot write stderr to log file --- rootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs.sh b/rootfs.sh index 357acff..4ca2a6b 100755 --- a/rootfs.sh +++ b/rootfs.sh @@ -271,7 +271,7 @@ find . | cpio -H newc -o | gzip > initramfs.igz # Run case "${QEMU_CMD}" in chroot) - sudo PATH="/after/bin:${PATH}" chroot . /init | tee "$LOGFILE" + sudo PATH="/after/bin:${PATH}" chroot . /init 2>&1 | tee "$LOGFILE" ;; minikernel) git clone --depth 1 --branch v0.4 https://github.com/bittorf/kritis-linux.git