Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-17 Thread Shawn Landden
The bootloader spec does not say which entry is to be the default. I cannot support the spec unless I can choose a single default kernel. http://freedesktop.org/wiki/Specifications/BootLoaderSpec/ On Tue, Feb 17, 2015 at 7:00 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon,

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-17 Thread Shawn Landden
On Tue, Feb 17, 2015 at 7:00 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Feb 16, 2015 at 07:53:47PM -0800, Shawn Landden wrote: On Mon, Feb 16, 2015 at 5:08 AM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 13.02.15 14:18, Shawn Landden

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-17 Thread Shawn Landden
On Tue, Feb 17, 2015 at 4:34 PM, Shawn Landden sh...@churchofgit.com wrote: On Tue, Feb 17, 2015 at 7:00 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Feb 16, 2015 at 07:53:47PM -0800, Shawn Landden wrote: On Mon, Feb 16, 2015 at 5:08 AM, Lennart Poettering

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 17, 2015 at 04:46:26PM -0800, Shawn Landden wrote: The bootloader spec does not say which entry is to be the default. I cannot support the spec unless I can choose a single default kernel. http://freedesktop.org/wiki/Specifications/BootLoaderSpec/ But it says where to look for

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 16, 2015 at 07:53:47PM -0800, Shawn Landden wrote: On Mon, Feb 16, 2015 at 5:08 AM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 13.02.15 14:18, Shawn Landden (sh...@churchofgit.com) wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code.

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-16 Thread Shawn Landden
On Mon, Feb 16, 2015 at 5:08 AM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 13.02.15 14:18, Shawn Landden (sh...@churchofgit.com) wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code. Hmm, what precisely does the helper do on xen? So we don't have

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-16 Thread Lennart Poettering
On Fri, 13.02.15 14:18, Shawn Landden (sh...@churchofgit.com) wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code. Hmm, what precisely does the helper do on xen? So we don't have any logic to load kexec kernels? Currently we don't. My hope though was that we can

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Feb 13, 2015 at 02:18:07PM -0800, Shawn Landden wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code. So we don't have any logic to load kexec kernels? --- TODO| 3 --- src/core/shutdown.c | 33 - 2 files

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Feb 14, 2015 at 10:00:54AM -0800, Shawn Landden wrote: On Sat, Feb 14, 2015 at 5:54 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Fri, Feb 13, 2015 at 02:18:07PM -0800, Shawn Landden wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code. So