Files
deb-python-diskimage-builder/elements
Ian Wienand a72645f431 Recreate initramfs within loopback image
dracut has a loop [1] where it probes top-level directories, tries to
find what block device they are on, then determines the file-system of
that block device.  It then puts those file-system modules into the
initramfs for boot.

Since we install the kernel package during the chroot phase, / there
is not a block device and thus this loop matches nothing and we end up
with no file-system modules in the initramfs.  This results in a very
annoying silent boot hang.

By moving re-generation of dracut into finalise.d phase, we run inside
the final image where / is the loop-device; the root file-system gets
detected correctly and the ext4 module is included correctly.

[1] http://git.kernel.org/cgit/boot/dracut/dracut.git/tree/dracut.sh?h=RHEL-7#n1041

Change-Id: Iaf2a1e8470f642bfaaaad3f9b7f26cfc8cc445c9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-12-15 12:37:00 -05:00
..
2015-02-12 10:41:32 +11:00
2016-11-18 10:48:05 +08:00
2016-04-15 12:37:22 +10:00
2016-07-08 09:15:08 -07:00
2015-12-10 20:12:14 +00:00
2015-02-12 10:41:32 +11:00
2016-05-13 11:52:23 +10:00
2016-05-09 15:41:38 +10:00
2015-06-26 09:57:12 +08:00
2016-10-05 09:39:29 +01:00
2016-06-08 21:16:50 +00:00
2016-03-20 10:42:34 -07:00
2016-05-09 15:41:38 +10:00
2016-05-09 15:41:38 +10:00
2015-02-12 10:41:32 +11:00
2016-06-25 04:20:47 +00:00
2016-06-07 01:00:50 +00:00
2016-10-20 15:19:31 +11:00