commit: 8e944c382fd3852c020f2f35be9fb76797315b13
parent 67910645710e0ed4fa8a969632dbcd2bb9ab6d32
Author: Paul Dersey <pdersey@gmail.com>
Date: Tue, 23 Mar 2021 11:15:57 -0400
When building in chroot write stderr to log file
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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