From: LAHAYE O. <oli...@ce...> - 2015-01-21 14:18:06
|
Hi, I've just been able to create a cracut systemd based systemimager initrd image that is able to image a node. This is a great step forward as it should work on all system that can build initrd using dracut tool. For the moment I've only tested on fedora20 build and imaged a centos7 node without any problem. The image was created by hand using dracut and systemd from the standard systemimager initrd_template. I've just added a systemimager.target, a systemimager.service that runs /etc/init.d/rcS. This is ugly but it does work fine. Now that I' have a proof of concept, I'm working on the systemimage build process to avoid building useless stuffs (only build systemimager specific stuffs and use everything else from the build host). Now I'm hitting a small issue with udpcast. I need a more recent version, because the systemimager version fails to build on recent linus distros. So if someone who can have access to systemimager download tree could update it with latest udpcast tarball, that would help me a lot. Basically I need http://www.udpcast.linux.lu/download/udpcast-20120424.tar.bz2 to be placed in http://download.systemimager.org/pub/udpcast/ There is still lot of work to do like identify what build host binaries should be copied into dracut image, but if I'm not interrupted, I should have a test version in a few weeks. This version will be somewhat ugly regarding dracut concept as it won't use a systemimager dedicated dracut module to create the image, just a giant dracut commandline, but the result should be working well. Once this phase is proven to work on most majort distros (deb+rpm), Ill try to learn how to create a systemimager dracut module so I can simplify and enhance the UYOK option. This should work on non systemd based system as well; though I haven't tested yet. -- Olivier LAHAYE CEA DRT/LIST/DIR |