From mboxrd@z Thu Jan 1 00:00:00 1970 From: alf@i100.no To: development@lists.ipfire.org Subject: Re: [PATCH] dracut: Update to 056 Date: Sat, 05 Mar 2022 23:13:51 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7362886703071675480==" List-Id: --===============7362886703071675480== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Regarding the new modules that have been added to dracut after v38, and=20 the possible systemd dependencies, I wonder a bit about this line in the Makefile of=20 dracut in ipfire https://github.com/ipfire/ipfire-2.x/blob/master/lfs/dracut#L79 rm -rf=20 /usr/lib/dracut/modules.d/*{biosdevname,bootchart,dash,fips*,modsign,busybox,= convertfs,network,ifcfg,url-lib,gensplash,cms,plymouth,btrfs,crypt*,dm,dmraid= ,dmsquash-live,livenet,lvm,multipath,qemu*,cifs,dasd*,fcoe*,iscsi,nbd,nfs,res= ume,ssh-client,zfcp*,systemd*,znet,securityfs,masterkey,selinux,usrmount,uefi= -lib} I am assuming that is removing dracut modules that one for certain do=20 not need. I guess some of the new modules introduced between v38 and v56(current)=20 of dracut should also be but on that "rm" list ? I.e some new dracut modules depends on systemd, and some are for s390,=20 for example. I was playing a bit with grep'ing the module-setup.sh files of dracut,=20 to find modules that depends on systemd for example. I.e. some way of finding the modules that "at least" should be put on=20 the "rm" list. I'm unsure if you have any semi automatic way of doing that, or are=20 fully manually needing to review the modules. From what I can see, dracut should fully support being used without=20 systemd, since the modules are signalling dependencies on systemd. But modules that are only for s390 for example, needs to be detected=20 manually I think. The dracut.conf file also has the possibility to omit modules, by the omit_dracutmodules variable, but that does not seem to be used currently=20 by ipfire. Regards Alf --===============7362886703071675480==--