FYI, I just posted two pull requests on libguestfs/supermin One adds urpmi support. The other adds xz support to supermin. On Fri, Aug 16, 2013 at 3:58 PM, Richard W.M. Jones <rjones@redhat.com>wrote:
On Fri, Aug 16, 2013 at 02:07:40PM +0800, Joseph Wang wrote:
/etc/rc.d/init.d is required but the problem is the /etc/init.d symlink, which doesn't seem to be needed. Precreating the directories should work, but it didn't for me, but I got around this problem by just not creating /etc/init.d
My problem right now is to have supermin recognized xz modules. I've been working on that.
This is the bit you need to modify:
https://github.com/libguestfs/supermin/blob/master/helper/init.c#L263
You can post patches on the libguestfs@redhat.com mailing list.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org