When building in chroot write stderr to log file

This commit is contained in:
Paul Dersey 2021-03-23 11:15:57 -04:00
parent 6791064571
commit 8e944c382f

View file

@ -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