live-server install with encrypted volumes run update-initramfs twice

Bug #1842264 reported by Michael Hudson-Doyle
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
Fix Committed
High
Ryan Harper

Bug Description

I installed my shiny new NVMe laptop with the server installer last week. The curtin invocation took about 100 seconds which is pretty good, but it ended up running update-initramfs twice, at 15 seconds each -- once when the kernel was installed and once after crypttab had been copied to the target system. I guess this is pretty minor at the end of the day, but it would be nice to avoid it if we could somehow.

Related branches

Hui Wang (hui.wang)
tags: added: originate-from-1839820 somerville
Hui Wang (hui.wang)
affects: curtin → linux (Ubuntu)
affects: linux (Ubuntu) → curtin
no longer affects: hwe-next
tags: removed: originate-from-1839820 somerville
Paride Legovini (paride)
Changed in curtin:
status: New → Triaged
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

So fwiw what livecd-rootfs does is divert initramfs at the beginning to be a noop, and at the end undivert it and run it once.

Ryan Harper (raharper)
Changed in curtin:
importance: Undecided → High
assignee: nobody → Ryan Harper (raharper)
Ryan Harper (raharper)
Changed in curtin:
status: Triaged → In Progress
Revision history for this message
Server Team CI bot (server-team-bot) wrote :

This bug is fixed with commit 04adfd9a to curtin on branch master.
To view that commit see the following URL:
https://git.launchpad.net/curtin/commit/?id=04adfd9a

Changed in curtin:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.