Page MenuHomeLubuntu Development

Work around update-initramfs issue and reorder jobs
ClosedPublic

Authored by Tj on Jun 18 2019, 10:09 PM.

Details

Summary

The initramfs job fails to build an initrd.img for two reasons:

  1. No /boot/vmlinuz-$version
  2. No /boot/initrd.img-$version

(1) is due to "contextualprocess@before_bootloader_mkdirs" needing to
be executed before "initramfs" because it copies in the kernel image
from /cdrom/casper/vmlinuz.

(2) is due to a bug in update-initramfs::get_sorted_versions() because
it expects there to be an existing initrd.img-$version despite the fact
the "initramfs" module is calling it with the -c (create) option, not
-u (update).

Closes (LP: #1829805)

Test Plan

Edited config in Live Environment and successfully rebooted into the installed OS.

Diff Detail

Repository
rCALASETTINGS Ubuntu Calamares Settings
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 29
Build 29: arc lint + arc unit

Event Timeline

Tj requested review of this revision.Jun 18 2019, 10:09 PM
Tj created this revision.
wxl accepted this revision.Jun 18 2019, 11:39 PM

Whoo hoo it works!!!

This revision is now accepted and ready to land.Jun 18 2019, 11:39 PM
This revision was automatically updated to reflect the committed changes.