On Sun, Jan 26, 2014 at 10:16 AM, Roelof Wobben <rwob...@hotmail.com> wrote: > In some of my earlier mails I have said that I try to port a modular > live slackware based distro (Porteus) to systemd as a personal project. > > I think I can do a lot of the booting with a initrd.img containing the core > and the kernel > parts. > > But then a difficult part comes. > I have to make a service file which copies the unpacked modules to a > loop-device in memory.
I don't know precisely what your modules contain or what they are used for, but it may be simplest to just do the unpacking from the initrd (after the real root has been mounted, but before we switch). Assuming you use systemd in your initrd, the relevant targets to order your service before/after can be found in "man 7 bootup". HTH, Tom _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel