Commit 628b7126 authored by Mehdi Abaakouk's avatar Mehdi Abaakouk

systemd doesn't log on kernel configured console by default...

parent 1b1e1093
......@@ -267,7 +267,12 @@ if ! shopt -oq posix; then
fi" >>${MOUNT_DIR}/etc/bash.bashrc
# No clear for the tty1 console
sed -i "s#1:2345:respawn:/sbin/getty 38400 tty1#1:2345:respawn:/sbin/getty --noclear 38400 tty1#" ${MOUNT_DIR}/etc/inittab
if [ "${RELEASE}" = "wheezy" ] ; then
sed -i "s#1:2345:respawn:/sbin/getty 38400 tty1#1:2345:respawn:/sbin/getty --noclear 38400 tty1#" ${MOUNT_DIR}/etc/inittab
else
echo ForwardToConsole=yes >> ${MOUNT_DIR}/etc/systemd/journald.conf
fi
chroot ${MOUNT_DIR} apt-get install -y locales-all
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment