Hi guys, As discussed with Harald in Brno, here are some patches to add support for systemd in the initramfs.
You still need a initramfs generator such as dracut or mkinitcpio to pull in all the needed bits and create your initramfs. However, this puts all the unit files and logic in systemd itself, so collaboration should be simpler. I posted an mkinitcpio install hook [0], if people want to try it out. Cheers, Tom [0]: <https://mailman.archlinux.org/pipermail/arch-projects/2013-February/003628.html> Tom Gundersen (2): fstab-generator: initrd - mount the entries in /etc/fstab.sys from the initramfs initrd: add unit files needed for basic systemd-in-initrd support Makefile.am | 7 ++++++- src/fstab-generator/fstab-generator.c | 25 +++++++++++++++---------- units/initrd-cleanup.service | 18 ++++++++++++++++++ units/initrd-parse-etc.service | 19 +++++++++++++++++++ units/initrd-switch-root.service | 19 +++++++++++++++++++ units/initrd-switch-root.target | 16 ++++++++++++++++ units/initrd-udevadm-cleanup-db.service | 18 ++++++++++++++++++ 7 files changed, 111 insertions(+), 11 deletions(-) create mode 100644 units/initrd-cleanup.service create mode 100644 units/initrd-parse-etc.service create mode 100644 units/initrd-switch-root.service create mode 100644 units/initrd-switch-root.target create mode 100644 units/initrd-udevadm-cleanup-db.service -- 1.8.1.4 _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
