[Vmdebootstrap-devel] Bug#801214: vmdebootstrap: support alternative initramfs implementations

Christian Seiler christian at iwakd.de
Wed Oct 7 13:54:10 UTC 2015


Package: vmdebootstrap
Version: 1.0-1
Severity: wishlist
Tags: patch upstream

Dear Maintainer,

Currently, vmdebootstrap calls update-initramfs -u to update the
initramfs at the end. This will only support initramfs-tools, but not
alternative initramfs implementations such as dracut.

Instead of directly calling update-initramfs -u, a better way to update
the initramfs would be to tell dpkg to execute the proper triggers:

dpkg-trigger --by-package vmdebootstrap update-initramfs
dpkg --triggers-only -a

This will work with any initramfs implementation, regardless of which
initramfs is installed. It is also completely harmless if no package
that implements this is installed, so it may be run unconditionally.

I've attached a patch (against the codehelp/modules branch) that
implements this.

Would be great if that could be included in vmdebootstrap.

Regards,
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-update_initramfs-support-alternative-initramfs-imple.patch
Type: text/x-diff
Size: 1472 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/vmdebootstrap-devel/attachments/20151007/81e264a6/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/vmdebootstrap-devel/attachments/20151007/81e264a6/attachment.sig>


More information about the Vmdebootstrap-devel mailing list