commit: 3bf5d4152d4d59ee4d420381d2c7d03fda8db339
parent 34351930114ebfac3caec32bc57fa90aa54face5
Author: fosslinux <fosslinux@aussies.space>
Date: Thu, 25 Mar 2021 18:46:40 +1100
Merge pull request #76 from pder/log-stderr
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
@@ -277,7 +277,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