Mercurial > vanilla
changeset 414:48d3f766b81a
core/sysvinit: adapt message style to vanilla
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 04 Apr 2019 12:38:07 +0200 |
parents | 5c5f5da4da9a |
children | 5754dbae5a67 |
files | core/sysvinit/message-style.patch core/sysvinit/sysvinit.sh |
diffstat | 2 files changed, 24 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/sysvinit/message-style.patch Thu Apr 04 12:38:07 2019 +0200 @@ -0,0 +1,23 @@ +--- src/init.c.orig 2019-04-04 12:29:07.034568092 +0200 ++++ src/init.c 2019-04-04 12:30:13.601981106 +0200 +@@ -930,7 +930,7 @@ + * And log to the console. + */ + if (loglevel & L_CO) { +- print("\rINIT: "); ++ print("\r"); + print(buf); + print("\r\n"); + } +@@ -2816,11 +2816,6 @@ + close(fd); + + /* +- * Say hello to the world +- */ +- initlog(L_CO, bootmsg, "booting"); +- +- /* + * See if we have to start an emergency shell. + */ + if (emerg_shell) {
--- a/core/sysvinit/sysvinit.sh Thu Apr 04 12:34:38 2019 +0200 +++ b/core/sysvinit/sysvinit.sh Thu Apr 04 12:38:07 2019 +0200 @@ -37,6 +37,7 @@ pushd $PKGNAME-$PKGVERSION patch -p0 < ../disable-components.patch + patch -p0 < ../message-style.patch sed -i \ -e 's|$(ROOT)/bin|$(ROOT)/usr/bin|g' \ -e 's|$(ROOT)/sbin|$(ROOT)/usr/sbin|g' src/Makefile