Page MenuHomeSolus

Update to v55
Needs ReviewPublic

Authored by joebonrichie on Nov 2 2021, 1:02 PM.

Details

Reviewers
None
Group Reviewers
Triage Team
Summary

Changelog

Packaging Notes

  • Rebase patches (credit to @ReillyBrogan for rebasing sunny's patch)
Test Plan

Rebuild and boot from new kernel from this version (--prelink must be removed)

Tested Configs
UEFI (x)
Legacy/GRUB (x)
UEFI on LVM (x)
UEFI on LVM+LUKS (x)
Legacy/GRUB on LVM ()
Legacy/GRUB on LVM+LUKS (x)

Diff Detail

Repository
R661 dracut
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 2225
Build 2225: arc lint + arc unit

Event Timeline

joebonrichie created this revision.Nov 2 2021, 1:02 PM
joebonrichie requested review of this revision.Nov 2 2021, 1:02 PM

I'll try and test the other boot configurations in the upcoming days. If people are willing to cook their own kernel on a config not yet tested that would be appreciated. 👍

Booted under a system that uses UEFI on LVM + LUKS.

joebonrichie edited the test plan for this revision. (Show Details)Nov 2 2021, 3:10 PM
Staudey added a subscriber: Staudey.Nov 2 2021, 4:40 PM

Successful boot with Legacy/GRUB (no LVM/LUKS)

joebonrichie edited the test plan for this revision. (Show Details)Nov 2 2021, 4:46 PM
Girtablulu added a subscriber: Girtablulu.EditedNov 2 2021, 5:21 PM

FYI: we need to fix the ISO buildscript as well reg --prelink in line 433

Tested:

  • UEFI/LVM (no LUKS)
  • GRUB/LVM/LUKS

I can re-install the GRUB system and do GRUB/LVM as well if we really need that combination tested as well, but this system is ancient and getting it into a testing state after re-installing the OS is a very, very slow process. I think GRUB/LVM can be assumed to be working considering what has already been tested.

Also, I suggest that we add the nvme-cli binary to the rescue environment once this lands (via --install "/usr/sbin/nvme" in the dracut command). This would help give users an additional tool that they could use to troubleshoot a bad boot where their OS is stored on a NVME drive (nvme-cli shows SMART data, drive error logs etc)

ReillyBrogan edited the test plan for this revision. (Show Details)Dec 10 2021, 8:16 AM

Also, I'd note that dracut is now adding the nvdimm and kernel-modules-extra modules by default compared to our previous version. kernel-modules-extra seems to result in the pinctrl and watchdog kernel modules being added to the initramfs, and while I'm not sure if these are useful or not it's worth mentioning in case someone more knowledgeable thinks they are unneeded. nvdimm similarly could be removed if we don't actually support that functionality either.

If anyone else wants to take a peak in the initramfs the easiest way is to create a new directory and from that directory run sudo /usr/lib/dracut/skipcpio path/to/initrd | gunzip -c | cpio -id to extract it (replace gunzip -c with unzstd if you are messing around with zstd compression).

algent added a subscriber: algent.Dec 10 2021, 8:57 PM

Need to use the SPDX-License-Identifier. According to dracut.spec inside the tarball the licenses are:

# The entire source code is GPLv2+
# except install/* which is LGPLv2+
# except util/* which is GPLv2
License: GPLv2+ and LGPLv2+ and GPLv2