[Libguestfs] [PATCH 1/3] febootstrap/helper/init: make sure /proc is mounted into chroot.
Hilko Bengen
bengen at hilluzination.de
Tue Jun 7 16:04:42 UTC 2011
* Richard W.M. Jones:
>> It should be easy to implement this in a few mount(2)
>> calls as part of febootstrap's /init. One could even use #ifdefs to cope
>> with slightly different behavior across distributions.
>
> The problem is that we'll end up with complex conditional C code, when
> really this is better and easier done in the shell script. The code
> will also be different for every distro.
Is a small size the only reason why you have written febootstrap's /init
in C with as few external dependencies as possible?
Would you accept a patch that would make it possible to use the
distribution's initrd creation tools (initramfs-tools, dracut,
mkinitcpio) with febootstrap?
-Hilko
More information about the Libguestfs
mailing list