Re: Minimize systemd for kdump's initramfs

2020-02-24 Thread Kairui Song
On Tue, Feb 25, 2020 at 3:07 PM Zbigniew Jędrzejewski-Szmek wrote: > > On Tue, Feb 25, 2020 at 01:12:08PM +0800, Kairui Song wrote: > > On Fri, Jan 3, 2020 at 3:23 PM Zbigniew Jędrzejewski-Szmek > > wrote: > > > On Fri, Jan 03, 2020 at 11:48:53AM +0800, Dave Young wrote: > > > > On 01/03/20 at 11

Re: Minimize systemd for kdump's initramfs

2020-02-24 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 25, 2020 at 01:12:08PM +0800, Kairui Song wrote: > On Fri, Jan 3, 2020 at 3:23 PM Zbigniew Jędrzejewski-Szmek > wrote: > > On Fri, Jan 03, 2020 at 11:48:53AM +0800, Dave Young wrote: > > > On 01/03/20 at 11:45am, Dave Young wrote: > > > > On 01/02/20 at 09:02am, Zbigniew Jędrzejewski-S

Re: Minimize systemd for kdump's initramfs

2020-02-24 Thread Kairui Song
On Fri, Jan 3, 2020 at 3:23 PM Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Jan 03, 2020 at 11:48:53AM +0800, Dave Young wrote: > > On 01/03/20 at 11:45am, Dave Young wrote: > > > On 01/02/20 at 09:02am, Zbigniew Jędrzejewski-Szmek wrote: > > > > On Thu, Jan 02, 2020 at 12:21:26AM +0800, Kairui So

Re: Minimize systemd for kdump's initramfs

2020-01-02 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 03, 2020 at 11:48:53AM +0800, Dave Young wrote: > On 01/03/20 at 11:45am, Dave Young wrote: > > On 01/02/20 at 09:02am, Zbigniew Jędrzejewski-Szmek wrote: > > > On Thu, Jan 02, 2020 at 12:21:26AM +0800, Kairui Song wrote: > > > > Some component, like Systemd, have grown by a lot, here i

Re: Minimize systemd for kdump's initramfs

2020-01-02 Thread Kairui Song
On Thu, Jan 2, 2020 at 5:04 PM Zbigniew Jędrzejewski-Szmek wrote: > > On Thu, Jan 02, 2020 at 12:21:26AM +0800, Kairui Song wrote: > > Some component, like Systemd, have grown by a lot, here is a list of > > the size of part of binaries along with the binaries they required in > > F31: > > /root/i

Re: Minimize systemd for kdump's initramfs

2020-01-02 Thread Dave Young
On 01/03/20 at 11:45am, Dave Young wrote: > On 01/02/20 at 09:02am, Zbigniew Jędrzejewski-Szmek wrote: > > On Thu, Jan 02, 2020 at 12:21:26AM +0800, Kairui Song wrote: > > > Some component, like Systemd, have grown by a lot, here is a list of > > > the size of part of binaries along with the binari

Re: Minimize systemd for kdump's initramfs

2020-01-02 Thread Dave Young
On 01/02/20 at 09:02am, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Jan 02, 2020 at 12:21:26AM +0800, Kairui Song wrote: > > Some component, like Systemd, have grown by a lot, here is a list of > > the size of part of binaries along with the binaries they required in > > F31: > > /root/image/bin/s

Re: Minimize systemd for kdump's initramfs

2020-01-02 Thread Adam Williamson
On Thu, 2020-01-02 at 22:59 +, Zbigniew Jędrzejewski-Szmek wrote: > (In Debian the motivation was speed, rather than installation footprint. > So that work was mostly wasted because of the switch from sysvinit to systemd > and ensuing avoidance of shell during boot. Instead of trying to switch

Re: Minimize systemd for kdump's initramfs

2020-01-02 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 02, 2020 at 03:29:26PM -0500, Robbie Harwood wrote: > Kairui Song writes: > > > What I'm trying to do is reduce the initramfs size used for kdump. > > Kdump loads a crash kernel and kdump initramfs image in a prereseved > > memory region, which get booted when current kernel crashed a

Re: Minimize systemd for kdump's initramfs

2020-01-02 Thread Robbie Harwood
Kairui Song writes: > What I'm trying to do is reduce the initramfs size used for kdump. > Kdump loads a crash kernel and kdump initramfs image in a prereseved > memory region, which get booted when current kernel crashed and > perform crash dump. The prereserved memory is limited, so initramfs >

Re: Minimize systemd for kdump's initramfs

2020-01-02 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 02, 2020 at 12:21:26AM +0800, Kairui Song wrote: > Some component, like Systemd, have grown by a lot, here is a list of > the size of part of binaries along with the binaries they required in > F31: > /root/image/bin/systemctl > 20M . > /root/image/usr/bin/systemctl > 20M . > /r