Fix initramfs for archlinux in-vm kernel#124
Conversation
|
Is there a |
|
|
As documented on ArchWiki [1], the `lvm2` hook must appear after the `block` and before the `filesystems` hook. Otherwise, LVM might attempt to activate logical volumes before the underlying block devices are available. [1]: https://wiki.archlinux.org/title/Install_Arch_Linux_on_LVM#Adding_mkinitcpio_hooks
|
@marmarek I also fixed the mkinitcpio hooks order as part of this initramfs fix. Prior to this change, We should really be placing the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #124 +/- ##
==========================================
+ Coverage 60.56% 60.60% +0.04%
==========================================
Files 6 6
Lines 951 952 +1
Branches 104 104
==========================================
+ Hits 576 577 +1
Misses 285 285
Partials 90 90 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025052803-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025031804-4.3&flavor=update
Failed tests47 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/132953#dependencies 14 fixed
Unstable testsDetails
Performance TestsPerformance degradation:12 performance degradations
Remaining performance tests:52 tests
|
|
|
Test for QubesOS/qubes-linux-utils#124 Exclude pvgrub2 test, as Arch is also using zstd.
When booting an in-vm kernel with
qubes-vm-kernel-supportin Archlinux, the initramfs complains about missinggptfixbinary (invoked inqubes_cow_setup.sh) and times out waiting for dmroot to be available. After addinggptfixit further complains about missingswapon. Adding those two binaries resolves the errors.