Skip to content

Fix sysext driver/mods loading in initrd #878

Description

@jumpyvi

Currently, all the drivers parts ending with -initrd are not being used, since they are merged much AFTER sysroot.

Systemd has a solution for this, called systemd-sysext-sysroot, sadly, it's only available in systemd 261, I believe we might be able to just add the unit file to our custom systemd-container package in the ppa. There might also be other under-the-hood systemd-sysext changes in 261 i'm not seeing.

It can't really be added via mkosi, since that would require creating a custom initrd, which is pretty annoying. systemd-container is already in InitrdPackages=, so it should work.

If it doesn't work, I will have to make runtime systemd unit to reload the drivers manually when the session loads, which is not ideal.
And remove all the -initrd transfer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumShould be addressed when time allowsStatus: BlockedSomething else needs to be done before this can be fixed

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions