From f48f28562ee8ff1d317b9ecbd757a5a4fc01f844 Mon Sep 17 00:00:00 2001 From: Angus Ainslie Date: Sat, 28 Aug 2021 09:22:27 -0700 Subject: [PATCH] init: add logging Create /var/log and start syslogd and klogd Signed-off-by: Angus Ainslie --- initramfs/init | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/initramfs/init b/initramfs/init index 1eb5c99..d971348 100755 --- a/initramfs/init +++ b/initramfs/init @@ -51,6 +51,11 @@ mknod /dev/null c 1 3 mknod /dev/tty c 5 0 mdev -s +# enable logging +mkdir -p /var/log +syslogd +klogd + # Finishing rescue setup setup_usb_configfs start_serial_getty