From 787c41b9bed5de99459916e0bd1ce7db8b3b8240 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 25 Jun 2015 20:45:54 +0000 Subject: - bump skalibs dep to 2.1.6.0 - use s6-svc -X in finish script to make logger exit - rc for 0.0.1.2 --- INSTALL | 2 +- doc/index.html | 4 ++-- doc/upgrade.html | 8 +++++++- package/info | 2 +- src/init/s6-linux-init-maker.c | 4 ++-- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/INSTALL b/INSTALL index 9e88832..a7f05d2 100644 --- a/INSTALL +++ b/INSTALL @@ -10,7 +10,7 @@ Build Instructions - execline version 2.1.2.2 or later: http://skarnet.org/software/execline/ - s6-portable-utils version 2.0.5.0 or later: http://skarnet.org/software/s6-portable-utils/ - s6-linux-utils version 2.0.2.1 or later: http://skarnet.org/software/s6-linux-utils/ - - s6 version 2.1.5.0 or later: http://skarnet.org/software/s6/ + - s6 version 2.1.6.0 or later: http://skarnet.org/software/s6/ Note that all those are build-time dependencies, and they are *also* run-time dependencies when you use the init binary created diff --git a/doc/index.html b/doc/index.html index 98cad2f..eafcb0b 100644 --- a/doc/index.html +++ b/doc/index.html @@ -58,7 +58,7 @@ a small FAQ.
  • s6-linux-utils version 2.0.2.1 or later
  • s6 version -2.1.5.0 or later
  • +2.1.6.0 or later

    @@ -86,7 +86,7 @@ against the shared version of the skalibs library, it also becomes a

    diff --git a/doc/upgrade.html b/doc/upgrade.html index c360ce9..b50899a 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -18,12 +18,18 @@

    What has changed in s6-linux-init

    +

    in 0.0.1.2

    + +

    in 0.0.1.1

    diff --git a/package/info b/package/info index bb25040..64f6dd1 100644 --- a/package/info +++ b/package/info @@ -1,4 +1,4 @@ package=s6-linux-init -version=0.0.1.1 +version=0.0.1.2 category=admin package_macro_name=S6_LINUX_INIT diff --git a/src/init/s6-linux-init-maker.c b/src/init/s6-linux-init-maker.c index cc8ca57..fe10e3c 100644 --- a/src/init/s6-linux-init-maker.c +++ b/src/init/s6-linux-init-maker.c @@ -102,11 +102,11 @@ static int finish_script (buffer *b) if (buffer_puts(b, "#!") < 0 || buffer_puts(b, bindir) < 0 || buffer_puts(b, "/execlineb -S0\n\n" - "cd /\nredirfd -w 2 /dev/console\nfdmove -c 1 2\nif { s6-svc -xh -- ") < 0 + "cd /\nredirfd -w 2 /dev/console\nfdmove -c 1 2\nif { s6-svc -X -- ") < 0 || !string_quote(&satmp, slashrun, str_len(slashrun))) return 0 ; if (buffer_put(b, satmp.s + sabase, satmp.len - sabase) < 0) goto err ; satmp.len = sabase ; - if (buffer_puts(b, "/service/s6-svscan-log }\nwait { }\n") < 0 + if (buffer_puts(b, "/service/s6-svscan-log }\nwait -r -- { }\n") < 0 || !string_quote(&satmp, shutdown_script, str_len(shutdown_script))) return 0 ; if (buffer_put(b, satmp.s + sabase, satmp.len - sabase) < 0) goto err ; satmp.len = sabase ; -- cgit v1.3.1