Re: [systemd-devel] Exploring Minimal Systemd in Initramfs for Faster Boot

2024-09-24 Thread Dharma.B
Hi Serenissi, On 24/09/24 2:58 pm, serenissi wrote: > du -sh /usr/lib/systemd/ > 13M /usr/lib/systemd/ > > du -sh /usr/lib64/systemd > 6.4M    /usr/lib64/systemd > > i.e. about 20M with most stuffs of systemd package installed. Is it too > large for initrd? Idk about your setup, might be em

Re: [systemd-devel] Exploring Minimal Systemd in Initramfs for Faster Boot

2024-09-24 Thread Mantas Mikulėnas
On Mon, Sep 23, 2024 at 12:33 PM wrote: > Hi Team, > > I'm exploring the possibility of splitting the systemd binary to > optimize boot time before and after switching to the root filesystem. > > I’m aware that the systemd binary is quite large and may not fit in the > initramfs, but is it feasib

Re: [systemd-devel] Exploring Minimal Systemd in Initramfs for Faster Boot

2024-09-24 Thread Nils Kattenbeck
Are you aware that tools like mkosi already generate initrds which run systemd? And systemd already has the logic to let services survive the pivot_root (though that is discouraged and you should better use fdstore to pass existing state to a new instance of the service). Cheers, Nils On Mon, Sep

Re: [systemd-devel] Exploring Minimal Systemd in Initramfs for Faster Boot

2024-09-24 Thread serenissi
du -sh /usr/lib/systemd/ 13M /usr/lib/systemd/ du -sh /usr/lib64/systemd 6.4M    /usr/lib64/systemd i.e. about 20M with most stuffs of systemd package installed. Is it too large for initrd? Idk about your setup, might be embedded flash.. On 9/23/24 12:03, dharm...@microchip.com wrote: Hi